mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 04:17:44 +01:00
SPIGOT-6890: Add repair cost amount in AnvilInventory
By: Doc <nachito94@msn.com>
This commit is contained in:
parent
2ea9616224
commit
945ba17577
@ -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…
Reference in New Issue
Block a user