From 7bd6bbc23384b8054ab992f2a919ee36c7e6e453 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Tue, 3 Dec 2024 21:32:27 +0100 Subject: [PATCH] fixed styling of the stack size modifier ui --- .../pipe/modules/stacksize/StackSizeModuleGui.java | 6 +++--- src/main/resources/assets/prettypipes/lang/en_us.json | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/de/ellpeck/prettypipes/pipe/modules/stacksize/StackSizeModuleGui.java b/src/main/java/de/ellpeck/prettypipes/pipe/modules/stacksize/StackSizeModuleGui.java index b90b77a..f1a44a6 100644 --- a/src/main/java/de/ellpeck/prettypipes/pipe/modules/stacksize/StackSizeModuleGui.java +++ b/src/main/java/de/ellpeck/prettypipes/pipe/modules/stacksize/StackSizeModuleGui.java @@ -23,7 +23,7 @@ public class StackSizeModuleGui extends AbstractPipeGui { PacketButton.sendAndExecute(this.menu.tile.getBlockPos(), ButtonResult.STACK_SIZE_MODULE_BUTTON, List.of()); b.setMessage(buttonText.get()); - }).bounds(this.leftPos + 7, this.topPos + 17 + 32 + 10 + 22, 120, 20).build()); + }).bounds(this.leftPos + 7, this.topPos + 20 + 32 + 10 + 22, 120, 20).build()); } @Override protected void renderLabels(GuiGraphics graphics, int mouseX, int mouseY) { super.renderLabels(graphics, mouseX, mouseY); - graphics.drawString(this.font, I18n.get("info." + PrettyPipes.ID + ".max_stack_size") + ":", 7, 17 + 32, 4210752, false); + graphics.drawString(this.font, I18n.get("info." + PrettyPipes.ID + ".max_stack_size") + ":", 8, 20 + 32, 4210752, false); } diff --git a/src/main/resources/assets/prettypipes/lang/en_us.json b/src/main/resources/assets/prettypipes/lang/en_us.json index 4b30b2a..894bfd8 100644 --- a/src/main/resources/assets/prettypipes/lang/en_us.json +++ b/src/main/resources/assets/prettypipes/lang/en_us.json @@ -78,9 +78,9 @@ "info.prettypipes.shift": "Hold Shift for info", "info.prettypipes.populate": "P", "info.prettypipes.populate.description": "Populate filter slots with items from adjacent inventories", - "info.prettypipes.max_stack_size": "Maximum item amount", - "info.prettypipes.limit_to_max_on": "Limit to one stack", - "info.prettypipes.limit_to_max_off": "Don't limit to one stack", + "info.prettypipes.max_stack_size": "Maximum Item Amount", + "info.prettypipes.limit_to_max_on": "Limit to One Stack", + "info.prettypipes.limit_to_max_off": "Don't Limit to One Stack", "info.prettypipes.request": "Request", "info.prettypipes.not_found": "%s not found", "info.prettypipes.hold_alt": "Hold Alt or Backspace to request anyway",