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 Event
Event.Result -
Field Summary
Fields inherited from class InventoryEvent
transaction -
Constructor Summary
ConstructorsConstructorDescriptionPrepareGrindstoneEvent(@NotNull InventoryView inventory, @Nullable ItemStack result) -
Method Summary
Modifier and TypeMethodDescriptionGets the primary Inventory involved in this transactionMethods inherited from class PrepareResultEvent
getResult, setResultMethods inherited from class PrepareInventoryResultEvent
getHandlerList, getHandlersMethods inherited from class InventoryEvent
getView, getViewersMethods inherited from class Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
PrepareGrindstoneEvent
-
-
Method Details
-
getInventory
Description copied from class:InventoryEventGets the primary Inventory involved in this transaction- Overrides:
getInventoryin classPrepareGrindstoneEvent- Returns:
- The upper inventory.
-