diff --git a/paper-api/src/main/java/org/bukkit/inventory/AnvilInventory.java b/paper-api/src/main/java/org/bukkit/inventory/AnvilInventory.java index 4af562426a..52519cd877 100644 --- a/paper-api/src/main/java/org/bukkit/inventory/AnvilInventory.java +++ b/paper-api/src/main/java/org/bukkit/inventory/AnvilInventory.java @@ -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. *