Merge pull request #606 from Shukaro/master
Add stone and cobblestone to ore dictionary
This commit is contained in:
commit
97f6138cf8
|
@ -56,12 +56,16 @@ public class OreDictionary
|
||||||
registerOre("oreRedstone", Block.oreRedstone);
|
registerOre("oreRedstone", Block.oreRedstone);
|
||||||
registerOre("oreEmerald", Block.oreEmerald);
|
registerOre("oreEmerald", Block.oreEmerald);
|
||||||
registerOre("oreQuartz", Block.oreNetherQuartz);
|
registerOre("oreQuartz", Block.oreNetherQuartz);
|
||||||
|
registerOre("stone", Block.stone);
|
||||||
|
registerOre("cobblestone", Block.cobblestone);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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(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.stone), "stone");
|
||||||
|
replacements.put(new ItemStack(Block.cobblestone), "cobblestone");
|
||||||
|
|
||||||
// Register dyes
|
// Register dyes
|
||||||
String[] dyes =
|
String[] dyes =
|
||||||
|
@ -102,6 +106,10 @@ public class OreDictionary
|
||||||
{
|
{
|
||||||
new ItemStack(Block.blockLapis),
|
new ItemStack(Block.blockLapis),
|
||||||
new ItemStack(Item.cookie),
|
new ItemStack(Item.cookie),
|
||||||
|
new ItemStack(Block.stoneBrick),
|
||||||
|
new ItemStack(Block.stoneSingleSlab),
|
||||||
|
new ItemStack(Block.stairsCobblestone),
|
||||||
|
new ItemStack(Block.cobblestoneWall)
|
||||||
};
|
};
|
||||||
|
|
||||||
List recipes = CraftingManager.getInstance().getRecipeList();
|
List recipes = CraftingManager.getInstance().getRecipeList();
|
||||||
|
|
Loading…
Reference in New Issue