Interface PieceType

All Known Implementing Classes:
ArmorPieceType, ToolPieceType

@Internal public interface PieceType
Since:
2.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the naming suffix for this piece type.
    default String
     
  • Method Details

    • getNameSuffix

      String getNameSuffix()
      Gets the naming suffix for this piece type.

      The suffix is appended to a base name to create the full registry name for an item. It should typically start with an underscore ("_") to separate it from the base name, following Minecraft's naming conventions.

      Examples:

      • "_sword" for swords
      • "_helmet" for helmets
      • "_chestplate" for chestplates
      Returns:
      the naming suffix for this piece type, never null
    • registryName

      default String registryName(String setName)