Interface UpdateAnvilEvent
- All Superinterfaces:
Cancellable, Event
Fires whenever the left and right slots of an anvil are filled and a new result is computed.
-
Method Summary
Methods inherited from interface Cancellable
isCancelled, setCancelled
-
Method Details
-
inventory
-
itemName
-
left
-
right
-
result
Transaction<ItemStackSnapshot> result()Returns the transaction for the resulting item.- Returns:
- The transaction for the resulting item.
-
costs
Transaction<AnvilCost> costs()Returns the transaction for the repair costs.- Returns:
- The transaction for the repair costs.
-