Skip to content

Commit

Permalink
Make GUI 6x3
Browse files Browse the repository at this point in the history
  • Loading branch information
JuiceyBeans committed Sep 29, 2024
1 parent f07da9a commit b6f96bc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ public List<ItemStack> getAdditionalDrops() {

@Override
public Widget createUIWidget() {
final var group = new WidgetGroup(0, 0, 176, 85);
final var group = new WidgetGroup(0, 0, 126, 65);
for (int slot = 0; slot < inventorysize; slot++) {
group.addWidget(new SlotWidget(inventory, slot, xoffset + (slot % 9) * 18, yoffset + (slot / 9) * 18));
group.addWidget(new SlotWidget(inventory, slot, xoffset + (slot % 6) * 18, yoffset + (slot / 6) * 18));
}

return group;
Expand Down

0 comments on commit b6f96bc

Please sign in to comment.