Enum AttributeType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<AttributeType>, java.lang.constant.Constable

    public enum AttributeType
    extends java.lang.Enum<AttributeType>
    Attribute Types

    Used from 1.8.8 - 1.13

    • Enum Constant Detail

      • GENERIC_MAX_HEALTH

        public static final AttributeType GENERIC_MAX_HEALTH
      • MAX_HEALTH

        @Deprecated
        public static final AttributeType MAX_HEALTH
        Deprecated.
      • GENERIC_FOLLOW_RANGE

        public static final AttributeType GENERIC_FOLLOW_RANGE
      • FOLLOW_RANGE

        @Deprecated
        public static final AttributeType FOLLOW_RANGE
        Deprecated.
      • GENERIC_KNOCKBACK_RESISTANCE

        public static final AttributeType GENERIC_KNOCKBACK_RESISTANCE
      • KNOCKBACK_RESISTANCE

        @Deprecated
        public static final AttributeType KNOCKBACK_RESISTANCE
        Deprecated.
      • GENERIC_MOVEMENT_SPEED

        public static final AttributeType GENERIC_MOVEMENT_SPEED
      • MOVEMENT_SPEED

        @Deprecated
        public static final AttributeType MOVEMENT_SPEED
        Deprecated.
      • GENERIC_ATTACK_DAMAGE

        public static final AttributeType GENERIC_ATTACK_DAMAGE
      • ATTACK_DAMAGE

        @Deprecated
        public static final AttributeType ATTACK_DAMAGE
        Deprecated.
      • GENERIC_ARMOR_THOUGHNESS

        public static final AttributeType GENERIC_ARMOR_THOUGHNESS
      • ARMOR

        @Deprecated
        public static final AttributeType ARMOR
        Deprecated.
      • ARMOR_THOUGHNESS

        @Deprecated
        public static final AttributeType ARMOR_THOUGHNESS
        Deprecated.
      • GENERIC_ATTACK_SPEED

        public static final AttributeType GENERIC_ATTACK_SPEED
      • ATTACK_SPEED

        @Deprecated
        public static final AttributeType ATTACK_SPEED
        Deprecated.
      • LUCK

        @Deprecated
        public static final AttributeType LUCK
        Deprecated.
      • GENERIC_JUMP_STRENGTH

        public static final AttributeType GENERIC_JUMP_STRENGTH
      • JUMP_STRENGTH

        @Deprecated
        public static final AttributeType JUMP_STRENGTH
        Deprecated.
      • GENERIC_SPAWN_REINFORCEMENTS

        public static final AttributeType GENERIC_SPAWN_REINFORCEMENTS
      • SPAWN_REINFORCEMENTS

        @Deprecated
        public static final AttributeType SPAWN_REINFORCEMENTS
        Deprecated.
    • Method Detail

      • values

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

        public static AttributeType valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getByName

        public static AttributeType getByName​(java.lang.String name)
      • getName

        public java.lang.String getName()
        Returns:
        Get Attribute Name