From 55eeb35ea8b01d16e5aa37c53ee245fc5ae33ff2 Mon Sep 17 00:00:00 2001 From: nuckable Date: Fri, 15 Jul 2022 10:15:18 +0200 Subject: [PATCH] Added recipes for planks from vertical plank blocks --- src/main/java/org/rbh/tfcadditions/Core/Recipes.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/rbh/tfcadditions/Core/Recipes.java b/src/main/java/org/rbh/tfcadditions/Core/Recipes.java index cfb2be3..a3aa5fc 100644 --- a/src/main/java/org/rbh/tfcadditions/Core/Recipes.java +++ b/src/main/java/org/rbh/tfcadditions/Core/Recipes.java @@ -1,6 +1,7 @@ package org.rbh.tfcadditions.Core; import com.dunk.tfc.api.Constant.Global; +import com.dunk.tfc.api.TFCBlocks; import com.dunk.tfc.api.TFCItems; import cpw.mods.fml.common.registry.GameRegistry; import net.minecraft.item.Item; @@ -38,14 +39,17 @@ public static void registerRecipes(){ int l = i%16; if(i==l){ GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Blocks.PlanksVert, 1, i), " 1 ","11 ","1 ", '1', new ItemStack(TFCItems.singlePlank, 1, i))); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(TFCItems.singlePlank, 4, i), new ItemStack(Blocks.PlanksVert, 1, i), "itemSaw")); GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Blocks.PlanksParquet, 1, i), "11","11", '1', new ItemStack(Items.PlankPlaned, 1, i))); GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Blocks.PlanksLarge, 2, i), "111","111","111", '1', new ItemStack(Items.PlankPlaned, 1, i))); } else if(i/16 == 1){ GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Blocks.PlanksVert2, 1, l), " 1 ","11 ","1 ", '1', new ItemStack(TFCItems.singlePlank, 1, i))); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(TFCItems.singlePlank, 4, i), new ItemStack(Blocks.PlanksVert2, 1, l), "itemSaw")); GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Blocks.PlanksParquet2, 2, l), "11","11", '1', new ItemStack(Items.PlankPlaned, 1, i))); GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Blocks.PlanksLarge2, 2, l), "111","111","111", '1', new ItemStack(Items.PlankPlaned, 1, i))); } else if(i/32 == 1){ GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Blocks.PlanksVert3, 1, l), " 1 ","11 ","1 ", '1', new ItemStack(TFCItems.singlePlank, 1, i))); + GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(TFCItems.singlePlank, 4, i), new ItemStack(Blocks.PlanksVert3, 1, l), "itemSaw")); GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Blocks.PlanksParquet3, 2, l), "11","11", '1', new ItemStack(Items.PlankPlaned, 1, i))); GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Blocks.PlanksLarge3, 2, l), "111","111","111", '1', new ItemStack(Items.PlankPlaned, 1, i))); }