Skip to content

PLAYER_INVENTORY_GAP

const val PLAYER_INVENTORY_GAP: Int = 14

The gap between a container's own contents and the player inventory below them, in pixels - measured off the vanilla GUI textures, so a screen built out of these composables lines up with one drawn the old way.

Public because ContainerPanel is not the only thing that needs it: a layer that has claimed the player row (net.kernelpanicsoft.archie.gui.PlayerSlots) assembles this same layout by hand, and has nowhere else to read the spacing from.