Add wildcard versions of OreDict replacements, Closes #827
This commit is contained in:
parent
4db6c4cfc4
commit
295542c357
1 changed files with 4 additions and 1 deletions
|
@ -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 =
|
||||||
|
|
Loading…
Reference in a new issue