mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-05 16:49:39 +00:00
SPIGOT-6890: Add repair cost amount in AnvilInventory
This commit is contained in:
parent
bc7bd36317
commit
af88996a3d
1 changed files with 14 additions and 0 deletions
|
@ -16,6 +16,20 @@ public interface AnvilInventory extends Inventory {
|
|||
@Nullable
|
||||
String getRenameText();
|
||||
|
||||
/**
|
||||
* Get the item cost (in amount) to complete the current repair.
|
||||
*
|
||||
* @return the amount
|
||||
*/
|
||||
int getRepairCostAmount();
|
||||
|
||||
/**
|
||||
* Set the item cost (in amount) to complete the current repair.
|
||||
*
|
||||
* @param amount the amount
|
||||
*/
|
||||
void setRepairCostAmount(int amount);
|
||||
|
||||
/**
|
||||
* Get the experience cost (in levels) to complete the current repair.
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue