Interface AnvilInventory

    • Method Detail

      • getRenameText

        String getRenameText()
        Get the name to be applied to the repaired item. An empty string denotes the default item name.
        Returns:
        the rename text
      • getRepairCost

        int getRepairCost()
        Get the experience cost (in levels) to complete the current repair.
        Returns:
        the experience cost
      • setRepairCost

        void setRepairCost​(int levels)
        Set the experience cost (in levels) to complete the current repair.
        Parameters:
        levels - the experience cost