Class PrepareInventoryResultEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.inventory.InventoryEvent
org.bukkit.event.inventory.PrepareInventoryResultEvent
- Direct Known Subclasses:
PrepareAnvilEvent, PrepareGrindstoneEvent, PrepareSmithingEvent
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerListGet result item, may be null.voidSet result item, may be null.Methods inherited from class InventoryEvent
getInventory, getView, getViewersMethods inherited from class Event
getEventName, isAsynchronous
-
Constructor Details
-
PrepareInventoryResultEvent
-
-
Method Details
-
getResult
-
setResult
Set result item, may be null.- Parameters:
result- result item
-
getHandlers
- Overrides:
getHandlersin classInventoryEvent
-
getHandlerList
-