Add wildcard versions of OreDict replacements, Closes #827

This commit is contained in:
Lex Manos 2013-10-18 18:58:31 -07:00
parent 4db6c4cfc4
commit 295542c357

View file

@ -74,10 +74,13 @@ public class OreDictionary
// Build our list of items to replace with ore tags // Build our list of items to replace with ore tags
Map<ItemStack, String> replacements = new HashMap<ItemStack, String>(); Map<ItemStack, String> replacements = new HashMap<ItemStack, String>();
replacements.put(new ItemStack(Block.planks, 1, WILDCARD_VALUE), "plankWood");
replacements.put(new ItemStack(Item.stick), "stickWood"); replacements.put(new ItemStack(Item.stick), "stickWood");
replacements.put(new ItemStack(Block.planks), "plankWood");
replacements.put(new ItemStack(Block.planks, 1, WILDCARD_VALUE), "plankWood");
replacements.put(new ItemStack(Block.stone), "stone"); replacements.put(new ItemStack(Block.stone), "stone");
replacements.put(new ItemStack(Block.stone, 1, WILDCARD_VALUE), "stone");
replacements.put(new ItemStack(Block.cobblestone), "cobblestone"); replacements.put(new ItemStack(Block.cobblestone), "cobblestone");
replacements.put(new ItemStack(Block.cobblestone, 1, WILDCARD_VALUE), "cobblestone");
// Register dyes // Register dyes
String[] dyes = String[] dyes =