-
-
Method Summary
Gets the (4x9) grid of the players main inventory.
Gets the hotbar of the player.
Gets the (3x9) grid of the players main inventory.
Methods inherited from interface org.spongepowered.api.item.inventory.Inventory
asViewable, canFit, capacity, children, clear, contains, contains, containsAny, containsChild, containsInventory, freeCapacity, get, get, hasChildren, intersect, offer, offer, parent, peek, peekAt, poll, poll, pollFrom, pollFrom, query, query, query, query, query, query, root, set, slot, slots, totalQuantity, union
Methods inherited from interface org.spongepowered.api.data.value.ValueContainer
getDouble, getInt, getKeys, getLong, getOrElse, getOrNull, getValue, getValues, require, requireValue, supports, supports
-
Method Details
-
hotbar
Gets the hotbar of the player.
- Returns:
- The hotbar of the player
-
storage
Gets the (3x9) grid of the players main inventory.
- Returns:
- The grid of the players main inventory
-
asGrid
Gets the (4x9) grid of the players main inventory.
- Returns:
- The grid of the players main inventory