From 3c936e88f2bc7144b2d2b1f7f1dab0fa0a67256b Mon Sep 17 00:00:00 2001 From: Lex Manos Date: Tue, 23 Dec 2014 13:17:44 -0800 Subject: [PATCH] Added chests to the ore dictionary. --- .../java/net/minecraftforge/oredict/OreDictionary.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main/java/net/minecraftforge/oredict/OreDictionary.java b/src/main/java/net/minecraftforge/oredict/OreDictionary.java index 47f3a5699..e86e857e1 100644 --- a/src/main/java/net/minecraftforge/oredict/OreDictionary.java +++ b/src/main/java/net/minecraftforge/oredict/OreDictionary.java @@ -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 =