Added support for anvil rework cost

This commit is contained in:
Auxilor
2020-11-01 12:23:14 +00:00
parent 75c0133c5d
commit 99e9cd9303
10 changed files with 201 additions and 7 deletions

View File

@@ -0,0 +1,12 @@
package com.willfp.ecoenchants.nms.API;
import org.bukkit.inventory.ItemStack;
/**
* NMS Interface for getting/setting anvil repair cost
*/
public interface RepairCostWrapper {
ItemStack setRepairCost(ItemStack itemStack, int cost);
int getRepairCost(ItemStack itemStack);
}