Package org.bukkit.event.inventory
Class PrepareInventoryResultEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.inventory.InventoryEvent
org.bukkit.event.inventory.PrepareInventoryResultEvent
- Direct Known Subclasses:
PrepareResultEvent
Deprecated.
Called when an item is put in a slot and the result is calculated.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Field Summary
Fields inherited from class org.bukkit.event.inventory.InventoryEvent
transaction
-
Constructor Summary
ConstructorDescriptionPrepareInventoryResultEvent
(@NotNull InventoryView inventory, @Nullable ItemStack result) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull HandlerList
Deprecated.Deprecated.Deprecated.Get result item, may be null.void
Deprecated.Set result item, may be null.Methods inherited from class org.bukkit.event.inventory.InventoryEvent
getInventory, getView, getViewers
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
Method Details
-
getResult
Deprecated.Get result item, may be null.- Returns:
- result item
-
setResult
Deprecated.Set result item, may be null.- Parameters:
result
- result item
-
getHandlers
Deprecated.- Overrides:
getHandlers
in classInventoryEvent
-
getHandlerList
Deprecated.
-
PrepareResultEvent