Added chests to the ore dictionary.

This commit is contained in:
Lex Manos 2014-12-23 13:17:44 -08:00
parent 53275ff0ac
commit 3c936e88f2

View file

@ -127,6 +127,12 @@ public class OreDictionary
registerOre("record", Items.record_ward);
registerOre("record", Items.record_11);
registerOre("record", Items.record_wait);
registerOre("chest", Blocks.chest);
registerOre("chest", Blocks.ender_chest);
registerOre("chest", Blocks.trapped_chest);
registerOre("chestWood", Blocks.chest);
registerOre("chestEnder", Blocks.ender_chest);
registerOre("chestTrapped", Blocks.trapped_chest);
}
// Build our list of items to replace with ore tags
@ -148,6 +154,9 @@ public class OreDictionary
replacements.put(new ItemStack(Blocks.glowstone), "glowstone");
replacements.put(new ItemStack(Items.slime_ball), "slimeball");
replacements.put(new ItemStack(Blocks.glass), "blockGlassColorless");
replacements.put(new ItemStack(Blocks.chest), "chestWood");
replacements.put(new ItemStack(Blocks.ender_chest), "chestEnder");
replacements.put(new ItemStack(Blocks.trapped_chest), "chestTrapped");
// Register dyes
String[] dyes =