Merge pull request #606 from Shukaro/master

Add stone and cobblestone to ore dictionary
This commit is contained in:
LexManos 2013-08-10 23:29:01 -07:00
commit 97f6138cf8
1 changed files with 8 additions and 0 deletions

View File

@ -56,12 +56,16 @@ public class OreDictionary
registerOre("oreRedstone", Block.oreRedstone);
registerOre("oreEmerald", Block.oreEmerald);
registerOre("oreQuartz", Block.oreNetherQuartz);
registerOre("stone", Block.stone);
registerOre("cobblestone", Block.cobblestone);
}
// Build our list of items to replace with ore tags
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(Block.stone), "stone");
replacements.put(new ItemStack(Block.cobblestone), "cobblestone");
// Register dyes
String[] dyes =
@ -102,6 +106,10 @@ public class OreDictionary
{
new ItemStack(Block.blockLapis),
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();