Enum AttributeType
- java.lang.Object
-
- java.lang.Enum<AttributeType>
-
- me.bimmr.bimmcore.items.attributes.AttributeType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AttributeType>
,java.lang.constant.Constable
public enum AttributeType extends java.lang.Enum<AttributeType>
Attribute TypesUsed from 1.8.8 - 1.13
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARMOR
Deprecated.ARMOR_THOUGHNESS
Deprecated.ATTACK_DAMAGE
Deprecated.ATTACK_SPEED
Deprecated.FOLLOW_RANGE
Deprecated.GENERIC_ARMOR
GENERIC_ARMOR_THOUGHNESS
GENERIC_ATTACK_DAMAGE
GENERIC_ATTACK_SPEED
GENERIC_FOLLOW_RANGE
GENERIC_JUMP_STRENGTH
GENERIC_KNOCKBACK_RESISTANCE
GENERIC_LUCK
GENERIC_MAX_HEALTH
GENERIC_MOVEMENT_SPEED
GENERIC_SPAWN_REINFORCEMENTS
JUMP_STRENGTH
Deprecated.KNOCKBACK_RESISTANCE
Deprecated.LUCK
Deprecated.MAX_HEALTH
Deprecated.MOVEMENT_SPEED
Deprecated.SPAWN_REINFORCEMENTS
Deprecated.
-
Method Summary
Modifier and Type Method Description static AttributeType
getByName(java.lang.String name)
java.lang.String
getName()
static AttributeType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AttributeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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
public static final AttributeType GENERIC_ARMOR
-
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.
-
GENERIC_LUCK
public static final AttributeType GENERIC_LUCK
-
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 namejava.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
-
-