From 506f3d96b5bd82db39a07fde23ec89e6a79f6755 Mon Sep 17 00:00:00 2001 From: Adubbz Date: Sat, 25 May 2013 09:41:10 +1000 Subject: [PATCH] Gave Bone Segments conversion recipes to Bonemeal (with a high efficiency version using a TE pulveriser) and gave them TC aspects --- src/minecraft/biomesoplenty/api/BlockReferences.java | 4 ++++ src/minecraft/biomesoplenty/configuration/BOPCrafting.java | 5 +++++ src/minecraft/biomesoplenty/integration/TEIntegration.java | 5 +++++ .../biomesoplenty/integration/ThaumcraftIntegration.java | 3 +++ 4 files changed, 17 insertions(+) diff --git a/src/minecraft/biomesoplenty/api/BlockReferences.java b/src/minecraft/biomesoplenty/api/BlockReferences.java index 652c6fda6..f100f57f9 100644 --- a/src/minecraft/biomesoplenty/api/BlockReferences.java +++ b/src/minecraft/biomesoplenty/api/BlockReferences.java @@ -110,6 +110,10 @@ public class BlockReferences { giantFlowerRed (Blocks.petals, 0), giantFlowerYellow (Blocks.petals, 1), + smallBoneSegment (Blocks.bones, 0), + mediumBoneSegment (Blocks.bones, 1), + largeBoneSegment (Blocks.bones, 2), + kelp (Blocks.coral, 0), toadstool (Blocks.mushrooms, 0), diff --git a/src/minecraft/biomesoplenty/configuration/BOPCrafting.java b/src/minecraft/biomesoplenty/configuration/BOPCrafting.java index ae4a6d4e0..0f1f7b96d 100644 --- a/src/minecraft/biomesoplenty/configuration/BOPCrafting.java +++ b/src/minecraft/biomesoplenty/configuration/BOPCrafting.java @@ -179,6 +179,11 @@ public class BOPCrafting GameRegistry.addShapelessRecipe(new ItemStack(Blocks.bamboo.get(), 4), new Object[] {new ItemStack(Blocks.planks.get(), 1, 10)}); GameRegistry.addShapelessRecipe(new ItemStack(Items.miscItems.get(), 9, 2), new Object[] {new ItemStack(Blocks.amethystOre.get(), 1, 1)}); + //Bone Segments > Bonemeal + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder, 3, 15), new Object[] {new ItemStack(Blocks.bones.get(), 1, 0)}); + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder, 6, 15), new Object[] {new ItemStack(Blocks.bones.get(), 1, 1)}); + GameRegistry.addShapelessRecipe(new ItemStack(Item.dyePowder, 12, 15), new Object[] {new ItemStack(Blocks.bones.get(), 1, 2)}); + //Plants GameRegistry.addShapelessRecipe(new ItemStack(Items.shroomPowder.get(), 2), new Object[] {new ItemStack(Blocks.mushrooms.get(),1,0)}); GameRegistry.addShapelessRecipe(new ItemStack(Items.miscItems.get(), 1, 3), new Object[] {new ItemStack(Blocks.foliage.get(),1,7)}); diff --git a/src/minecraft/biomesoplenty/integration/TEIntegration.java b/src/minecraft/biomesoplenty/integration/TEIntegration.java index 0e42ead0e..a2263f504 100644 --- a/src/minecraft/biomesoplenty/integration/TEIntegration.java +++ b/src/minecraft/biomesoplenty/integration/TEIntegration.java @@ -1,5 +1,6 @@ package biomesoplenty.integration; +import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import thermalexpansion.api.crafting.CraftingHelpers; import thermalexpansion.api.crafting.CraftingManagers; @@ -43,5 +44,9 @@ public class TEIntegration CraftingManagers.pulverizerManager.addRecipe(160, new ItemStack(Blocks.logs3.get(), 1, 0), woodchips); CraftingManagers.pulverizerManager.addRecipe(160, new ItemStack(Blocks.logs3.get(), 1, 1), woodchips); CraftingManagers.pulverizerManager.addRecipe(160, new ItemStack(Blocks.logs3.get(), 1, 2), woodchips); + + CraftingManagers.pulverizerManager.addRecipe(160, new ItemStack(Blocks.bones.get(), 1, 0), new ItemStack(Item.dyePowder, 6, 15)); + CraftingManagers.pulverizerManager.addRecipe(220, new ItemStack(Blocks.bones.get(), 1, 1), new ItemStack(Item.dyePowder, 12, 15)); + CraftingManagers.pulverizerManager.addRecipe(280, new ItemStack(Blocks.bones.get(), 1, 2), new ItemStack(Item.dyePowder, 24, 15)); } } diff --git a/src/minecraft/biomesoplenty/integration/ThaumcraftIntegration.java b/src/minecraft/biomesoplenty/integration/ThaumcraftIntegration.java index 2662a17f7..dd8dc765f 100644 --- a/src/minecraft/biomesoplenty/integration/ThaumcraftIntegration.java +++ b/src/minecraft/biomesoplenty/integration/ThaumcraftIntegration.java @@ -119,6 +119,9 @@ public class ThaumcraftIntegration { ThaumcraftApi.registerObjectTag(getBID("redRockCobble"), getBMeta("redRockCobble"), (new ObjectTags()).add(EnumTag.DESTRUCTION, 1).add(EnumTag.ROCK, 1)); ThaumcraftApi.registerObjectTag(getBID("giantFlowerRed"), getBMeta("giantFlowerRed"), (new ObjectTags()).add(EnumTag.FLOWER, 4).add(EnumTag.MAGIC, 1)); ThaumcraftApi.registerObjectTag(getBID("giantFlowerYellow"), getBMeta("giantFlowerYellow"), (new ObjectTags()).add(EnumTag.FLOWER, 4).add(EnumTag.MAGIC, 1)); + ThaumcraftApi.registerObjectTag(getBID("smallBoneSegment"), getBMeta("smallBoneSegment"), (new ObjectTags()).add(EnumTag.FLESH, 1).add(EnumTag.DEATH, 3)); + ThaumcraftApi.registerObjectTag(getBID("mediumBoneSegment"), getBMeta("mediumBoneSegment"), (new ObjectTags()).add(EnumTag.FLESH, 2).add(EnumTag.DEATH, 6)); + ThaumcraftApi.registerObjectTag(getBID("largeBoneSegment"), getBMeta("largeBoneSegment"), (new ObjectTags()).add(EnumTag.FLESH, 4).add(EnumTag.DEATH, 12)); //Items /*Amethyst*/ThaumcraftApi.registerObjectTag(Items.miscItems.get().itemID, 2, (new ObjectTags()).add(EnumTag.VALUABLE, 8).add(EnumTag.PURE, 8).add(EnumTag.CRYSTAL, 16));