Enum Class AttributeType.Builtin
java.lang.Object
java.lang.Enum<AttributeType.Builtin>
org.geysermc.mcprotocollib.protocol.data.game.entity.attribute.AttributeType.Builtin
- All Implemented Interfaces:
Serializable,Comparable<AttributeType.Builtin>,Constable,AttributeType
- Enclosing interface:
- AttributeType
public static enum AttributeType.Builtin
extends Enum<AttributeType.Builtin>
implements AttributeType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface org.geysermc.mcprotocollib.protocol.data.game.entity.attribute.AttributeType
AttributeType.Builtin -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final it.unimi.dsi.fastutil.ints.Int2ObjectMap<AttributeType> -
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeTypefrom(int id) doublegetDef()intgetId()net.kyori.adventure.key.KeydoublegetMax()doublegetMin()static AttributeType.BuiltinReturns the enum constant of this class with the specified name.static AttributeType.Builtin[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GENERIC_ARMOR
-
GENERIC_ARMOR_TOUGHNESS
-
GENERIC_ATTACK_DAMAGE
-
GENERIC_ATTACK_KNOCKBACK
-
GENERIC_ATTACK_SPEED
-
PLAYER_BLOCK_BREAK_SPEED
-
PLAYER_BLOCK_INTERACTION_RANGE
-
GENERIC_BURNING_TIME
-
GENERIC_EXPLOSION_KNOCKBACK_RESISTANCE
-
PLAYER_ENTITY_INTERACTION_RANGE
-
GENERIC_FALL_DAMAGE_MULTIPLIER
-
GENERIC_FLYING_SPEED
-
GENERIC_FOLLOW_RANGE
-
GENERIC_GRAVITY
-
GENERIC_JUMP_STRENGTH
-
GENERIC_KNOCKBACK_RESISTANCE
-
GENERIC_LUCK
-
GENERIC_MAX_ABSORPTION
-
GENERIC_MAX_HEALTH
-
PLAYER_MINING_EFFICIENCY
-
GENERIC_MOVEMENT_EFFICIENCY
-
GENERIC_MOVEMENT_SPEED
-
GENERIC_OXYGEN_BONUS
-
GENERIC_SAFE_FALL_DISTANCE
-
GENERIC_SCALE
-
PLAYER_SNEAKING_SPEED
-
ZOMBIE_SPAWN_REINFORCEMENTS
-
GENERIC_STEP_HEIGHT
-
PLAYER_SUBMERGED_MINING_SPEED
-
PLAYER_SWEEPING_DAMAGE_RATIO
-
GENERIC_WATER_MOVEMENT_EFFICIENCY
-
-
Field Details
-
BUILTIN
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getId
public int getId()- Specified by:
getIdin interfaceAttributeType
-
from
-
getIdentifier
public net.kyori.adventure.key.Key getIdentifier()- Specified by:
getIdentifierin interfaceAttributeType
-
getDef
public double getDef() -
getMin
public double getMin() -
getMax
public double getMax()
-