Enum Class Attachment

java.lang.Object
java.lang.Enum<Attachment>
lol.trq.helios.model.Attachment
All Implemented Interfaces:
Serializable, Comparable<Attachment>, Constable

public enum Attachment extends Enum<Attachment>
Points on the 1.8.9 player model that things attach to. Each anchor moves and turns with its model part. Offsets are in model pixels (1/16 of a model unit), with x toward the player's left, y down and z toward the back.
  • Enum Constant Details

    • BODY

      public static final Attachment BODY
      Top centre of the torso, at the neck; tilts forward with the body when sneaking.
    • BACK

      public static final Attachment BACK
      Top centre of the back, or of the chestplate when one is worn; tilts with the body.
  • Method Details

    • values

      public static Attachment[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Attachment valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null