Interface StandardInventory
-
- All Known Subinterfaces:
PlayerInventory,UserInventory
public interface StandardInventoryRepresents the standard inventory the player has when playing the game.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description EquipmentInventoryarmor()Get the armor equipment inventoryEquipmentInventoryequipment()Gets the equipment inventory.default Hotbarhotbar()Gets the hotbar inventory.Slotoffhand()Gets the offhand inventory.PrimaryPlayerInventoryprimary()Gets the main inventory including the Hotbar.default GridInventorystorage()Gets the main inventory excluding the Hotbar.
-
-
-
Method Detail
-
primary
PrimaryPlayerInventory primary()
Gets the main inventory including the Hotbar.- Returns:
- The main inventory
-
hotbar
default Hotbar hotbar()
Gets the hotbar inventory.- Returns:
- The hotbar
-
storage
default GridInventory storage()
Gets the main inventory excluding the Hotbar.- Returns:
- The main inventory grid
-
armor
EquipmentInventory armor()
Get the armor equipment inventory- Returns:
- The armor inventory
-
offhand
Slot offhand()
Gets the offhand inventory.- Returns:
- The offhand slot
-
equipment
EquipmentInventory equipment()
Gets the equipment inventory.- Returns:
- The equipment inventory
-
-