2016-08-20 17:16:07 -04:00
|
|
|
package WayofTime.bloodmagic.structures;
|
|
|
|
|
|
|
|
public class ModDungeons
|
|
|
|
{
|
|
|
|
public static void init()
|
|
|
|
{
|
2016-08-31 21:05:29 -04:00
|
|
|
// ResourceLocation resource = new ResourceLocation(Constants.Mod.MODID, "HallChest1");
|
2016-08-21 13:17:04 -04:00
|
|
|
//
|
|
|
|
// Map<String, BlockPos> structureMap = new HashMap<String, BlockPos>();
|
|
|
|
// structureMap.put(resource.toString(), new BlockPos(0, 0, 0));
|
|
|
|
//
|
|
|
|
// Map<EnumFacing, List<BlockPos>> doorMap = new HashMap<EnumFacing, List<BlockPos>>();
|
|
|
|
// List<AreaDescriptor.Rectangle> descriptorList = new ArrayList<AreaDescriptor.Rectangle>();
|
2016-08-31 21:05:29 -04:00
|
|
|
// descriptorList.add(new AreaDescriptor.Rectangle(new BlockPos(0, 0, 0), 12, 5, 9));
|
2016-08-21 13:17:04 -04:00
|
|
|
//
|
2016-08-31 21:05:29 -04:00
|
|
|
// DungeonUtil.addRoom(doorMap, EnumFacing.EAST, new BlockPos(11, 0, 4));
|
|
|
|
// DungeonUtil.addRoom(doorMap, EnumFacing.WEST, new BlockPos(0, 0, 4));
|
2016-08-21 13:17:04 -04:00
|
|
|
//
|
|
|
|
// DungeonRoom room = new DungeonRoom(structureMap, doorMap, descriptorList);
|
2016-08-31 21:05:29 -04:00
|
|
|
// DungeonRoomLoader.saveSingleDungeon(room);
|
2016-08-21 13:17:04 -04:00
|
|
|
//
|
|
|
|
// DungeonRoomRegistry.registerDungeonRoom(room, 1);
|
|
|
|
//
|
|
|
|
// DungeonRoomLoader.saveDungeons();
|
|
|
|
|
2016-08-31 20:32:31 -07:00
|
|
|
DungeonRoomLoader.loadDungeons();
|
2016-08-20 17:16:07 -04:00
|
|
|
}
|
|
|
|
}
|