From 639febc4728db010bf5bb1bf1fb409f0560a4c44 Mon Sep 17 00:00:00 2001 From: Mary Hopson Date: Wed, 25 Sep 2024 08:23:21 -0400 Subject: [PATCH 1/2] Use unificator --- .../java/gregtech/loaders/oreprocessing/ProcessingDust.java | 4 ++-- .../java/gregtech/loaders/oreprocessing/ProcessingGem.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/gregtech/loaders/oreprocessing/ProcessingDust.java b/src/main/java/gregtech/loaders/oreprocessing/ProcessingDust.java index c37d3c614dc..7805b83b675 100644 --- a/src/main/java/gregtech/loaders/oreprocessing/ProcessingDust.java +++ b/src/main/java/gregtech/loaders/oreprocessing/ProcessingDust.java @@ -113,7 +113,7 @@ public void registerOre(OrePrefixes aPrefix, Materials aMaterial, String aOreDic && GTOreDictUnificator.get(OrePrefixes.block, aMaterial, 1L) != null) { GTValues.RA.stdBuilder() - .itemInputs(GTUtility.copyAmount(9, aStack)) + .itemInputs(GTOreDictUnificator.get(OrePrefixes.dust, aMaterial, 9)) .itemOutputs(GTOreDictUnificator.get(OrePrefixes.block, aMaterial, 1L)) .duration(15 * SECONDS) .eut(2) @@ -138,7 +138,7 @@ public void registerOre(OrePrefixes aPrefix, Materials aMaterial, String aOreDic { if (GTOreDictUnificator.get(OrePrefixes.plate, aMaterial, 1L) != null) { GTValues.RA.stdBuilder() - .itemInputs(GTUtility.copyAmount(1, aStack)) + .itemInputs(GTOreDictUnificator.get(OrePrefixes.gem, aMaterial, 1)) .itemOutputs(GTOreDictUnificator.get(OrePrefixes.plate, aMaterial, 1L)) .duration(15 * SECONDS) .eut(2) diff --git a/src/main/java/gregtech/loaders/oreprocessing/ProcessingGem.java b/src/main/java/gregtech/loaders/oreprocessing/ProcessingGem.java index 2340da88c7d..e117d956bdd 100644 --- a/src/main/java/gregtech/loaders/oreprocessing/ProcessingGem.java +++ b/src/main/java/gregtech/loaders/oreprocessing/ProcessingGem.java @@ -66,7 +66,7 @@ public void registerOre(OrePrefixes aPrefix, Materials aMaterial, String aOreDic // need to avoid iridium exploit if (aMaterial != Materials.Iridium) { GTValues.RA.stdBuilder() - .itemInputs(GTUtility.copyAmount(9, aStack)) + .itemInputs(GTOreDictUnificator.get(OrePrefixes.gem, aMaterial, 9)) .itemOutputs(GTOreDictUnificator.get(OrePrefixes.block, aMaterial, 1L)) .duration(15 * SECONDS) .eut(2) From 6eef0a12332c22826aeca3c9c35cd2a21f0a35cb Mon Sep 17 00:00:00 2001 From: Mary Hopson Date: Wed, 25 Sep 2024 08:26:52 -0400 Subject: [PATCH 2/2] oops --- .../java/gregtech/loaders/oreprocessing/ProcessingDust.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/gregtech/loaders/oreprocessing/ProcessingDust.java b/src/main/java/gregtech/loaders/oreprocessing/ProcessingDust.java index 7805b83b675..0241b1593e9 100644 --- a/src/main/java/gregtech/loaders/oreprocessing/ProcessingDust.java +++ b/src/main/java/gregtech/loaders/oreprocessing/ProcessingDust.java @@ -138,7 +138,7 @@ public void registerOre(OrePrefixes aPrefix, Materials aMaterial, String aOreDic { if (GTOreDictUnificator.get(OrePrefixes.plate, aMaterial, 1L) != null) { GTValues.RA.stdBuilder() - .itemInputs(GTOreDictUnificator.get(OrePrefixes.gem, aMaterial, 1)) + .itemInputs(GTOreDictUnificator.get(OrePrefixes.dust, aMaterial, 1)) .itemOutputs(GTOreDictUnificator.get(OrePrefixes.plate, aMaterial, 1L)) .duration(15 * SECONDS) .eut(2)