Shrink cobblestone generator container size to 9

This commit is contained in:
DBotThePony 2023-02-17 13:24:56 +07:00
parent 882d60ebc6
commit 49caf1c0b2
Signed by: DBot
GPG Key ID: DCC23B5715498507
2 changed files with 4 additions and 4 deletions

View File

@ -47,6 +47,6 @@ class CobblerBlockEntity(blockPos: BlockPos, blockState: BlockState)
}
companion object {
const val CONTAINER_SIZE = 16
const val CONTAINER_SIZE = 9
}
}

View File

@ -16,9 +16,9 @@ class CobblerScreen(menu: CobblerMenu, inventory: Inventory, title: Component) :
ProgressGaugePanel(this, frame, menu.progress, 30f, 42f)
for (row in 0 .. 3)
for (column in 0 .. 3)
SlotPanel(this, frame, menu.storageSlots[row * 4 + column], 80f + column * AbstractSlotPanel.SIZE, 17f + row * AbstractSlotPanel.SIZE)
for (row in 0 .. 2)
for (column in 0 .. 2)
SlotPanel(this, frame, menu.storageSlots[row * 3 + column], 80f + column * AbstractSlotPanel.SIZE, 26f + row * AbstractSlotPanel.SIZE)
makeDeviceControls(this, frame, redstone = menu.redstone)