Package org.bukkit.event.inventory
Class PrepareGrindstoneEvent
Called when an item is put in a slot for repair or unenchanting in a grindstone.
-
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
ConstructorDescriptionPrepareGrindstoneEvent
(@NotNull InventoryView inventory, @Nullable ItemStack result) -
Method Summary
Modifier and TypeMethodDescriptionGets the primary Inventory involved in this transactionMethods inherited from class com.destroystokyo.paper.event.inventory.PrepareResultEvent
getResult, setResult
Methods inherited from class org.bukkit.event.inventory.PrepareInventoryResultEvent
getHandlerList, getHandlers
Methods inherited from class org.bukkit.event.inventory.InventoryEvent
getView, getViewers
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
PrepareGrindstoneEvent
-
-
Method Details
-
getInventory
Description copied from class:InventoryEvent
Gets the primary Inventory involved in this transaction- Overrides:
getInventory
in classPrepareGrindstoneEvent
- Returns:
- The upper inventory.
-