Class AnvilInventory

All Implemented Interfaces:
InventoryClickHandler, Taggable, TagReadable, TagWritable, Viewable

public class AnvilInventory extends Inventory
  • Constructor Details

    • AnvilInventory

      public AnvilInventory(@NotNull @NotNull Component title)
    • AnvilInventory

      public AnvilInventory(@NotNull @NotNull String title)
  • Method Details

    • getRepairCost

      public short getRepairCost()
      Gets the anvil repair cost.
      Returns:
      the repair cost
    • setRepairCost

      public void setRepairCost(short cost)
      Sets the anvil repair cost.
      Parameters:
      cost - the new anvil repair cost