aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_DustGeneration.java
diff options
context:
space:
mode:
authorDraknyte1 <Draknyte1@hotmail.com>2016-10-25 23:47:58 +1000
committerDraknyte1 <Draknyte1@hotmail.com>2016-10-25 23:47:58 +1000
commitf2a89339d7f6f875d34d4a7bb1868a1d4a3cf644 (patch)
tree114d97fb80a7a6310ea0a6f77030607f83bed627 /src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_DustGeneration.java
parente5e1581403e9f6e9d76e362c5e4861b4258af7cc (diff)
downloadGT5-Unofficial-f2a89339d7f6f875d34d4a7bb1868a1d4a3cf644.tar.gz
GT5-Unofficial-f2a89339d7f6f875d34d4a7bb1868a1d4a3cf644.tar.bz2
GT5-Unofficial-f2a89339d7f6f875d34d4a7bb1868a1d4a3cf644.zip
+ 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.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_DustGeneration.java')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_DustGeneration.java18
1 files changed, 9 insertions, 9 deletions
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<inputStacks.length;x++){
if (inputStacks[x] != null && inputStackSize[x] != 0)
inputStacks[x].stackSize = (int) inputStackSize[x];
}
- Utils.LOG_INFO(UtilsItems.getArrayStackNames(inputStacks));
+ Utils.LOG_INFO(ItemUtils.getArrayStackNames(inputStacks));
if (GT_Values.RA.addMixerRecipe(
inputStacks[0], inputStacks[1],
inputStacks[2], inputStacks[3],