initial large chests

This commit is contained in:
Sen 2025-07-14 17:57:06 +02:00
parent 2e43f24e23
commit 92b7214c69
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
8 changed files with 99 additions and 58 deletions

View file

@ -14,7 +14,8 @@ public class GuiChest extends GuiContainer {
this.block = block;
int i = 222;
int j = i - 108;
this.ySize = j + (chest.getSizeInventory() / 9) * 18;
this.xSize += (((ContainerChest)this.inventorySlots).getWidth() - 9) * 18;
this.ySize = j + ((ContainerChest)this.inventorySlots).getHeight() * 18;
}
public void addElements() {