Enum Class Attributes

java.lang.Object
java.lang.Enum<Attributes>
net.minestom.server.attribute.Attributes
All Implemented Interfaces:
Serializable, Comparable<Attributes>, Constable

public enum Attributes extends Enum<Attributes>
AUTOGENERATED by AttributeGenerator
  • Enum Constant Details

    • GENERIC_ARMOR

      public static final Attributes GENERIC_ARMOR
    • GENERIC_ARMOR_TOUGHNESS

      public static final Attributes GENERIC_ARMOR_TOUGHNESS
    • GENERIC_ATTACK_DAMAGE

      public static final Attributes GENERIC_ATTACK_DAMAGE
    • GENERIC_ATTACK_KNOCKBACK

      public static final Attributes GENERIC_ATTACK_KNOCKBACK
    • GENERIC_ATTACK_SPEED

      public static final Attributes GENERIC_ATTACK_SPEED
    • GENERIC_FLYING_SPEED

      public static final Attributes GENERIC_FLYING_SPEED
    • GENERIC_FOLLOW_RANGE

      public static final Attributes GENERIC_FOLLOW_RANGE
    • HORSE_JUMP_STRENGTH

      public static final Attributes HORSE_JUMP_STRENGTH
    • GENERIC_KNOCKBACK_RESISTANCE

      public static final Attributes GENERIC_KNOCKBACK_RESISTANCE
    • GENERIC_LUCK

      public static final Attributes GENERIC_LUCK
    • GENERIC_MAX_ABSORPTION

      public static final Attributes GENERIC_MAX_ABSORPTION
    • GENERIC_MAX_HEALTH

      public static final Attributes GENERIC_MAX_HEALTH
    • GENERIC_MOVEMENT_SPEED

      public static final Attributes GENERIC_MOVEMENT_SPEED
    • ZOMBIE_SPAWN_REINFORCEMENTS

      public static final Attributes ZOMBIE_SPAWN_REINFORCEMENTS
  • Method Details

    • values

      public static Attributes[] 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 Attributes 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
    • attribute

      @NotNull public @NotNull Attribute attribute()
    • getValue

      @Nullable public static @Nullable Attribute getValue(int id)
    • registerAttributes

      public static void registerAttributes()