Made it so placed mimic blocks replace the block that you place it on unless you hold shift. Also worked on dungeon schematic saving/loading.

This commit is contained in:
WayofTime 2016-08-22 14:22:18 -04:00
parent 61b11a88bf
commit 80bf140ee5
11 changed files with 662 additions and 11 deletions

View file

@ -49,10 +49,11 @@ public class DungeonRoomLoader
public static void loadDungeons()
{
String folder = "config/BloodMagic/schematics";
// String folder = "config/BloodMagic/schematics";
Gson gson = new GsonBuilder().setPrettyPrinting().registerTypeAdapter(EnumFacing.class, Adapters.adapter).create();
File file = new File(folder);
File file = new File(MinecraftServer.class.getResource("/assets/" + "BloodMagic" + "/schematics").getFile());
File[] files = file.listFiles();
BufferedReader br;