public interface Hotbar extends InventoryRow
Inventory.Builder| Modifier and Type | Method and Description |
|---|---|
int |
getSelectedSlotIndex()
Gets the index of the slot that is currently selected by the Humanoid.
|
void |
setSelectedSlotIndex(int index)
Sets the slot selected by the Humanoid.
|
getSlot, peek, peek, poll, poll, setgetSlot, peek, peek, poll, poll, setbuilder, canFit, capacity, clear, contains, contains, containsAny, containsInventory, first, getArchetype, getInventoryProperty, getInventoryProperty, getMaxStackSize, getPlugin, getProperties, getProperties, getProperty, getProperty, hasChildren, intersect, next, offer, parent, peek, peek, poll, poll, query, query, query, query, query, query, query, queryAny, root, set, setMaxStackSize, size, slots, totalItems, transform, unionforEach, iterator, spliteratorint getSelectedSlotIndex()
void setSelectedSlotIndex(int index)
index - The slot to hold as an integer from 0-8, inclusive