public interface UserInventory<T extends User> extends CarriedInventory<T>
User.
It consists of a MainPlayerInventory (containing the main GridInventory
and the Hotbar) and an EquipmentInventoryInventory.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.
|
getCarrierbuilder, 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, spliteratorMainPlayerInventory getMain()
default Hotbar getHotbar()
default GridInventory getMainGrid()
EquipmentInventory getEquipment()
Slot getOffhand()