From 8e4341a36eaa184970e1cf98e0815e03b9347892 Mon Sep 17 00:00:00 2001 From: Jordan Byrne Date: Sat, 24 Mar 2018 05:49:22 +1000 Subject: + Added craftingToolSaw to CI.java. $ Improved handling of Mixer Recipes for alloys. $ Fixed Rainforest Oak not being craftable into planks. --- src/Java/gtPlusPlus/xmod/bop/HANDLER_BiomesOPlenty.java | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src/Java/gtPlusPlus/xmod/bop') diff --git a/src/Java/gtPlusPlus/xmod/bop/HANDLER_BiomesOPlenty.java b/src/Java/gtPlusPlus/xmod/bop/HANDLER_BiomesOPlenty.java index 3ee719be4d..b152be46b1 100644 --- a/src/Java/gtPlusPlus/xmod/bop/HANDLER_BiomesOPlenty.java +++ b/src/Java/gtPlusPlus/xmod/bop/HANDLER_BiomesOPlenty.java @@ -1,6 +1,13 @@ package gtPlusPlus.xmod.bop; +import net.minecraft.init.Blocks; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; + import gtPlusPlus.core.lib.LoadedMods; +import gtPlusPlus.core.recipe.common.CI; +import gtPlusPlus.core.util.minecraft.ItemUtils; +import gtPlusPlus.core.util.minecraft.RecipeUtils; import gtPlusPlus.xmod.bop.blocks.BOP_Block_Registrator; public class HANDLER_BiomesOPlenty { @@ -22,7 +29,12 @@ public class HANDLER_BiomesOPlenty { public static void postInit(){ if (LoadedMods.BiomesOPlenty){ - + RecipeUtils.addShapelessGregtechRecipe(new ItemStack[] {ItemUtils.getSimpleStack(BOP_Block_Registrator.log_Rainforest)}, ItemUtils.getSimpleStack(Item.getItemFromBlock(Blocks.planks), 2)); + RecipeUtils.recipeBuilder( + CI.craftingToolSaw, null, null, + ItemUtils.getSimpleStack(BOP_Block_Registrator.log_Rainforest), null, null, + null, null, null, + ItemUtils.getSimpleStack(Item.getItemFromBlock(Blocks.planks), 4)); } } -- cgit