From 024bd048e394b815a70966cade0c89703afda298 Mon Sep 17 00:00:00 2001 From: Swedz Date: Sun, 21 Sep 2025 01:18:49 -0400 Subject: [PATCH] Fix Forge Hammer output slot is misaligned --- .../blocks/forgehammer/ForgeHammerScreenHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/aztech/modern_industrialization/blocks/forgehammer/ForgeHammerScreenHandler.java b/src/main/java/aztech/modern_industrialization/blocks/forgehammer/ForgeHammerScreenHandler.java index 22d81a8e6..939ef57b1 100644 --- a/src/main/java/aztech/modern_industrialization/blocks/forgehammer/ForgeHammerScreenHandler.java +++ b/src/main/java/aztech/modern_industrialization/blocks/forgehammer/ForgeHammerScreenHandler.java @@ -108,7 +108,7 @@ public boolean mayPlace(ItemStack stack) { // Note: don't use new SimpleInventory(1), as ResultContainer always returns the full stack in removeItem ! // This ensures that the whole item is always removed from the slot, even if someone right-clicks the output slot. // (Instead of leaving half the result behind, which gets overridden by the next recipe). - this.output = new Slot(new ResultContainer(), 0, 143, 32) { + this.output = new Slot(new ResultContainer(), 0, 143, 33) { // The stack passed to `onTake` is not meaningful. // Hence, we need this crappy hack to track the real amount of removed items for stats. // Similar to the handling in `ResultSlot`.