Interface RuestungMeta

All Superinterfaces:
BestaendigeDatenInhaber, Cloneable, GegenstandMeta, KonfigurationsSerialisierbar
All Known Subinterfaces:
FaerbbareRuestungMeta

public interface RuestungMeta extends GegenstandMeta
Represents armor that an wesen can equip.

Note: Armor trims are part of an experimental feature of Minecraft and hence subject to change.

  • Method Details

    • hasTrim

      boolean hasTrim()
      Check whether or not this item has an armor trim.
      Returns:
      true if has a trim, false otherwise
    • setTrim

      void setTrim(@Nullable ArmorTrim trim)
      Set the ArmorTrim.
      Parameters:
      trim - the trim to set, or null to remove it
    • getTrim

      @Nullable ArmorTrim getTrim()
      Get the ArmorTrim.
      Returns:
      the armor trim, or null if none
    • clone

      @NotNull RuestungMeta clone()
      Specified by:
      clone in interface GegenstandMeta