Package org.bukkit.event.inventory
Class PrepareAnvilEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.inventory.InventoryEvent
org.bukkit.event.inventory.PrepareInventoryResultEvent
com.destroystokyo.paper.event.inventory.PrepareResultEvent
org.bukkit.event.inventory.PrepareAnvilEvent
Called when an item is put in a slot for repair by an anvil.
- 
Nested Class SummaryNested classes/interfaces inherited from class org.bukkit.event.EventEvent.Result
- 
Field SummaryFields inherited from class org.bukkit.event.inventory.InventoryEventtransaction
- 
Constructor SummaryConstructorsConstructorDescriptionPrepareAnvilEvent(@NotNull InventoryView inventory, @Nullable ItemStack result) 
- 
Method SummaryModifier and TypeMethodDescriptionGets the primary Inventory involved in this transactionMethods inherited from class com.destroystokyo.paper.event.inventory.PrepareResultEventgetResult, setResultMethods inherited from class org.bukkit.event.inventory.PrepareInventoryResultEventgetHandlerList, getHandlersMethods inherited from class org.bukkit.event.inventory.InventoryEventgetView, getViewersMethods inherited from class org.bukkit.event.EventcallEvent, getEventName, isAsynchronous
- 
Constructor Details- 
PrepareAnvilEvent
 
- 
- 
Method Details- 
getInventoryDescription copied from class:InventoryEventGets the primary Inventory involved in this transaction- Overrides:
- getInventoryin class- InventoryEvent
- Returns:
- The upper inventory.
 
 
-