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 Event
Event.Result -
Field Summary
Fields inherited from class InventoryEvent
transaction -
Constructor Summary
ConstructorsConstructorDescriptionPrepareInventoryResultEvent(@NotNull InventoryView inventory, @Nullable ItemStack result) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull HandlerListDeprecated.Deprecated.Deprecated.Get result item, may benull.voidDeprecated.Set result item, may benull.Methods inherited from class InventoryEvent
getInventory, getView, getViewersMethods inherited from class Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
PrepareInventoryResultEvent
-
-
Method Details
-
getResult
-
setResult
-
getHandlers
Deprecated.- Overrides:
getHandlersin classInventoryEvent
-
getHandlerList
Deprecated.
-
PrepareResultEvent