From 285a75535d07f2037967b1208a5840fb81719514 Mon Sep 17 00:00:00 2001 From: GDCloud <93287602+GDCloudstrike@users.noreply.github.com> Date: Fri, 21 Apr 2023 19:09:47 +0200 Subject: Stellar catalyst + catalyst fixes + new materials class (#1893) * add catalyst * pu plasma recipe * increase plasma mixer input slots * noOptimize + mixer recipe + voltage fix * noOptimize + PLE recipe * TPM recipe * spotlessApply (#1894) Co-authored-by: GitHub GTNH Actions <> * add two more plasma recipes * replace neptunium & fermium plasma * spotless * fix stellar plasma amount * new materials class --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- src/main/java/gregtech/api/util/GT_Recipe.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/main/java/gregtech/api/util') diff --git a/src/main/java/gregtech/api/util/GT_Recipe.java b/src/main/java/gregtech/api/util/GT_Recipe.java index aa8956c504..5686657168 100644 --- a/src/main/java/gregtech/api/util/GT_Recipe.java +++ b/src/main/java/gregtech/api/util/GT_Recipe.java @@ -2068,11 +2068,11 @@ public class GT_Recipe implements Comparable { aShowVoltageAmperageInNEI, aNEIAllowed); useModularUI(true); - setUsualFluidInputCount(16); + setUsualFluidInputCount(20); setUsualFluidOutputCount(1); setProgressBarPos(86, 44); setLogoPos(87, 81); - setNEIBackgroundSize(172, 100); + setNEIBackgroundSize(172, 125); } @Override @@ -2082,7 +2082,7 @@ public class GT_Recipe implements Comparable { @Override public List getFluidInputPositions(int fluidInputCount) { - return UIHelper.getGridPositions(fluidInputCount, 6, 26, 4); + return UIHelper.getGridPositions(fluidInputCount, 6, 26, 4, 5); } @Override @@ -2096,7 +2096,9 @@ public class GT_Recipe implements Comparable { // the EU/t. drawNEIText( recipeInfo, - GT_Utility.trans("152", "Total: ") + formatNumbers(1000L * recipeInfo.recipe.mEUt) + " EU"); + GT_Utility.trans("152", "Total: ") + + formatNumbers(1000L * recipeInfo.recipe.mDuration / 100L * recipeInfo.recipe.mEUt) + + " EU"); // 1000 / (20 ticks * 5 seconds) = 10L/t. 10L/t * x EU/L = 10 * x EU/t. drawNEIText(recipeInfo, "Average: " + formatNumbers(10L * recipeInfo.recipe.mEUt) + " EU/t"); } -- cgit