Package cn.nukkit.event.inventory
Class InventoryMoveItemEvent
java.lang.Object
cn.nukkit.event.Event
cn.nukkit.event.inventory.InventoryEvent
cn.nukkit.event.inventory.InventoryMoveItemEvent
- All Implemented Interfaces:
Cancellable
- Author:
- CreeperFace
Called when inventory transaction is not caused by a player
-
Nested Class Summary
-
Field Summary
Fields inherited from class cn.nukkit.event.inventory.InventoryEvent
inventory
-
Constructor Summary
ConstructorDescriptionInventoryMoveItemEvent
(Inventory from, Inventory targetInventory, InventoryHolder source, Item item, InventoryMoveItemEvent.Action action) -
Method Summary
Methods inherited from class cn.nukkit.event.inventory.InventoryEvent
getInventory, getViewers
Methods inherited from class cn.nukkit.event.Event
getEventName, isCancelled, setCancelled, setCancelled
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cn.nukkit.event.Cancellable
isCancelled, setCancelled, setCancelled
-
Constructor Details
-
InventoryMoveItemEvent
public InventoryMoveItemEvent(Inventory from, Inventory targetInventory, InventoryHolder source, Item item, InventoryMoveItemEvent.Action action)
-
-
Method Details
-
getHandlers
-
getTargetInventory
-
getSource
-
getItem
-
setItem
-
getAction
-