From 483e4ab5ea1cccaaef6daac7bed1284ca410c8a0 Mon Sep 17 00:00:00 2001 From: Anton Date: Sun, 10 May 2015 20:00:01 +0300 Subject: [PATCH] Additional OreDictionary support --- .../common/core/BOPCrafting.java | 25 ++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/src/main/java/biomesoplenty/common/core/BOPCrafting.java b/src/main/java/biomesoplenty/common/core/BOPCrafting.java index 554b99a28..3a6f1d019 100644 --- a/src/main/java/biomesoplenty/common/core/BOPCrafting.java +++ b/src/main/java/biomesoplenty/common/core/BOPCrafting.java @@ -295,13 +295,36 @@ public class BOPCrafting private static void addOreRegistration() { - //Ore Registration + //Registration in Ore Dictionary OreDictionary.registerOre("plankWood", new ItemStack(BOPCBlocks.planks, 1, OreDictionary.WILDCARD_VALUE)); OreDictionary.registerOre("stickWood", new ItemStack(BOPCBlocks.bamboo)); OreDictionary.registerOre("stickWood", new ItemStack(BOPCBlocks.plants, 1, 8)); OreDictionary.registerOre("blockMeatRaw", new ItemStack(BOPCBlocks.flesh, 1, 0)); + + OreDictionary.registerOre("foodMushroompowder", new ItemStack(BOPCItems.food, 1, 1)); + OreDictionary.registerOre("foodFruitsalad", new ItemStack(BOPCItems.food, 1, 4)); + OreDictionary.registerOre("foodVeggiesalad", new ItemStack(BOPCItems.food, 1, 5)); + OreDictionary.registerOre("foodMushroomsalad", new ItemStack(BOPCItems.food, 1, 6)); + OreDictionary.registerOre("foodFilledhoneycomb", new ItemStack(BOPCItems.food, 1, 9)); + OreDictionary.registerOre("foodAmbrosia", new ItemStack(BOPCItems.food, 1, 10)); + OreDictionary.registerOre("foodBowlofrice", new ItemStack(BOPCItems.food, 1, 13)); + + OreDictionary.registerOre("cropWildcarrots", new ItemStack(BOPCItems.food, 1, 2)); + OreDictionary.registerOre("cropPeach", new ItemStack(BOPCItems.food, 1, 3)); + OreDictionary.registerOre("cropPersimmon", new ItemStack(BOPCItems.food, 1, 8)); + OreDictionary.registerOre("cropTurnip", new ItemStack(BOPCItems.food, 1, 11)); + OreDictionary.registerOre("cropPear", new ItemStack(BOPCItems.food, 1, 12)); + + OreDictionary.registerOre("listAllfruit", new ItemStack(BOPCItems.food, 1, 3)); + OreDictionary.registerOre("listAllfruit", new ItemStack(BOPCItems.food, 1, 8)); + OreDictionary.registerOre("listAllrootveggie", new ItemStack(BOPCItems.food, 1, 11)); + OreDictionary.registerOre("listAllveggie", new ItemStack(BOPCItems.food, 1, 11)); + OreDictionary.registerOre("listAllfruit", new ItemStack(BOPCItems.food, 1, 12)); + + OreDictionary.registerOre("seedTurnip", new ItemStack(BOPCItems.turnipSeeds)); + OreDictionary.registerOre("listAllseed", new ItemStack(BOPCItems.turnipSeeds)); OreDictionary.registerOre("dyeBlue", new ItemStack(BOPCItems.misc, 1, 5)); OreDictionary.registerOre("dyeBrown", new ItemStack(BOPCItems.misc, 1, 6));