public interface UserInventory<T extends User> extends CarriedInventory<T>
User
.
It consists of a MainPlayerInventory
(containing the main GridInventory
and the Hotbar
) and an EquipmentInventory
Inventory.Builder
Modifier and Type | Method and Description |
---|---|
EquipmentInventory |
getEquipment()
Gets the equipment inventory.
|
default Hotbar |
getHotbar()
Gets the hotbar inventory.
|
MainPlayerInventory |
getMain()
Gets the main inventory including the Hotbar.
|
default GridInventory |
getMainGrid()
Gets the main inventory excluding the Hotbar.
|
Slot |
getOffhand()
Gets the offhand inventory.
|
getCarrier
builder, 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, union
forEach, iterator, spliterator
MainPlayerInventory getMain()
default Hotbar getHotbar()
default GridInventory getMainGrid()
EquipmentInventory getEquipment()
Slot getOffhand()