aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/loaders/oreprocessing/ProcessingGem.java
diff options
context:
space:
mode:
authormiozune <miozune@gmail.com>2023-12-04 05:34:27 +0900
committerGitHub <noreply@github.com>2023-12-03 21:34:27 +0100
commitf74c7cc297d1d19d38a19683cd277ad9ce605d3a (patch)
treeb2a5d66ec5a959099240fb1db239ffc0f9531839 /src/main/java/gregtech/loaders/oreprocessing/ProcessingGem.java
parentb08cde7de4ec93cba05fb070991ad1dffb800ce1 (diff)
downloadGT5-Unofficial-f74c7cc297d1d19d38a19683cd277ad9ce605d3a.tar.gz
GT5-Unofficial-f74c7cc297d1d19d38a19683cd277ad9ce605d3a.tar.bz2
GT5-Unofficial-f74c7cc297d1d19d38a19683cd277ad9ce605d3a.zip
Refactor RecipeMap (#2345)
* Remove deprecated and unused things * Move recipemap subclasses * Move GT_Recipe_Map to outside and rename to RecipeMap * Move recipemap instances to separated class & remove prepending s * Remove useless GT_Recipe constructors * Always use ModularUI * Rename IGT_RecipeMap -> IRecipeMap * Add RecipeMapBuilder * Remove more deprecated and unused things * Fix RecipeMap type parameters * Use multimap for recipe index * Fix bending recipe error in dev env * Remove mUniqueIdentifier * Update AE2FC * Less edgy texture for NEI recipe background * Add replicator fluid output slot for NEI and machine GUI * Fix fluid fuels not having fuel value in large boilers * Remove GT_RectHandler and NEI_TransferRectHost * Remove RecipeMapHandler * Move NEI energy description from RecipeMapFrontend to Power * Refactor the way to filter fusion recipes * Check restriction for some properties * Remove showVoltageAmperage * Make Power accept GT_Recipe * Fix NPE * Move NEI duration description to Power from Frontend * Directly implement IRecipeProcessingAwareHatch for GT_MetaTileEntity_Hatch_InputBus_ME * Make Power integrated with GT_OverclockCalculator * Rename Power -> OverclockDescriber * Don't modify recipe find logic until postload finishes * Reformat reserved MTE ids * Fix check for too few inputs on recipe addition * Move replicator logic to backend * Stop un-hiding assline recipes * Allow setting custom recipe comparator & implement for fusion * Update AE2FC * Rename getRecipeList and getRecipes -> getRecipeMap * Automatically register recipe catalysts * Cleanup the way to detect recipe collision * Make use of BasicUIProperties for basic machines * Make use of BasicUIProperties for UIHelper * Rename specialHandler -> recipeTransformer * Add way to automatically register handler info * Add recipe category * Add some APIs for addons * Rename blastRecipes -> blastFurnaceRecipes * Remove GT_MetaTileEntity_BasicMachine_GT_Recipe#mSharedTank and #mRequiresFluidForFiltering * Don't require setting duration and EU/t for fuel recipes * Don't require setting EU/t for primitive blast furnace recipes * Revert change to addMultiblockChemicalRecipe * Fix large boiler general desc recipe not being added * Hide duration and EU/t from large boiler * Cleanup recipe stacktrace draw * Extend metadata usage of recipe builder to recipe itself * Implement metadata handling & NEI comparator for PCB factory * Some rename around NEIRecipeInfo * Some toString implementations * Add more APIs for addons & some rename * Infer handler icon from recipe catalyst if one is not set * Also shrink recipe title when OC is not used * Remove rare earth centrifuge recipe * Use metadata for replicator backend * Adjust geothermal generator output slot * Allow having multiple transferrects * Store recipemap reference in backend * Rename vacuumRecipes -> vacuumFreezerRecipes * Add config to tweak visibility of recipe categories * Remove mHideRecyclingRecipes in favor of recipe category config * Fix typo fluidSolidfierRecipes -> fluidSolidifierRecipes * Refactor findRecipe and ProcessingLogic to use Stream * Fix BBF handler icon & remove bronze blast furnace * Add fluent API for findRecipe * Add way to stop adding progressbar * Change arg order for special texture * Avoid overwriting interesting failure with NO_RECIPE * Some changes for FuelBackend * Set space project icon * Remove localization from TT * Remove CNC recipe adder * Move recipe extractor from AE2FC * Minor internal change for ProcessingLogic#applyRecipe * More javadoc on #getAvailableRecipeMaps * Better implementation of #ofSupplier * Move replicator exponent config to GT_Proxy * Remove RC & IC2 macerator handling * Rename StreamUtil -> GT_StreamUtil * Refactor code around RecipeMetadataStorage * Revise #compileRecipe javadoc * Switch extreme diesel recipe loader to downstream recipe map * Optimize #reMap * Rename reload -> reloadNEICache * Minor tweak for drawEnergyInfo * a bit more doc * Adjust recipe catalysts * Add toString implementation for GT_Fluid for debug * Minor revision for OilCrackerBackend * Index replicator recipes by material --------- Co-authored-by: Glease <4586901+Glease@users.noreply.github.com>
Diffstat (limited to 'src/main/java/gregtech/loaders/oreprocessing/ProcessingGem.java')
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingGem.java98
1 files changed, 44 insertions, 54 deletions
diff --git a/src/main/java/gregtech/loaders/oreprocessing/ProcessingGem.java b/src/main/java/gregtech/loaders/oreprocessing/ProcessingGem.java
index 531196f661..0efa58a3c7 100644
--- a/src/main/java/gregtech/loaders/oreprocessing/ProcessingGem.java
+++ b/src/main/java/gregtech/loaders/oreprocessing/ProcessingGem.java
@@ -1,13 +1,13 @@
package gregtech.loaders.oreprocessing;
import static gregtech.api.enums.Mods.AppliedEnergistics2;
-import static gregtech.api.util.GT_Recipe.GT_Recipe_Map.sBenderRecipes;
-import static gregtech.api.util.GT_Recipe.GT_Recipe_Map.sCompressorRecipes;
-import static gregtech.api.util.GT_Recipe.GT_Recipe_Map.sElectrolyzerRecipes;
-import static gregtech.api.util.GT_Recipe.GT_Recipe_Map.sHammerRecipes;
-import static gregtech.api.util.GT_Recipe.GT_Recipe_Map.sImplosionRecipes;
-import static gregtech.api.util.GT_Recipe.GT_Recipe_Map.sLaserEngraverRecipes;
-import static gregtech.api.util.GT_Recipe.GT_Recipe_Map.sLatheRecipes;
+import static gregtech.api.recipe.RecipeMaps.benderRecipes;
+import static gregtech.api.recipe.RecipeMaps.compressorRecipes;
+import static gregtech.api.recipe.RecipeMaps.electrolyzerRecipes;
+import static gregtech.api.recipe.RecipeMaps.hammerRecipes;
+import static gregtech.api.recipe.RecipeMaps.implosionRecipes;
+import static gregtech.api.recipe.RecipeMaps.laserEngraverRecipes;
+import static gregtech.api.recipe.RecipeMaps.latheRecipes;
import static gregtech.api.util.GT_RecipeBuilder.MINUTES;
import static gregtech.api.util.GT_RecipeBuilder.SECONDS;
import static gregtech.api.util.GT_RecipeBuilder.TICKS;
@@ -63,8 +63,6 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
.itemInputs(GT_Utility.copyAmount(1, aStack))
.metadata(FUEL_VALUE, aMaterial.mFuelPower * 2)
.metadata(FUEL_TYPE, aMaterial.mFuelType)
- .duration(0)
- .eut(0)
.addTo(GT_RecipeConstants.Fuel);
}
@@ -78,7 +76,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
.itemOutputs(GT_OreDictUnificator.get(OrePrefixes.block, aMaterial, 1L))
.duration(15 * SECONDS)
.eut(2)
- .addTo(sCompressorRecipes);
+ .addTo(compressorRecipes);
}
}
@@ -98,7 +96,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
.itemOutputs(GT_OreDictUnificator.get(OrePrefixes.gemFlawed, aMaterial, 2L))
.duration(3 * SECONDS + 4 * TICKS)
.eut(16)
- .addTo(sHammerRecipes);
+ .addTo(hammerRecipes);
}
}
} else {
@@ -112,7 +110,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
.itemOutputs(GT_OreDictUnificator.get(OrePrefixes.plate, aMaterial, 1L))
.duration(Math.max(aMaterialMass, 1L))
.eut(calculateRecipeEU(aMaterial, 16))
- .addTo(sHammerRecipes);
+ .addTo(hammerRecipes);
}
}
@@ -125,7 +123,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
.itemOutputs(GT_OreDictUnificator.get(OrePrefixes.plate, aMaterial, 1L))
.duration((int) Math.max(aMaterialMass * 2L, 1L))
.eut(calculateRecipeEU(aMaterial, 24))
- .addTo(sBenderRecipes);
+ .addTo(benderRecipes);
}
if (GT_OreDictUnificator.get(OrePrefixes.plateDouble, aMaterial, 1L) != null) {
@@ -135,7 +133,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
.itemOutputs(GT_OreDictUnificator.get(OrePrefixes.plateDouble, aMaterial, 1L))
.duration(Math.max(aMaterialMass * 2L, 1L))
.eut(calculateRecipeEU(aMaterial, 96))
- .addTo(sBenderRecipes);
+ .addTo(benderRecipes);
}
if (GT_OreDictUnificator.get(OrePrefixes.plateTriple, aMaterial, 1L) != null) {
@@ -145,7 +143,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
.itemOutputs(GT_OreDictUnificator.get(OrePrefixes.plateTriple, aMaterial, 1L))
.duration(Math.max(aMaterialMass * 3L, 1L))
.eut(calculateRecipeEU(aMaterial, 96))
- .addTo(sBenderRecipes);
+ .addTo(benderRecipes);
}
if (GT_OreDictUnificator.get(OrePrefixes.plateQuadruple, aMaterial, 1L) != null) {
@@ -155,7 +153,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
.itemOutputs(GT_OreDictUnificator.get(OrePrefixes.plateQuadruple, aMaterial, 1L))
.duration(Math.max(aMaterialMass * 4L, 1L))
.eut(calculateRecipeEU(aMaterial, 96))
- .addTo(sBenderRecipes);
+ .addTo(benderRecipes);
}
if (GT_OreDictUnificator.get(OrePrefixes.plateQuintuple, aMaterial, 1L) != null) {
@@ -165,7 +163,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
.itemOutputs(GT_OreDictUnificator.get(OrePrefixes.plateQuintuple, aMaterial, 1L))
.duration(Math.max(aMaterialMass * 5L, 1L))
.eut(calculateRecipeEU(aMaterial, 96))
- .addTo(sBenderRecipes);
+ .addTo(benderRecipes);
}
if (GT_OreDictUnificator.get(OrePrefixes.plateDense, aMaterial, 1L) != null) {
@@ -175,7 +173,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
.itemOutputs(GT_OreDictUnificator.get(OrePrefixes.plateDense, aMaterial, 1L))
.duration(Math.max(aMaterialMass * 9L, 1L))
.eut(calculateRecipeEU(aMaterial, 96))
- .addTo(sBenderRecipes);
+ .addTo(benderRecipes);
}
}
}
@@ -191,7 +189,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
GT_OreDictUnificator.get(OrePrefixes.dustSmall, aMaterial, 2L))
.duration(((int) Math.max(aMaterialMass, 1L)) * TICKS)
.eut(calculateRecipeEU(aMaterial, 16))
- .addTo(sLatheRecipes);
+ .addTo(latheRecipes);
}
}
} else {
@@ -206,7 +204,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
GT_OreDictUnificator.get(OrePrefixes.dustTiny, Materials.DarkAsh, 2))
.duration(1 * SECONDS)
.eut(TierEU.RECIPE_LV)
- .addTo(sImplosionRecipes);
+ .addTo(implosionRecipes);
GT_Values.RA.stdBuilder()
.itemInputs(
GT_Utility.copyAmount(3, aStack),
@@ -216,7 +214,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
GT_OreDictUnificator.get(OrePrefixes.dustTiny, Materials.DarkAsh, 2))
.duration(1 * SECONDS)
.eut(TierEU.RECIPE_LV)
- .addTo(sImplosionRecipes);
+ .addTo(implosionRecipes);
GT_Values.RA.stdBuilder()
.itemInputs(GT_Utility.copyAmount(3, aStack), new ItemStack(Blocks.tnt, 8))
.itemOutputs(
@@ -224,7 +222,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
GT_OreDictUnificator.get(OrePrefixes.dustTiny, Materials.DarkAsh, 2))
.duration(1 * SECONDS)
.eut(TierEU.RECIPE_LV)
- .addTo(sImplosionRecipes);
+ .addTo(implosionRecipes);
GT_Values.RA.stdBuilder()
.itemInputs(
GT_Utility.copyAmount(3, aStack),
@@ -234,7 +232,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
GT_OreDictUnificator.get(OrePrefixes.dustTiny, Materials.DarkAsh, 2))
.duration(1 * SECONDS)
.eut(TierEU.RECIPE_LV)
- .addTo(sImplosionRecipes);
+ .addTo(implosionRecipes);
}
}
@@ -284,7 +282,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
GT_ModHandler.getModItem(AppliedEnergistics2.ID, "item.ItemMultiMaterial", 1L, 1))
.duration(100 * SECONDS)
.eut(TierEU.RECIPE_LV)
- .addTo(sElectrolyzerRecipes);
+ .addTo(electrolyzerRecipes);
}
}
@@ -300,7 +298,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
.itemOutputs(GT_OreDictUnificator.get(OrePrefixes.gemFlawless, aMaterial, 1L))
.duration(60 * SECONDS)
.eut(TierEU.RECIPE_HV)
- .addTo(sLaserEngraverRecipes);
+ .addTo(laserEngraverRecipes);
}
}
@@ -313,8 +311,6 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
.itemInputs(GT_Utility.copyAmount(1, aStack))
.metadata(FUEL_VALUE, aMaterial.mFuelPower / 2)
.metadata(FUEL_TYPE, aMaterial.mFuelType)
- .duration(0)
- .eut(0)
.addTo(GT_RecipeConstants.Fuel);
}
@@ -329,7 +325,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
GT_OreDictUnificator.get(OrePrefixes.dustTiny, aMaterial, 1L))
.duration(((int) Math.max(aMaterialMass, 1L)) * TICKS)
.eut(8)
- .addTo(sLatheRecipes);
+ .addTo(latheRecipes);
}
if (aMaterial.mUnificatable && (aMaterial.mMaterialInto == aMaterial)) {
@@ -343,7 +339,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
GT_OreDictUnificator.get(OrePrefixes.dustTiny, Materials.DarkAsh, 2))
.duration(1 * SECONDS)
.eut(TierEU.RECIPE_LV)
- .addTo(sImplosionRecipes);
+ .addTo(implosionRecipes);
GT_Values.RA.stdBuilder()
.itemInputs(
GT_Utility.copyAmount(3, aStack),
@@ -353,7 +349,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
GT_OreDictUnificator.get(OrePrefixes.dustTiny, Materials.DarkAsh, 2))
.duration(1 * SECONDS)
.eut(TierEU.RECIPE_LV)
- .addTo(sImplosionRecipes);
+ .addTo(implosionRecipes);
GT_Values.RA.stdBuilder()
.itemInputs(GT_Utility.copyAmount(3, aStack), new ItemStack(Blocks.tnt, 8))
.itemOutputs(
@@ -361,7 +357,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
GT_OreDictUnificator.get(OrePrefixes.dustTiny, Materials.DarkAsh, 2))
.duration(1 * SECONDS)
.eut(TierEU.RECIPE_LV)
- .addTo(sImplosionRecipes);
+ .addTo(implosionRecipes);
GT_Values.RA.stdBuilder()
.itemInputs(
GT_Utility.copyAmount(3, aStack),
@@ -371,7 +367,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
GT_OreDictUnificator.get(OrePrefixes.dustTiny, Materials.DarkAsh, 2))
.duration(1 * SECONDS)
.eut(TierEU.RECIPE_LV)
- .addTo(sImplosionRecipes);
+ .addTo(implosionRecipes);
}
}
@@ -398,7 +394,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
.itemOutputs(GT_OreDictUnificator.get(OrePrefixes.gemFlawed, aMaterial, 1L))
.duration(30 * SECONDS)
.eut(30)
- .addTo(sLaserEngraverRecipes);
+ .addTo(laserEngraverRecipes);
}
}
@@ -409,8 +405,6 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
.itemInputs(GT_Utility.copyAmount(1, aStack))
.metadata(FUEL_VALUE, aMaterial.mFuelPower * 8)
.metadata(FUEL_TYPE, aMaterial.mFuelType)
- .duration(0)
- .eut(0)
.addTo(GT_RecipeConstants.Fuel);
}
@@ -435,7 +429,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
.itemOutputs(GT_OreDictUnificator.get(OrePrefixes.gemFlawless, aMaterial, 2L))
.duration(3 * SECONDS + 4 * TICKS)
.eut(16)
- .addTo(sHammerRecipes);
+ .addTo(hammerRecipes);
}
}
case gemFlawed -> {
@@ -445,8 +439,6 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
.itemInputs(GT_Utility.copyAmount(1, aStack))
.metadata(FUEL_VALUE, aMaterial.mFuelPower)
.metadata(FUEL_TYPE, aMaterial.mFuelType)
- .duration(0)
- .eut(0)
.addTo(GT_RecipeConstants.Fuel);
}
@@ -461,7 +453,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
GT_OreDictUnificator.get(OrePrefixes.dustSmall, aMaterial, 1L))
.duration(((int) Math.max(aMaterialMass, 1L)) * TICKS)
.eut(12)
- .addTo(sLatheRecipes);
+ .addTo(latheRecipes);
}
if (aMaterial.mUnificatable && (aMaterial.mMaterialInto == aMaterial)) {
@@ -475,7 +467,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
GT_OreDictUnificator.get(OrePrefixes.dustTiny, Materials.DarkAsh, 2))
.duration(1 * SECONDS)
.eut(TierEU.RECIPE_LV)
- .addTo(sImplosionRecipes);
+ .addTo(implosionRecipes);
GT_Values.RA.stdBuilder()
.itemInputs(
GT_Utility.copyAmount(3, aStack),
@@ -485,7 +477,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
GT_OreDictUnificator.get(OrePrefixes.dustTiny, Materials.DarkAsh, 2))
.duration(1 * SECONDS)
.eut(TierEU.RECIPE_LV)
- .addTo(sImplosionRecipes);
+ .addTo(implosionRecipes);
GT_Values.RA.stdBuilder()
.itemInputs(GT_Utility.copyAmount(3, aStack), new ItemStack(Blocks.tnt, 8))
.itemOutputs(
@@ -493,7 +485,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
GT_OreDictUnificator.get(OrePrefixes.dustTiny, Materials.DarkAsh, 2))
.duration(1 * SECONDS)
.eut(TierEU.RECIPE_LV)
- .addTo(sImplosionRecipes);
+ .addTo(implosionRecipes);
GT_Values.RA.stdBuilder()
.itemInputs(
GT_Utility.copyAmount(3, aStack),
@@ -503,7 +495,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
GT_OreDictUnificator.get(OrePrefixes.dustTiny, Materials.DarkAsh, 2))
.duration(1 * SECONDS)
.eut(TierEU.RECIPE_LV)
- .addTo(sImplosionRecipes);
+ .addTo(implosionRecipes);
}
}
@@ -527,7 +519,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
.itemOutputs(GT_OreDictUnificator.get(OrePrefixes.gemChipped, aMaterial, 2L))
.duration(3 * SECONDS + 4 * TICKS)
.eut(16)
- .addTo(sHammerRecipes);
+ .addTo(hammerRecipes);
for (ItemStack is : OreDictionary.getOres("craftingLens" + aMaterial.mColor.mName.replace(" ", ""))) { // Engraver
@@ -538,7 +530,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
.itemOutputs(GT_OreDictUnificator.get(OrePrefixes.gem, aMaterial, 1L))
.duration(30 * SECONDS)
.eut(TierEU.RECIPE_MV)
- .addTo(sLaserEngraverRecipes);
+ .addTo(laserEngraverRecipes);
}
}
@@ -550,8 +542,6 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
.itemInputs(GT_Utility.copyAmount(1, aStack))
.metadata(FUEL_VALUE, aMaterial.mFuelPower * 4)
.metadata(FUEL_TYPE, aMaterial.mFuelType)
- .duration(0)
- .eut(0)
.addTo(GT_RecipeConstants.Fuel);
}
@@ -568,7 +558,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
aPrefix.mMaterialAmount - OrePrefixes.stickLong.mMaterialAmount))
.duration(((int) Math.max(aMaterialMass * 5L, 1L)) * TICKS)
.eut(16)
- .addTo(sLatheRecipes);
+ .addTo(latheRecipes);
}
if (aMaterial.mUnificatable && (aMaterial.mMaterialInto == aMaterial)) {
@@ -582,7 +572,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
GT_OreDictUnificator.get(OrePrefixes.dustTiny, Materials.DarkAsh, 2))
.duration(1 * SECONDS)
.eut(TierEU.RECIPE_LV)
- .addTo(sImplosionRecipes);
+ .addTo(implosionRecipes);
GT_Values.RA.stdBuilder()
.itemInputs(
GT_Utility.copyAmount(3, aStack),
@@ -592,7 +582,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
GT_OreDictUnificator.get(OrePrefixes.dustTiny, Materials.DarkAsh, 2))
.duration(1 * SECONDS)
.eut(TierEU.RECIPE_LV)
- .addTo(sImplosionRecipes);
+ .addTo(implosionRecipes);
GT_Values.RA.stdBuilder()
.itemInputs(GT_Utility.copyAmount(3, aStack), new ItemStack(Blocks.tnt, 8))
.itemOutputs(
@@ -600,7 +590,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
GT_OreDictUnificator.get(OrePrefixes.dustTiny, Materials.DarkAsh, 2))
.duration(1 * SECONDS)
.eut(TierEU.RECIPE_LV)
- .addTo(sImplosionRecipes);
+ .addTo(implosionRecipes);
GT_Values.RA.stdBuilder()
.itemInputs(
GT_Utility.copyAmount(3, aStack),
@@ -610,7 +600,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
GT_OreDictUnificator.get(OrePrefixes.dustTiny, Materials.DarkAsh, 2))
.duration(1 * SECONDS)
.eut(TierEU.RECIPE_LV)
- .addTo(sImplosionRecipes);
+ .addTo(implosionRecipes);
}
}
@@ -634,7 +624,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
.itemOutputs(GT_OreDictUnificator.get(OrePrefixes.gem, aMaterial, 2L))
.duration(3 * SECONDS + 4 * TICKS)
.eut(16)
- .addTo(sHammerRecipes);
+ .addTo(hammerRecipes);
for (ItemStack is : OreDictionary.getOres("craftingLens" + aMaterial.mColor.mName.replace(" ", ""))) { // Engraver
@@ -644,7 +634,7 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra
.itemOutputs(GT_OreDictUnificator.get(OrePrefixes.gemExquisite, aMaterial, 1L))
.duration(2 * MINUTES)
.eut(2000)
- .addTo(sLaserEngraverRecipes);
+ .addTo(laserEngraverRecipes);
}
}
default -> {}