Uses of Interface
cn.nukkit.inventory.Inventory
Package
Description
与方块实体(例如TNT方块爆炸时的实体)相关的类
与物品栏相关的类.
-
Uses of Inventory in cn.nukkit
Modifier and TypeMethodDescriptionint
int
int
int
int
Player.getWindowId
(Inventory inventory) void
Player.removeWindow
(Inventory inventory) protected void
Player.removeWindow
(Inventory inventory, boolean isResponse) -
Uses of Inventory in cn.nukkit.blockentity
-
Uses of Inventory in cn.nukkit.entity.mob
-
Uses of Inventory in cn.nukkit.event.inventory
Modifier and TypeMethodDescriptionInventoryEvent.getInventory()
InventoryMoveItemEvent.getTargetInventory()
ModifierConstructorDescriptionInventoryClickEvent
(Player who, Inventory inventory, int slot, Item sourceItem, Item heldItem) InventoryCloseEvent
(Inventory inventory, Player who) InventoryEvent
(Inventory inventory) InventoryMoveItemEvent
(Inventory from, Inventory targetInventory, InventoryHolder source, Item item, InventoryMoveItemEvent.Action action) InventoryOpenEvent
(Inventory inventory, Player who) InventoryPickupArrowEvent
(Inventory inventory, EntityArrow arrow) InventoryPickupItemEvent
(Inventory inventory, EntityItem item) InventoryPickupTridentEvent
(Inventory inventory, EntityThrownTrident trident) -
Uses of Inventory in cn.nukkit.inventory
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeMethodDescriptionDoubleChestInventory.getInventory()
FakeBlockMenu.getInventory()
InventoryHolder.getInventory()
Modifier and TypeMethodDescriptionstatic int
ContainerInventory.calculateRedstone
(Inventory inv) void
InventoryListener.onInventoryChanged
(Inventory inventory, Item oldItem, int slot) void
-
Uses of Inventory in cn.nukkit.inventory.transaction
Modifier and TypeMethodDescriptionvoid
InventoryTransaction.addInventory
(Inventory inventory) This method should not be used by plugins, it's used to add tracked inventories for InventoryActions involving inventories. -
Uses of Inventory in cn.nukkit.inventory.transaction.action
Modifier and TypeMethodDescriptionSlotChangeAction.getInventory()
Returns the inventory involved in this action.ModifierConstructorDescriptionSlotChangeAction
(Inventory inventory, int inventorySlot, Item sourceItem, Item targetItem)