diff --git a/src/main/java/techreborn/client/container/ContainerAesu.java b/src/main/java/techreborn/client/container/ContainerAesu.java index 17d5cf467..8b7823509 100644 --- a/src/main/java/techreborn/client/container/ContainerAesu.java +++ b/src/main/java/techreborn/client/container/ContainerAesu.java @@ -29,8 +29,8 @@ public class ContainerAesu extends TechRebornContainer { this.player = player; // input - this.addSlotToContainer(new Slot(tileaesu.inventory, 0, 128, 14)); - this.addSlotToContainer(new Slot(tileaesu.inventory, 1, 128, 50)); + this.addSlotToContainer(new Slot(tileaesu.inventory, 0, 116, 23)); + this.addSlotToContainer(new Slot(tileaesu.inventory, 1, 116, 59)); int i; @@ -39,14 +39,14 @@ public class ContainerAesu extends TechRebornContainer { for (int j = 0; j < 9; ++j) { this.addSlotToContainer(new Slot(player.inventory, j + i * 9 - + 9, 8 + j * 18, 84 + i * 18)); + + 9, 7 + j * 16, 84 + i * 18 + 30)); } } for (i = 0; i < 9; ++i) { - this.addSlotToContainer(new Slot(player.inventory, i, 8 + i * 18, - 142)); + this.addSlotToContainer(new Slot(player.inventory, i, 7 + i * 16, + 142 + 30)); } } diff --git a/src/main/java/techreborn/client/gui/GuiAesu.java b/src/main/java/techreborn/client/gui/GuiAesu.java index a3f67a21f..022e5251b 100644 --- a/src/main/java/techreborn/client/gui/GuiAesu.java +++ b/src/main/java/techreborn/client/gui/GuiAesu.java @@ -26,8 +26,8 @@ public class GuiAesu extends GuiContainer { TileAesu tileaesu) { super(new ContainerAesu(tileaesu, player)); - this.xSize = 176; - this.ySize = 167; + this.xSize = 156; + this.ySize = 200; aesu = tileaesu; this.containerAesu = (ContainerAesu) this.inventorySlots; } @@ -38,10 +38,10 @@ public class GuiAesu extends GuiContainer { this.buttonList.clear(); int k = (this.width - this.xSize) / 2; int l = (this.height - this.ySize) / 2; - this.buttonList.add(new GuiHiddenButton(0, k + 106, l + 4, 18, 18, "")); - this.buttonList.add(new GuiHiddenButton(1, k + 106, l + 4 + 18, 18, 18, "")); - this.buttonList.add(new GuiHiddenButton(2, k + 106, l + 4 + (18*2), 18, 18, "")); - this.buttonList.add(new GuiHiddenButton(3, k + 106, l + 4 + (18*3), 18, 18, "")); + this.buttonList.add(new GuiButton(0, k + 96, l + 8, 18, 20, "++")); + this.buttonList.add(new GuiButton(1, k + 96, l + 8 + 22, 18, 20, "+")); + this.buttonList.add(new GuiButton(2, k + 96, l + 8 + (22*2), 18, 20, "-")); + this.buttonList.add(new GuiButton(3, k + 96, l + 8 + (22*3), 18, 20, "--")); } @Override