Interface StandardInventory
-
- All Known Subinterfaces:
PlayerInventory
,UserInventory
public interface StandardInventory
Represents 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 EquipmentInventory
armor()
Get the armor equipment inventoryEquipmentInventory
equipment()
Gets the equipment inventory.default Hotbar
hotbar()
Gets the hotbar inventory.Slot
offhand()
Gets the offhand inventory.PrimaryPlayerInventory
primary()
Gets the main inventory including the Hotbar.default GridInventory
storage()
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
-
-