From f9f9d66f79ab041ae6c9446c03e811ff1c743628 Mon Sep 17 00:00:00 2001 From: chochem <40274384+chochem@users.noreply.github.com> Date: Mon, 24 Apr 2023 22:05:42 +0100 Subject: [PATCH] arc furnace fix (#1920) --- .../java/gregtech/api/util/GT_RecipeRegistrator.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/gregtech/api/util/GT_RecipeRegistrator.java b/src/main/java/gregtech/api/util/GT_RecipeRegistrator.java index 2a5a2515031..0b861eecb5f 100644 --- a/src/main/java/gregtech/api/util/GT_RecipeRegistrator.java +++ b/src/main/java/gregtech/api/util/GT_RecipeRegistrator.java @@ -310,10 +310,10 @@ public static void registerReverseArcSmelting(ItemStack aStack, ItemData aData) recipeBuilder.itemInputs(aStack) .itemOutputs(GT_OreDictUnificator.getIngotOrDust(aData.mMaterial)) - .fluidInputs(Materials.Oxygen.getGas(90)) + .fluidInputs(Materials.Oxygen.getGas((int) Math.max(16, tAmount / M))) .noFluidOutputs() - .duration(4 * SECONDS + 10 * TICKS) - .eut(Math.max(16, tAmount / M)); + .duration(((int) Math.max(16, tAmount / M)) * TICKS) + .eut(90); if (tHide) { recipeBuilder.hidden(); } @@ -332,10 +332,10 @@ public static void registerReverseArcSmelting(ItemStack aStack, ItemData aData) GT_OreDictUnificator.getIngotOrDust(aData.getByProduct(6)), GT_OreDictUnificator.getIngotOrDust(aData.getByProduct(7)), GT_OreDictUnificator.getIngotOrDust(aData.getByProduct(8))) - .fluidInputs(Materials.Oxygen.getGas(90)) + .fluidInputs(Materials.Oxygen.getGas((int) Math.max(16, tAmount / M))) .noFluidOutputs() - .duration(8 * SECONDS + 10 * TICKS) - .eut((int) Math.max(16, tAmount / M)); + .duration(((int) Math.max(16, tAmount / M)) * TICKS) + .eut(90); if (tHide) { recipeBuilder.hidden(); }