public interface UpdateAnvilEvent extends TargetInventoryEvent, Cancellable
Modifier and Type | Method and Description |
---|---|
Transaction<AnvilCost> |
getCosts()
Returns the transaction for the repair costs.
|
String |
getItemName()
Returns the new item name.
|
ItemStackSnapshot |
getLeft()
Returns the left input item.
|
Transaction<ItemStackSnapshot> |
getResult()
Returns the transaction for the resulting item.
|
ItemStackSnapshot |
getRight()
Returns the right input item.
|
getTargetInventory
getCause, getContext, getSource
isCancelled, setCancelled
String getItemName()
ItemStackSnapshot getLeft()
ItemStackSnapshot getRight()
Transaction<ItemStackSnapshot> getResult()
Transaction<AnvilCost> getCosts()