Package cn.nukkit.inventory
Class PlayerCursorInventory
java.lang.Object
cn.nukkit.inventory.BaseInventory
cn.nukkit.inventory.PlayerUIComponent
cn.nukkit.inventory.PlayerCursorInventory
- All Implemented Interfaces:
Inventory
- Author:
- CreeperFace
-
Field Summary
Fields inherited from class cn.nukkit.inventory.PlayerUIComponent
CREATED_ITEM_OUTPUT_UI_SLOT
Fields inherited from class cn.nukkit.inventory.BaseInventory
AIR_ITEM, holder, maxStackSize, name, slots, title, type, viewers
-
Method Summary
Modifier and TypeMethodDescriptionThis override is here for documentation and code completion purposes only.getType()
void
sendContents
(Player... players) Methods inherited from class cn.nukkit.inventory.PlayerUIComponent
clear, close, getContents, getItem, getMaxStackSize, getSize, getTitle, getViewers, onClose, onOpen, onSlotChange, open, sendSlot, setItem, setMaxStackSize
Methods inherited from class cn.nukkit.inventory.BaseInventory
addItem, addListener, all, canAddItem, clearAll, contains, decreaseCount, first, firstEmpty, getFreeSpace, getName, isEmpty, isFull, remove, removeItem, removeListener, sendContents, sendContents, sendSlot, sendSlot, setContents, setSize
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cn.nukkit.inventory.Inventory
clear, first, setItem, setItemByPlayer
-
Method Details
-
getHolder
This override is here for documentation and code completion purposes only.- Specified by:
getHolder
in interfaceInventory
- Overrides:
getHolder
in classBaseInventory
- Returns:
- Player
-
getType
- Specified by:
getType
in interfaceInventory
- Overrides:
getType
in classPlayerUIComponent
-
sendContents
- Specified by:
sendContents
in interfaceInventory
- Overrides:
sendContents
in classPlayerUIComponent
-