类 PlayerUIComponent
java.lang.Object
cn.nukkit.inventory.BaseInventory
cn.nukkit.inventory.PlayerUIComponent
- 所有已实现的接口:
Inventory
-
字段概要
从类继承的字段 cn.nukkit.inventory.BaseInventory
AIR_ITEM, holder, maxStackSize, name, slots, title, type, viewers
-
方法概要
修饰符和类型方法说明boolean
clear
(int index, boolean send) void
getItem
(int index) int
int
getSize()
getTitle()
getType()
void
void
void
onSlotChange
(int index, Item before, boolean send) boolean
void
sendContents
(Player... players) void
boolean
void
setMaxStackSize
(int size) 从类继承的方法 cn.nukkit.inventory.BaseInventory
addItem, addListener, all, canAddItem, clearAll, contains, decreaseCount, first, firstEmpty, getFreeSpace, getHolder, getName, isEmpty, isFull, remove, removeItem, removeListener, sendContents, sendContents, sendSlot, sendSlot, setContents, setSize
-
字段详细资料
-
CREATED_ITEM_OUTPUT_UI_SLOT
- 另请参阅:
-
playerUI
-
-
方法详细资料
-
getSize
public int getSize()- 指定者:
getSize
在接口中Inventory
- 覆盖:
getSize
在类中BaseInventory
-
getMaxStackSize
public int getMaxStackSize()- 指定者:
getMaxStackSize
在接口中Inventory
- 覆盖:
getMaxStackSize
在类中BaseInventory
-
setMaxStackSize
public void setMaxStackSize(int size) - 指定者:
setMaxStackSize
在接口中Inventory
- 覆盖:
setMaxStackSize
在类中BaseInventory
-
getTitle
- 指定者:
getTitle
在接口中Inventory
- 覆盖:
getTitle
在类中BaseInventory
-
getItem
- 指定者:
getItem
在接口中Inventory
- 覆盖:
getItem
在类中BaseInventory
-
setItem
- 指定者:
setItem
在接口中Inventory
- 覆盖:
setItem
在类中BaseInventory
-
clear
public boolean clear(int index, boolean send) - 指定者:
clear
在接口中Inventory
- 覆盖:
clear
在类中BaseInventory
-
getContents
- 指定者:
getContents
在接口中Inventory
- 覆盖:
getContents
在类中BaseInventory
-
sendContents
- 指定者:
sendContents
在接口中Inventory
- 覆盖:
sendContents
在类中BaseInventory
-
sendSlot
- 指定者:
sendSlot
在接口中Inventory
- 覆盖:
sendSlot
在类中BaseInventory
-
getViewers
- 指定者:
getViewers
在接口中Inventory
- 覆盖:
getViewers
在类中BaseInventory
-
getType
- 指定者:
getType
在接口中Inventory
- 覆盖:
getType
在类中BaseInventory
-
onOpen
- 指定者:
onOpen
在接口中Inventory
- 覆盖:
onOpen
在类中BaseInventory
-
open
- 指定者:
open
在接口中Inventory
- 覆盖:
open
在类中BaseInventory
-
close
- 指定者:
close
在接口中Inventory
- 覆盖:
close
在类中BaseInventory
-
onClose
- 指定者:
onClose
在接口中Inventory
- 覆盖:
onClose
在类中BaseInventory
-
onSlotChange
- 指定者:
onSlotChange
在接口中Inventory
- 覆盖:
onSlotChange
在类中BaseInventory
-