Interface SkinParts

All Known Subinterfaces:
SkinParts.Mutable

@NullMarked public interface SkinParts
Represents the different parts of a player's skin that can be toggled on or off.
Since:
1.15.2
  • Method Details

    • allParts

      @Contract(value="-> new", pure=true) static SkinParts.Mutable allParts()
      Creates a new instance of SkinParts with all parts enabled.
      Returns:
      a new SkinParts instance
      Since:
      1.21.10
    • hasCapeEnabled

      boolean hasCapeEnabled()
      Since:
      1.15.2
    • hasJacketEnabled

      boolean hasJacketEnabled()
      Since:
      1.15.2
    • hasLeftSleeveEnabled

      boolean hasLeftSleeveEnabled()
      Since:
      1.15.2
    • hasRightSleeveEnabled

      boolean hasRightSleeveEnabled()
      Since:
      1.15.2
    • hasLeftPantsEnabled

      boolean hasLeftPantsEnabled()
      Since:
      1.15.2
    • hasRightPantsEnabled

      boolean hasRightPantsEnabled()
      Since:
      1.15.2
    • hasHatsEnabled

      boolean hasHatsEnabled()
      Since:
      1.15.2
    • getRaw

      int getRaw()
      Since:
      1.15.2
    • mutableCopy

      SkinParts.Mutable mutableCopy()
      Since:
      1.21.10