aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common
diff options
context:
space:
mode:
authorSteelux <70096037+Steelux8@users.noreply.github.com>2022-06-20 10:57:11 +0100
committerGitHub <noreply@github.com>2022-06-20 11:57:11 +0200
commit5828ba998dca600eb4c6cd23bf349b8f0645e16e (patch)
treef6c0931108254c5e7d1d48476c602ceba1059b76 /src/main/java/gregtech/common
parent7d073371cbf74bad6641461fe6405ebc80da19be (diff)
downloadGT5-Unofficial-5828ba998dca600eb4c6cd23bf349b8f0645e16e.tar.gz
GT5-Unofficial-5828ba998dca600eb4c6cd23bf349b8f0645e16e.tar.bz2
GT5-Unofficial-5828ba998dca600eb4c6cd23bf349b8f0645e16e.zip
Added Use for Cactus/Sugar Coke in BBF (#1058)
* Added Use for Cactus/Sugar Coke in BBF - Added Cactus and Sugar Coke to the first Blast Furnace, with the same recipe time as Coal Coke but with 4x the amount needed, as these Cokes have 1/4 the burn time as Coal Coke. * Fix Item Name in getModItem
Diffstat (limited to 'src/main/java/gregtech/common')
-rw-r--r--src/main/java/gregtech/common/GT_RecipeAdder.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/gregtech/common/GT_RecipeAdder.java b/src/main/java/gregtech/common/GT_RecipeAdder.java
index 38acb4ac92..9418b19545 100644
--- a/src/main/java/gregtech/common/GT_RecipeAdder.java
+++ b/src/main/java/gregtech/common/GT_RecipeAdder.java
@@ -293,6 +293,10 @@ public class GT_RecipeAdder implements IGT_RecipeAdder {
if (Loader.isModLoaded("Railcraft")) {
GT_Recipe.GT_Recipe_Map.sPrimitiveBlastRecipes.addRecipe(true, new ItemStack[]{aInput1, aInput2, RailcraftToolItems.getCoalCoke(aCoalAmount / 2)}, new ItemStack[]{aOutput1, aOutput2, Materials.Ash.getDustTiny(aCoalAmount / 2)}, null, null, null, null, aDuration * 2 / 3, 0, 0);
}
+ if (Loader.isModLoaded("miscutils")) {
+ GT_Recipe.GT_Recipe_Map.sPrimitiveBlastRecipes.addRecipe(true, new ItemStack[]{aInput1, aInput2, GT_ModHandler.getModItem("miscutils", "itemCactusCoke", (aCoalAmount * 2))}, new ItemStack[]{aOutput1, aOutput2, Materials.Ash.getDustTiny(aCoalAmount * 2)}, null, null, null, null, aDuration * 2 / 3, 0, 0);
+ GT_Recipe.GT_Recipe_Map.sPrimitiveBlastRecipes.addRecipe(true, new ItemStack[]{aInput1, aInput2, GT_ModHandler.getModItem("miscutils", "itemSugarCoke", (aCoalAmount * 2))}, new ItemStack[]{aOutput1, aOutput2, Materials.Ash.getDustTiny(aCoalAmount * 2)}, null, null, null, null, aDuration * 2 / 3, 0, 0);
+ }
if ((aInput1 == null || aInput1.stackSize <= 6) && (aInput2 == null || aInput2.stackSize <= 6) &&
(aOutput1 == null || aOutput1.stackSize <= 6) && (aOutput2 == null || aOutput2.stackSize <= 6)) {
aInput1 = aInput1 == null ? null : GT_Utility.copyAmount(aInput1.stackSize * 10, aInput1);