Interface ViewerItems
- All Known Implementing Classes:
ConservingGestureEngine.ViewerCopy, PlayerViewerItems
@Internal
public interface ViewerItems
The viewer's side: cursor and the 36 storage slots of their inventory (Bukkit slot numbers 0..35: hotbar 0..8,
main 9..35); armour and off-hand are never part of it.
inventorySize() is 36 on Paper.
Implemented over a Player by the backend, in memory by tests.-
Method Details
-
cursor
org.bukkit.inventory.ItemStack cursor() -
cursor
void cursor(org.bukkit.inventory.ItemStack item) -
inventorySize
int inventorySize() -
slot
org.bukkit.inventory.ItemStack slot(int index) -
slot
void slot(int index, org.bukkit.inventory.ItemStack item)
-