From 5d8cc09dd3c44a7fb8218e2679d0c8729fc83683 Mon Sep 17 00:00:00 2001 From: DarkGuardsman Date: Tue, 22 Oct 2013 15:52:04 -0400 Subject: [PATCH] Small crafting change Will need to come back to this and fix any issue were iron tube will be missing. --- src/dark/fluid/common/FMRecipeLoader.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/dark/fluid/common/FMRecipeLoader.java b/src/dark/fluid/common/FMRecipeLoader.java index 4176c5dde..4e8581d63 100644 --- a/src/dark/fluid/common/FMRecipeLoader.java +++ b/src/dark/fluid/common/FMRecipeLoader.java @@ -8,6 +8,8 @@ import cpw.mods.fml.common.registry.GameRegistry; import dark.api.ColorCode; import dark.core.common.CoreRecipeLoader; import dark.core.common.RecipeLoader; +import dark.core.common.items.EnumMaterial; +import dark.core.common.items.EnumOrePart; import dark.core.common.items.ItemParts.Parts; import dark.fluid.common.pipes.BlockPipe.PipeData; @@ -74,9 +76,9 @@ public class FMRecipeLoader extends RecipeLoader public void registerPipes() { // Iron Pipe - GameRegistry.addShapelessRecipe(PipeData.IRON_PIPE.itemStack, new Object[] { CoreRecipeLoader.ironTube, CoreRecipeLoader.leatherSeal }); + GameRegistry.addShapelessRecipe(PipeData.IRON_PIPE.itemStack, new Object[] { EnumMaterial.getStack(EnumMaterial.IRON, EnumOrePart.TUBE, 1), CoreRecipeLoader.leatherSeal }); // Lava Tube - new RecipeGrid(new ItemStack(blockPipe, 1, ColorCode.RED.ordinal()), 3, 1).setRowOne(CoreRecipeLoader.netherTube, CoreRecipeLoader.obbyTube, CoreRecipeLoader.netherTube).RegisterRecipe(); + new RecipeGrid(new ItemStack(blockPipe, 1, ColorCode.RED.ordinal()), 3, 1).setRowOne(Block.netherrack, EnumMaterial.getStack(EnumMaterial.OBBY, EnumOrePart.TUBE, 1), Block.netherrack).RegisterRecipe(); // fuel pipe GameRegistry.addShapelessRecipe(new ItemStack(blockPipe, 4, ColorCode.YELLOW.ordinal()), new Object[] { PipeData.YELLOW_PIPE.itemStack, PipeData.YELLOW_PIPE.itemStack, PipeData.YELLOW_PIPE.itemStack, PipeData.YELLOW_PIPE.itemStack, new ItemStack(CoreRecipeLoader.itemParts, 1, Parts.SlimeSeal.ordinal()) });