From 6a36f79e0310b6d2f2149d0fb51d320ca9abe674 Mon Sep 17 00:00:00 2001 From: drcrazy Date: Thu, 31 Aug 2017 13:06:41 +0300 Subject: [PATCH] Removed duplicate coal dust grinding recipe. Closes #1256 --- src/main/java/techreborn/init/ModRecipes.java | 34 ++++++++----------- 1 file changed, 14 insertions(+), 20 deletions(-) diff --git a/src/main/java/techreborn/init/ModRecipes.java b/src/main/java/techreborn/init/ModRecipes.java index 0e2745a1d..a8894c041 100644 --- a/src/main/java/techreborn/init/ModRecipes.java +++ b/src/main/java/techreborn/init/ModRecipes.java @@ -182,6 +182,16 @@ public class ModRecipes { new ItemStack(Items.FLINT), 200, 20)); + RecipeHandler.addRecipe(new GrinderRecipe( + new ItemStack(Items.COAL), + ItemDusts.getDustByName("coal"), + 230, 27)); + + RecipeHandler.addRecipe(new GrinderRecipe( + new ItemStack(net.minecraft.init.Items.CLAY_BALL), + ItemDusts.getDustByName("clay"), + 200, 18)); + RecipeHandler.addRecipe(new GrinderRecipe( new ItemStack(Blocks.GLOWSTONE), ItemDusts.getDustByName("glowstone", 4), 220, 21)); @@ -190,16 +200,11 @@ public class ModRecipes { new ItemStack(Blocks.NETHERRACK), ItemDusts.getDustByName("netherrack"), 300, 27)); - + RecipeHandler.addRecipe(new GrinderRecipe( - new ItemStack(Items.COAL), - ItemDusts.getDustByName("coal"), - 300, 27)); - - RecipeHandler.addRecipe(new GrinderRecipe( - new ItemStack(net.minecraft.init.Items.CLAY_BALL), - ItemDusts.getDustByName("clay"), - 200, 18)); + new ItemStack(Blocks.END_STONE), + ItemDusts.getDustByName("endstone"), + 300, 16)); for (String oreDictionaryName : OreDictionary.getOreNames()) { if (isDictPrefixed(oreDictionaryName, "ore", "gem", "ingot")) { @@ -229,17 +234,6 @@ public class ModRecipes { RecipeHandler.addRecipe(new GrinderRecipe(oreStack, dust, ore ? 270 : 200, ore ? 31 : 22)); } } - - RecipeHandler.addRecipe(new GrinderRecipe( - new ItemStack(Items.COAL), - ItemDusts.getDustByName("coal"), - 120, 10)); - - RecipeHandler.addRecipe(new GrinderRecipe( - new ItemStack(Blocks.END_STONE), - ItemDusts.getDustByName("endstone"), - 300, 16)); - } static void addReactorRecipes() {