Package org.bukkit.event.inventory
Class PrepareAnvilEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.inventory.InventoryEvent
org.bukkit.event.inventory.PrepareInventoryResultEvent
org.bukkit.event.inventory.PrepareAnvilEvent
Called when an item is put in a slot for repair by an anvil.
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerListGets the primary Inventory involved in this transactionMethods inherited from class org.bukkit.event.inventory.PrepareInventoryResultEvent
getResult, setResultMethods inherited from class org.bukkit.event.inventory.InventoryEvent
getView, getViewersMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
PrepareAnvilEvent
-
-
Method Details
-
getInventory
Description copied from class:InventoryEventGets the primary Inventory involved in this transaction- Overrides:
getInventoryin classInventoryEvent- Returns:
- The upper inventory.
-
getHandlers
- Overrides:
getHandlersin classPrepareInventoryResultEvent
-
getHandlerList
-