aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/loaders/oreprocessing
diff options
context:
space:
mode:
authorboubou19 <miisterunknown@gmail.com>2023-04-21 20:29:38 +0200
committerGitHub <noreply@github.com>2023-04-21 20:29:38 +0200
commitde864236f83dc31c53ca77a6939357a0959bca75 (patch)
treeef739fd9426e7c2525b1560386faaa5bb893e30d /src/main/java/gregtech/loaders/oreprocessing
parent285a75535d07f2037967b1208a5840fb81719514 (diff)
downloadGT5-Unofficial-de864236f83dc31c53ca77a6939357a0959bca75.tar.gz
GT5-Unofficial-de864236f83dc31c53ca77a6939357a0959bca75.tar.bz2
GT5-Unofficial-de864236f83dc31c53ca77a6939357a0959bca75.zip
Recipes ra2 (#1872)
* Recipes RA2 fixes * Use \uXXXX for non-ASCII characters * Misc cleanup (#1888) * migrate away from addThermalCentrifugeRecipe * split recipes of GT_Block_Stones_Abstract * migrate away from addForgeHammerRecipe * migrate away from addChemicalBathRecipe * remove "DisableOldChemicalRecipes" and its usage, as it's disabled by default in NH and it increases recipe complexity for nothing * Remove underground biomes ore classes, as it's not present in NH * migrate away from addFluidCannerRecipe * migrate away from addFluidExtractionRecipe * migrate away from addChemicalRecipe * migrate away from addMultiblockChemicalRecipe * deprecate addChemicalRecipeForBasicMachineOnly * migrate away from addCentrifugeRecipe * spotlessApply * fixing wrong merge conflict solving * Add Tengam materials (#1891) * Add Tengam materials * Change new recipes to consume 15/16 Amp * Remove now redundant `break` statements * fix comb chances? * fix centrifuge code not working --------- Co-authored-by: glowredman <35727266+glowredman@users.noreply.github.com> Co-authored-by: Martin Robertz <dream-master@gmx.net>
Diffstat (limited to 'src/main/java/gregtech/loaders/oreprocessing')
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingArrows.java93
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingBlock.java27
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingCell.java98
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingCrafting.java863
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingCrop.java18
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingCrushedOre.java102
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingCrystallized.java18
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingDirty.java172
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingDust.java225
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingDye.java122
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingFoil.java28
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingFood.java141
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingGem.java575
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingIngot.java322
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingLens.java19
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingLog.java73
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingOre.java42
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingOrePoor.java19
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingPlate.java108
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingPure.java16
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingSand.java24
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingSaplings.java15
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingSlab.java19
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingStick.java33
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingStickLong.java19
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingToolHead.java19
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingToolOther.java17
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingTransforming.java232
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingWire.java398
29 files changed, 2294 insertions, 1563 deletions
diff --git a/src/main/java/gregtech/loaders/oreprocessing/ProcessingArrows.java b/src/main/java/gregtech/loaders/oreprocessing/ProcessingArrows.java
index 0e5a2ae241..44474c65da 100644
--- a/src/main/java/gregtech/loaders/oreprocessing/ProcessingArrows.java
+++ b/src/main/java/gregtech/loaders/oreprocessing/ProcessingArrows.java
@@ -1,5 +1,8 @@
package gregtech.loaders.oreprocessing;
+import static gregtech.api.util.GT_Recipe.GT_Recipe_Map.sChemicalBathRecipes;
+import static gregtech.api.util.GT_RecipeBuilder.SECONDS;
+
import net.minecraft.enchantment.Enchantment;
import net.minecraft.enchantment.EnchantmentHelper;
import net.minecraft.item.ItemStack;
@@ -26,15 +29,15 @@ public class ProcessingArrows implements gregtech.api.interfaces.IOreRecipeRegis
tOutput,
Enchantment.smite,
EnchantmentHelper.getEnchantmentLevel(Enchantment.smite.effectId, tOutput) + 3);
- GT_Values.RA.addChemicalBathRecipe(
- GT_Utility.copyAmount(1L, aStack),
- Materials.HolyWater.getFluid(25L),
- tOutput,
- null,
- null,
- null,
- 100,
- 2);
+
+ GT_Values.RA.stdBuilder()
+ .itemInputs(GT_Utility.copyAmount(1L, aStack))
+ .itemOutputs(tOutput)
+ .fluidInputs(Materials.HolyWater.getFluid(25L))
+ .noFluidOutputs()
+ .duration(5 * SECONDS)
+ .eut(2)
+ .addTo(sChemicalBathRecipes);
tOutput = GT_Utility.copyAmount(1L, aStack);
GT_Utility.updateItemStack(tOutput);
@@ -42,15 +45,15 @@ public class ProcessingArrows implements gregtech.api.interfaces.IOreRecipeRegis
tOutput,
Enchantment.fireAspect,
EnchantmentHelper.getEnchantmentLevel(Enchantment.fireAspect.effectId, tOutput) + 3);
- GT_Values.RA.addChemicalBathRecipe(
- GT_Utility.copyAmount(1L, aStack),
- Materials.FierySteel.getFluid(25L),
- tOutput,
- null,
- null,
- null,
- 100,
- 2);
+
+ GT_Values.RA.stdBuilder()
+ .itemInputs(GT_Utility.copyAmount(1L, aStack))
+ .itemOutputs(tOutput)
+ .fluidInputs(Materials.FierySteel.getFluid(25L))
+ .noFluidOutputs()
+ .duration(5 * SECONDS)
+ .eut(2)
+ .addTo(sChemicalBathRecipes);
tOutput = GT_Utility.copyAmount(1L, aStack);
GT_Utility.updateItemStack(tOutput);
@@ -58,15 +61,15 @@ public class ProcessingArrows implements gregtech.api.interfaces.IOreRecipeRegis
tOutput,
Enchantment.fireAspect,
EnchantmentHelper.getEnchantmentLevel(Enchantment.fireAspect.effectId, tOutput) + 1);
- GT_Values.RA.addChemicalBathRecipe(
- GT_Utility.copyAmount(1L, aStack),
- Materials.Blaze.getMolten(18L),
- tOutput,
- null,
- null,
- null,
- 100,
- 2);
+
+ GT_Values.RA.stdBuilder()
+ .itemInputs(GT_Utility.copyAmount(1L, aStack))
+ .itemOutputs(tOutput)
+ .fluidInputs(Materials.Blaze.getMolten(18L))
+ .noFluidOutputs()
+ .duration(5 * SECONDS)
+ .eut(2)
+ .addTo(sChemicalBathRecipes);
tOutput = GT_Utility.copyAmount(1L, aStack);
GT_Utility.updateItemStack(tOutput);
@@ -74,15 +77,15 @@ public class ProcessingArrows implements gregtech.api.interfaces.IOreRecipeRegis
tOutput,
Enchantment.knockback,
EnchantmentHelper.getEnchantmentLevel(Enchantment.knockback.effectId, tOutput) + 1);
- GT_Values.RA.addChemicalBathRecipe(
- GT_Utility.copyAmount(1L, aStack),
- Materials.Rubber.getMolten(18L),
- tOutput,
- null,
- null,
- null,
- 100,
- 2);
+
+ GT_Values.RA.stdBuilder()
+ .itemInputs(GT_Utility.copyAmount(1L, aStack))
+ .itemOutputs(tOutput)
+ .fluidInputs(Materials.Rubber.getMolten(18L))
+ .noFluidOutputs()
+ .duration(5 * SECONDS)
+ .eut(2)
+ .addTo(sChemicalBathRecipes);
tOutput = GT_Utility.copyAmount(1L, aStack);
GT_Utility.updateItemStack(tOutput);
@@ -91,15 +94,15 @@ public class ProcessingArrows implements gregtech.api.interfaces.IOreRecipeRegis
gregtech.api.enchants.Enchantment_EnderDamage.INSTANCE,
EnchantmentHelper
.getEnchantmentLevel(gregtech.api.enchants.Enchantment_EnderDamage.INSTANCE.effectId, tOutput) + 1);
- GT_Values.RA.addChemicalBathRecipe(
- GT_Utility.copyAmount(1L, aStack),
- Materials.Mercury.getFluid(25L),
- tOutput,
- null,
- null,
- null,
- 100,
- 2);
+
+ GT_Values.RA.stdBuilder()
+ .itemInputs(GT_Utility.copyAmount(1L, aStack))
+ .itemOutputs(tOutput)
+ .fluidInputs(Materials.Mercury.getFluid(25L))
+ .noFluidOutputs()
+ .duration(5 * SECONDS)
+ .eut(2)
+ .addTo(sChemicalBathRecipes);
if ((aMaterial.mUnificatable) && (aMaterial.mMaterialInto == aMaterial)
&& !aMaterial.contains(SubTag.NO_WORKING)) {
diff --git a/src/main/java/gregtech/loaders/oreprocessing/ProcessingBlock.java b/src/main/java/gregtech/loaders/oreprocessing/ProcessingBlock.java
index 5add59e42d..d385c9b0c2 100644
--- a/src/main/java/gregtech/loaders/oreprocessing/ProcessingBlock.java
+++ b/src/main/java/gregtech/loaders/oreprocessing/ProcessingBlock.java
@@ -1,5 +1,8 @@
package gregtech.loaders.oreprocessing;
+import static gregtech.api.util.GT_Recipe.GT_Recipe_Map.sCompressorRecipes;
+import static gregtech.api.util.GT_Recipe.GT_Recipe_Map.sHammerRecipes;
+import static gregtech.api.util.GT_RecipeBuilder.SECONDS;
import static gregtech.api.util.GT_Utility.calculateRecipeEU;
import net.minecraft.item.ItemStack;
@@ -79,7 +82,15 @@ public class ProcessingBlock implements gregtech.api.interfaces.IOreRecipeRegist
if (tStack1 != null) tStack1.stackSize = 9;
if (tStack2 != null) tStack2.stackSize = 9;
if (tStack3 != null) tStack3.stackSize = 9;
- GT_Values.RA.addForgeHammerRecipe(aStack, tStack2, 100, 24);
+
+ GT_Values.RA.stdBuilder()
+ .itemInputs(aStack)
+ .itemOutputs(tStack2)
+ .noFluidInputs()
+ .noFluidOutputs()
+ .duration(5 * SECONDS)
+ .eut(24)
+ .addTo(sHammerRecipes);
if (GregTech_API.sRecipeFile.get(
ConfigCategories.Recipes.storageblockdecrafting,
@@ -95,11 +106,15 @@ public class ProcessingBlock implements gregtech.api.interfaces.IOreRecipeRegist
}
if (!OrePrefixes.block.isIgnored(aMaterial)) {
- GT_ModHandler.addCompressionRecipe(
- GT_OreDictUnificator.get(OrePrefixes.ingot, aMaterial, 9L),
- GT_OreDictUnificator.get(OrePrefixes.block, aMaterial, 1L),
- 300,
- calculateRecipeEU(aMaterial, 2));
+ // 9 ingots -> 1 block
+ GT_Values.RA.stdBuilder()
+ .itemInputs(GT_OreDictUnificator.get(OrePrefixes.ingot, aMaterial, 9L))
+ .itemOutputs(GT_OreDictUnificator.get(OrePrefixes.block, aMaterial, 1L))
+ .noFluidInputs()
+ .noFluidOutputs()
+ .duration(15 * SECONDS)
+ .eut(calculateRecipeEU(aMaterial, 2))
+ .addTo(sCompressorRecipes);
}
switch (aMaterial.mName) {
diff --git a/src/main/java/gregtech/loaders/oreprocessing/ProcessingCell.java b/src/main/java/gregtech/loaders/oreprocessing/ProcessingCell.java
index 9d3475bcc8..536d610d61 100644
--- a/src/main/java/gregtech/loaders/oreprocessing/ProcessingCell.java
+++ b/src/main/java/gregtech/loaders/oreprocessing/ProcessingCell.java
@@ -1,5 +1,8 @@
package gregtech.loaders.oreprocessing;
+import static gregtech.api.util.GT_Recipe.GT_Recipe_Map.sCentrifugeRecipes;
+import static gregtech.api.util.GT_Recipe.GT_Recipe_Map.sElectrolyzerRecipes;
+
import java.util.ArrayList;
import net.minecraft.item.ItemStack;
@@ -94,48 +97,71 @@ public class ProcessingCell implements IOreRecipeRegistrator {
tItemAmount = GT_Utility.ceilDiv(tItemAmount * tDensityMultiplier, aMaterial.getDensity());
if (tList.size() > 0) {
if ((aMaterial.mExtraData & 0x1) != 0) {
- if (GT_Utility.getFluidForFilledItem(aStack, true) == null) {
- // dust stuffed cell e.g. Phosphate, Phosphorous Pentoxide
- GT_Values.RA.addElectrolyzerRecipe(
- GT_Utility.copyAmount(tItemAmount, aStack),
- tCapsuleCount <= 0L ? 0 : (int) tCapsuleCount,
- tList.get(0),
- tList.size() >= 2 ? tList.get(1) : null,
- tList.size() >= 3 ? tList.get(2) : null,
- tList.size() >= 4 ? tList.get(3) : null,
- tList.size() >= 5 ? tList.get(4) : null,
- tCapsuleCount >= 0L ? tList.size() >= 6 ? tList.get(5) : null
- : ItemList.Cell_Empty.get(-tCapsuleCount),
- (int) Math.max(1L, Math.abs(aMaterial.getProtons() * 2L * tItemAmount)),
- Math.min(4, tList.size()) * 30);
- } else {
- long tCellBalance = tCapsuleCount + tItemAmount - 1;
- GT_Values.RA.addElectrolyzerRecipe(
- aStack,
- tCellBalance <= 0L ? 0 : (int) tCellBalance,
+ // Electrolyzer recipe
+ {
+ if (GT_Utility.getFluidForFilledItem(aStack, true) == null) {
+ int capsuleCount = tCapsuleCount <= 0L ? 0 : (int) tCapsuleCount;
+ ItemStack cells = capsuleCount <= 0 ? null
+ : ItemList.Cell_Empty.get(capsuleCount);
+ // dust stuffed cell e.g. Phosphate, Phosphorous Pentoxide
+ GT_Values.RA.stdBuilder()
+ .itemInputs(GT_Utility.copyAmount(tItemAmount, aStack), cells)
+ .itemOutputs(
+ tList.get(0),
+ tList.size() >= 2 ? tList.get(1) : null,
+ tList.size() >= 3 ? tList.get(2) : null,
+ tList.size() >= 4 ? tList.get(3) : null,
+ tList.size() >= 5 ? tList.get(4) : null,
+ tCapsuleCount >= 0L ? tList.size() >= 6 ? tList.get(5) : null
+ : ItemList.Cell_Empty.get(-tCapsuleCount))
+ .noFluidInputs()
+ .noFluidOutputs()
+ .duration(Math.max(1L, Math.abs(aMaterial.getProtons() * 2L * tItemAmount)))
+ .eut(Math.min(4, tList.size()) * 30)
+ .addTo(sElectrolyzerRecipes);
+ } else {
+ long tCellBalance = tCapsuleCount + tItemAmount - 1;
+ int capsuleCount = tCellBalance <= 0L ? 0 : (int) tCellBalance;
+ ItemStack cells = capsuleCount <= 0 ? null
+ : ItemList.Cell_Empty.get(capsuleCount);
+
+ GT_Values.RA.stdBuilder()
+ .itemInputs(aStack, cells)
+ .itemOutputs(
+ tList.get(0),
+ tList.size() >= 2 ? tList.get(1) : null,
+ tList.size() >= 3 ? tList.get(2) : null,
+ tList.size() >= 4 ? tList.get(3) : null,
+ tList.size() >= 5 ? tList.get(4) : null,
+ tCapsuleCount >= 0L ? tList.size() >= 6 ? tList.get(5) : null
+ : tCellBalance < 0 ? ItemList.Cell_Empty.get(-tCellBalance) : null)
+ .noFluidInputs()
+ .noFluidOutputs()
+ .duration(Math.max(1L, Math.abs(aMaterial.getProtons() * 8L * tItemAmount)))
+ .eut(Math.min(4, tList.size()) * 30)
+ .addTo(sElectrolyzerRecipes);
+ }
+ }
+ }
+ if ((aMaterial.mExtraData & 0x2) != 0) {
+ ItemStack emptyCells = tCapsuleCount > 0 ? ItemList.Cell_Empty.get(tCapsuleCount)
+ : null;
+
+ GT_Values.RA.stdBuilder()
+ .itemInputs(GT_Utility.copyAmount(tItemAmount, aStack), emptyCells)
+ .itemOutputs(
tList.get(0),
tList.size() >= 2 ? tList.get(1) : null,
tList.size() >= 3 ? tList.get(2) : null,
tList.size() >= 4 ? tList.get(3) : null,
tList.size() >= 5 ? tList.get(4) : null,
tCapsuleCount >= 0L ? tList.size() >= 6 ? tList.get(5) : null
- : tCellBalance < 0 ? ItemList.Cell_Empty.get(-tCellBalance) : null,
- (int) Math.max(1L, Math.abs(aMaterial.getProtons() * 8L * tItemAmount)),
- Math.min(4, tList.size()) * 30);
- }
- }
- if ((aMaterial.mExtraData & 0x2) != 0) {
- GT_Values.RA.addCentrifugeRecipe(
- GT_Utility.copyAmount(tItemAmount, aStack),
- tCapsuleCount <= 0L ? 0 : (int) tCapsuleCount,
- tList.get(0),
- tList.size() >= 2 ? tList.get(1) : null,
- tList.size() >= 3 ? tList.get(2) : null,
- tList.size() >= 4 ? tList.get(3) : null,
- tList.size() >= 5 ? tList.get(4) : null,
- tCapsuleCount >= 0L ? tList.size() >= 6 ? tList.get(5) : null
- : ItemList.Cell_Empty.get(-tCapsuleCount),
- (int) Math.max(1L, Math.abs(aMaterial.getMass() * 2L * tItemAmount)));
+ : ItemList.Cell_Empty.get(-tCapsuleCount))
+ .noFluidInputs()
+ .noFluidOutputs()
+ .duration(Math.max(1L, Math.abs(aMaterial.getMass() * 2L * tItemAmount)))
+ .eut(5)
+ .addTo(sCentrifugeRecipes);
}
}
}
diff --git a/src/main/java/gregtech/loaders/oreprocessing/ProcessingCrafting.java b/src/main/java/gregtech/loaders/oreprocessing/ProcessingCrafting.java
index 97ee4e898f..7fb13aa6a3 100644
--- a/src/main/java/gregtech/loaders/oreprocessing/ProcessingCrafting.java
+++ b/src/main/java/gregtech/loaders/oreprocessing/ProcessingCrafting.java
@@ -3,6 +3,10 @@ package gregtech.loaders.oreprocessing;
import static gregtech.api.enums.Mods.AppliedEnergistics2;
import static gregtech.api.enums.Mods.BuildCraftSilicon;
import static gregtech.api.enums.Mods.NewHorizonsCoreMod;
+import static gregtech.api.util.GT_Recipe.GT_Recipe_Map.sLaserEngraverRecipes;
+import static gregtech.api.util.GT_RecipeBuilder.MINUTES;
+import static gregtech.api.util.GT_RecipeBuilder.SECONDS;
+import static gregtech.api.util.GT_RecipeBuilder.TICKS;
import net.minecraft.init.Blocks;
import net.minecraft.item.ItemStack;
@@ -11,6 +15,7 @@ import gregtech.api.enums.GT_Values;
import gregtech.api.enums.ItemList;
import gregtech.api.enums.Materials;
import gregtech.api.enums.OrePrefixes;
+import gregtech.api.enums.TierEU;
import gregtech.api.util.GT_ModHandler;
import gregtech.api.util.GT_OreDictUnificator;
import gregtech.api.util.GT_Utility;
@@ -30,363 +35,533 @@ public class ProcessingCrafting implements gregtech.api.interfaces.IOreRecipeReg
GT_Utility.copyAmount(1L, aStack),
Materials.Concrete.getMolten(144L),
new ItemStack(net.minecraft.init.Items.comparator, 1, 0),
- 80,
- 20);
- case "craftingWireCopper", "craftingWireTin" -> GT_Values.RA.addAssemblerRecipe(
- ItemList.Circuit_Basic.get(1L),
- GT_Utility.copyAmount(1L, aStack),
- GT_ModHandler.getIC2Item("frequencyTransmitter", 1L),
- 80,
- 20);
- case "craftingLensBlue" -> {
- GT_Values.RA.addLaserEngraverRecipe(
- GT_OreDictUnificator.get(OrePrefixes.block, Materials.Iron, 1L),
- GT_Utility.copyAmount(0L, aStack),
- GT_ModHandler.getModItem(AppliedEnergistics2.ID, "item.ItemMultiMaterial", 1L, 13),
- 2000,
- 1920);
- GT_Values.RA.addLaserEngraverRecipe(
- GT_OreDictUnificator.get(OrePrefixes.block, Materials.WroughtIron, 1L),
- GT_Utility.copyAmount(0L, aStack),
- GT_ModHandler.getModItem(AppliedEnergistics2.ID, "item.ItemMultiMaterial", 1L, 13),
- 2000,
- 1920);
- GT_Values.RA.addLaserEngraverRecipe(
- ItemList.IC2_LapotronCrystal.getWildcard(1L),
- GT_Utility.copyAmount(0L, aStack),
- ItemList.Circuit_Parts_Crystal_Chip_Master.get(3L),
- 900,
- 480,
- true);
- GT_Values.RA.addLaserEngraverRecipe(
- ItemList.Circuit_Chip_CrystalCPU.get(1L),
- GT_Utility.copyAmount(0L, aStack),
- ItemList.Circuit_Chip_CrystalSoC.get(1),
- 600,
- 40000,
- true);
- GT_Values.RA.addLaserEngraverRecipe(
- ItemList.Circuit_Silicon_Wafer2.get(1),
- GT_Utility.copyAmount(0L, aStack),
- ItemList.Circuit_Wafer_PIC.get(1),
- 1200,
- 480,
- true);
- GT_Values.RA.addLaserEngraverRecipe(
- ItemList.Circuit_Silicon_Wafer3.get(1),
- GT_Utility.copyAmount(0L, aStack),
- ItemList.Circuit_Wafer_PIC.get(4),
+ 800,
+ 1);
+ case "craftingWireCopper", "craftingWireTin" -> {
+ GT_Values.RA.addAssemblerRecipe(
+ ItemList.Circuit_Basic.get(1L),
+ GT_Utility.copyAmount(1L, aStack),
+ GT_ModHandler.getIC2Item("frequencyTransmitter", 1L),
800,
- 1920,
- true);
- GT_Values.RA.addLaserEngraverRecipe(
- ItemList.Circuit_Silicon_Wafer5.get(1),
- GT_Utility.copyAmount(0L, aStack),
- ItemList.Circuit_Wafer_QPIC.get(1),
- 2400,
- 500000,
- true);
+ 1);
+ }
+ case "craftingLensBlue" -> {
+
+ GT_Values.RA.stdBuilder()
+ .itemInputs(
+ GT_OreDictUnificator.get(OrePrefixes.block, Materials.Iron, 1L),
+ GT_Utility.copyAmount(0L, aStack))
+ .itemOutputs(GT_ModHandler.getModItem(AppliedEnergistics2.ID, "item.ItemMultiMaterial", 1L, 13))
+ .noFluidInputs()
+ .noFluidOutputs()
+ .duration(1 * MINUTES + 40 * SECONDS)
+ .eut(TierEU.RECIPE_EV)
+ .addTo(sLaserEngraverRecipes);
+
+ GT_Values.RA.stdBuilder()
+ .itemInputs(
+ GT_OreDictUnificator.get(OrePrefixes.block, Materials.WroughtIron, 1L),
+ GT_Utility.copyAmount(0L, aStack))
+ .itemOutputs(GT_ModHandler.getModItem(AppliedEnergistics2.ID, "item.ItemMultiMaterial", 1L, 13))
+ .noFluidInputs()
+ .noFluidOutputs()
+ .duration(1 * MINUTES + 40 * SECONDS)
+ .eut(TierEU.RECIPE_EV)
+ .addTo(sLaserEngraverRecipes);
+
+ GT_Values.RA.stdBuilder()
+ .itemInputs(ItemList.IC2_LapotronCrystal.getWildcard(1L), GT_Utility.copyAmount(0L, aStack))
+ .itemOutputs(ItemList.Circuit_Parts_Crystal_Chip_Master.get(3L))
+ .noFluidInputs()
+ .noFluidOutputs()
+ .requiresCleanRoom()
+ .duration(45 * SECONDS)
+ .eut(TierEU.RECIPE_HV)
+ .addTo(sLaserEngraverRecipes);
+
+ GT_Values.RA.stdBuilder()
+ .itemInputs(ItemList.Circuit_Chip_CrystalCPU.get(1L), GT_Utility.copyAmount(0L, aStack))
+ .itemOutputs(ItemList.Circuit_Chip_CrystalSoC.get(1))
+ .noFluidInputs()
+ .noFluidOutputs()
+ .requiresCleanRoom()
+ .duration(30 * SECONDS)
+ .eut(40000)
+ .addTo(sLaserEngraverRecipes);
+
+ GT_Values.RA.stdBuilder()
+ .itemInputs(ItemList.Circuit_Silicon_Wafer2.get(1), GT_Utility.copyAmount(0L, aStack))
+ .itemOutputs(ItemList.Circuit_Wafer_PIC.get(1))
+ .noFluidInputs()
+ .noFluidOutputs()
+ .requiresCleanRoom()
+ .duration(60 * SECONDS)
+ .eut(TierEU.RECIPE_HV)
+ .addTo(sLaserEngraverRecipes);
+
+ GT_Values.RA.stdBuilder()
+ .itemInputs(ItemList.Circuit_Silicon_Wafer3.get(1), GT_Utility.copyAmount(0L, aStack))
+ .itemOutputs(ItemList.Circuit_Wafer_PIC.get(4))
+ .noFluidInputs()
+ .noFluidOutputs()
+ .requiresCleanRoom()
+ .duration(40 * SECONDS)
+ .eut(TierEU.RECIPE_EV)
+ .addTo(sLaserEngraverRecipes);
+
+ GT_Values.RA.stdBuilder()
+ .itemInputs(ItemList.Circuit_Silicon_Wafer5.get(1), GT_Utility.copyAmount(0L, aStack))
+ .itemOutputs(ItemList.Circuit_Wafer_QPIC.get(1))
+ .noFluidInputs()
+ .noFluidOutputs()
+ .requiresCleanRoom()
+ .duration(2 * MINUTES)
+ .eut(TierEU.RECIPE_UV)
+ .addTo(sLaserEngraverRecipes);
+
}
case "craftingLensYellow" -> {
- GT_Values.RA.addLaserEngraverRecipe(
- GT_OreDictUnificator.get(OrePrefixes.block, Materials.Iron, 1L),
- GT_Utility.copyAmount(0L, aStack),
- GT_ModHandler.getModItem(AppliedEnergistics2.ID, "item.ItemMultiMaterial", 1L, 14),
- 2000,
- 1920);
- GT_Values.RA.addLaserEngraverRecipe(
- GT_OreDictUnificator.get(OrePrefixes.block, Materials.WroughtIron, 1L),
- GT_Utility.copyAmount(0L, aStack),
- GT_ModHandler.getModItem(AppliedEnergistics2.ID, "item.ItemMultiMaterial", 1L, 14),
- 2000,
- 1920);
- GT_Values.RA.addLaserEngraverRecipe(
- ItemList.Circuit_Silicon_Wafer.get(1),
- GT_Utility.copyAmount(0L, aStack),
- ItemList.Circuit_Wafer_LPIC.get(1),
- 800,
- 120,
- false);
- GT_Values.RA.addLaserEngraverRecipe(
- ItemList.Circuit_Silicon_Wafer2.get(1),
- GT_Utility.copyAmount(0L, aStack),
- ItemList.Circuit_Wafer_LPIC.get(4),
- 600,
- 480,
- true);
- GT_Values.RA.addLaserEngraverRecipe(
- ItemList.Circuit_Silicon_Wafer3.get(1),
- GT_Utility.copyAmount(0L, aStack),
- ItemList.Circuit_Wafer_SoC.get(1),
- 900,
- 1920,
- true);
- GT_Values.RA.addLaserEngraverRecipe(
- ItemList.Circuit_Silicon_Wafer4.get(1),
- GT_Utility.copyAmount(0L, aStack),
- ItemList.Circuit_Wafer_SoC.get(4),
- 600,
- 7680,
- true);
- GT_Values.RA.addLaserEngraverRecipe(
- ItemList.Circuit_Silicon_Wafer5.get(1),
- GT_Utility.copyAmount(0L, aStack),
- ItemList.Circuit_Wafer_SoC.get(8),
- 300,
- 30720,
- true);
+
+ GT_Values.RA.stdBuilder()
+ .itemInputs(
+ GT_OreDictUnificator.get(OrePrefixes.block, Materials.Iron, 1L),
+ GT_Utility.copyAmount(0L, aStack))
+ .itemOutputs(GT_ModHandler.getModItem(AppliedEnergistics2.ID, "item.ItemMultiMaterial", 1L, 14))
+ .noFluidInputs()
+ .noFluidOutputs()
+ .duration(1 * MINUTES + 40 * SECONDS)
+ .eut(TierEU.RECIPE_EV)
+ .addTo(sLaserEngraverRecipes);
+
+ GT_Values.RA.stdBuilder()
+ .itemInputs(
+ GT_OreDictUnificator.get(OrePrefixes.block, Materials.WroughtIron, 1L),
+ GT_Utility.copyAmount(0L, aStack))
+ .itemOutputs(GT_ModHandler.getModItem(AppliedEnergistics2.ID, "item.ItemMultiMaterial", 1L, 14))
+ .noFluidInputs()
+ .noFluidOutputs()
+ .duration(1 * MINUTES + 40 * SECONDS)
+ .eut(TierEU.RECIPE_EV)
+ .addTo(sLaserEngraverRecipes);
+
+ GT_Values.RA.stdBuilder()
+ .itemInputs(ItemList.Circuit_Silicon_Wafer.get(1), GT_Utility.copyAmount(0L, aStack))
+ .itemOutputs(ItemList.Circuit_Wafer_LPIC.get(1))
+ .noFluidInputs()