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:
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 org.bukkit.event.Event
Event.Result
-
Field Summary
Fields inherited from class org.bukkit.event.inventory.InventoryEvent
transaction
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerList
Get result item, may be null.void
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
getEventName, isAsynchronous
-
Constructor Details
-
PrepareInventoryResultEvent
-
-
Method Details
-
getResult
Get result item, may be null.- Returns:
- result item
-
setResult
Set result item, may be null.- Parameters:
result
- result item
-
getHandlers
- Overrides:
getHandlers
in classInventoryEvent
-
getHandlerList
-