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 SummaryMethods inherited from interface org.spongepowered.api.event.CancellableisCancelled, setCancelled
- 
Method Details- 
inventoryInventory inventory()Gets theInventory.- Returns:
- The inventory
 
- 
itemNameString itemName()Returns the new item name.- Returns:
- The new item name
 
- 
leftItemStackSnapshot left()Returns the left input item.- Returns:
- The left input item
 
- 
rightItemStackSnapshot right()Returns the right input item.- Returns:
- The right input item
 
- 
resultTransaction<ItemStackSnapshot> result()Returns the transaction for the resulting item.- Returns:
- The transaction for the resulting item.
 
- 
costsTransaction<AnvilCost> costs()Returns the transaction for the repair costs.- Returns:
- The transaction for the repair costs.
 
 
-