From f2a89339d7f6f875d34d4a7bb1868a1d4a3cf644 Mon Sep 17 00:00:00 2001 From: Draknyte1 Date: Tue, 25 Oct 2016 23:47:58 +1000 Subject: + Tried improving the handling of Blast Smelting. + Tried adding shapeless dust recipes for all of my alloys. (The shapeless recipe system is dumb) + Added a custom GUI for NEI recipes for the Blast Smelter. % Refactored some Utils classes. --- .../gregtech/loaders/RecipeGen_DustGeneration.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_DustGeneration.java') diff --git a/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_DustGeneration.java b/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_DustGeneration.java index 6a499a640e..2d4038c74f 100644 --- a/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_DustGeneration.java +++ b/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_DustGeneration.java @@ -3,8 +3,8 @@ package gtPlusPlus.xmod.gregtech.loaders; import gregtech.api.enums.GT_Values; import gtPlusPlus.core.material.Material; import gtPlusPlus.core.util.Utils; -import gtPlusPlus.core.util.item.UtilsItems; -import gtPlusPlus.core.util.recipe.UtilsRecipe; +import gtPlusPlus.core.util.item.ItemUtils; +import gtPlusPlus.core.util.recipe.RecipeUtils; import net.minecraft.item.ItemStack; public class RecipeGen_DustGeneration { @@ -15,7 +15,7 @@ public class RecipeGen_DustGeneration { Utils.LOG_INFO("Generating Shaped Crafting recipes for "+material.getLocalizedName()); //TODO //Ring Recipe - if (UtilsRecipe.addShapedGregtechRecipe( + if (RecipeUtils.addShapedGregtechRecipe( "craftingToolWrench", null, null, null, material.getRod(1), null, null, null, null, @@ -34,7 +34,7 @@ public class RecipeGen_DustGeneration { ItemStack[] inputStacks = material.getMaterialComposites(); ItemStack outputStacks = material.getDust(material.smallestStackSizeWhenProcessing); - if (UtilsRecipe.recipeBuilder( + if (RecipeUtils.recipeBuilder( tinyDust, tinyDust, tinyDust, tinyDust, tinyDust, tinyDust, tinyDust, tinyDust, tinyDust, @@ -45,7 +45,7 @@ public class RecipeGen_DustGeneration { Utils.LOG_INFO("9 Tiny dust to 1 Dust Recipe: "+material.getLocalizedName()+" - Failed"); } - if (UtilsRecipe.recipeBuilder( + if (RecipeUtils.recipeBuilder( normalDust, null, null, null, null, null, null, null, null, @@ -57,7 +57,7 @@ public class RecipeGen_DustGeneration { } - if (UtilsRecipe.recipeBuilder( + if (RecipeUtils.recipeBuilder( smallDust, smallDust, null, smallDust, smallDust, null, null, null, null, @@ -69,7 +69,7 @@ public class RecipeGen_DustGeneration { } - if (UtilsRecipe.recipeBuilder( + if (RecipeUtils.recipeBuilder( null, normalDust, null, null, null, null, null, null, null, @@ -82,14 +82,14 @@ public class RecipeGen_DustGeneration { if (inputStacks.length > 0){ - Utils.LOG_INFO(UtilsItems.getArrayStackNames(inputStacks)); + Utils.LOG_INFO(ItemUtils.getArrayStackNames(inputStacks)); long[] inputStackSize = material.vSmallestRatio; if (inputStackSize != null){ for (short x=0;x