From 9ae36e785e756bb263453174715a1c7aff9bf1a3 Mon Sep 17 00:00:00 2001 From: Sampsa <69092953+S4mpsa@users.noreply.github.com> Date: Fri, 9 Aug 2024 13:42:41 +0300 Subject: Buff later naqfuels and misc changes (#2847) * Buff later naqfuels and misc changes * Buff Mk5 alternate recipe speed --- src/main/java/gregtech/common/gui/modularui/UIHelper.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/main/java/gregtech/common/gui/modularui') diff --git a/src/main/java/gregtech/common/gui/modularui/UIHelper.java b/src/main/java/gregtech/common/gui/modularui/UIHelper.java index 64d686d350..363ed7d995 100644 --- a/src/main/java/gregtech/common/gui/modularui/UIHelper.java +++ b/src/main/java/gregtech/common/gui/modularui/UIHelper.java @@ -121,10 +121,11 @@ public class UIHelper { */ public static List getFluidInputPositions(int fluidInputCount) { List results = new ArrayList<>(); - int x = 52; + int base = Math.max(70 - (fluidInputCount * 18), 16); + int x = 0; for (int i = 0; i < fluidInputCount; i++) { - results.add(new Pos2d(x, 62)); - x -= 18; + results.add(new Pos2d(base + x, 62)); + x += 18; } return results; } -- cgit