Module org.cloudburstmc.api
Class InventoryMoveItemEvent
java.lang.Object
org.cloudburstmc.api.event.Event
org.cloudburstmc.api.event.inventory.InventoryEvent
org.cloudburstmc.api.event.inventory.InventoryMoveItemEvent
- All Implemented Interfaces:
Cancellable
- Author:
- CreeperFace
Called when inventory transaction is not caused by a player
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.cloudburstmc.api.event.inventory.InventoryEvent
inventory -
Constructor Summary
ConstructorsConstructorDescriptionInventoryMoveItemEvent(Inventory from, Inventory targetInventory, InventoryHolder source, ItemStack item, InventoryMoveItemEvent.Action action) -
Method Summary
Methods inherited from class org.cloudburstmc.api.event.inventory.InventoryEvent
getInventory, getViewersMethods inherited from class org.cloudburstmc.api.event.Event
isCancelled, setCancelled, setCancelledMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cloudburstmc.api.event.Cancellable
isCancelled, setCancelled, setCancelled
-
Constructor Details
-
InventoryMoveItemEvent
public InventoryMoveItemEvent(Inventory from, Inventory targetInventory, InventoryHolder source, ItemStack item, InventoryMoveItemEvent.Action action)
-
-
Method Details
-
getTargetInventory
-
getSource
-
getItem
-
setItem
-
getAction
-