Class Grid

java.lang.Object
com.ultikits.ultitools.ui.Grid
All Implemented Interfaces:
UiIntent<Ack>

public final class Grid extends Object implements UiIntent<Ack>
An item-centred screen addressed by slot: a snapshot of what each slot shows and what a click does. Each slot is empty, an icon (GridItem: shown, never takeable) or a binding to a SlotContainer index (bindings(); EDITABLE or VIEW). Never completes with a value; it ends with UiResult.Closed. Refresh by pushing a new snapshot through GridSession.update(Grid). Before opening from the player's own backpack, nonempty cursor or crafting inputs are returned by vanilla menu cleanup to the backpack (overflow drops at the player's feet), never carried into the grid. Empty backpacks and foreign containers do not receive an extra framework close.