public interface Hotbar extends InventoryRow
Modifier and Type | Method and Description |
---|---|
int |
getSelectedSlotIndex()
Gets the index of the slot that is currently selected by the Human.
|
void |
setSelectedSlotIndex(int index)
Sets the slot selected by the Human.
|
getSlot, peek, peek, poll, poll, set
getSlot, peek, peek, poll, poll, set
capacity, clear, contains, contains, first, getMaxStackSize, getProperties, getProperties, getProperty, getProperty, isEmpty, next, offer, parent, peek, peek, poll, poll, query, query, query, query, query, query, query, set, setMaxStackSize, size, slots, totalItems
forEach, iterator, spliterator
int getSelectedSlotIndex()
void setSelectedSlotIndex(int index)
index
- The slot to hold as an integer from 0-8, inclusive