public enum GeyserAttributeType extends Enum<GeyserAttributeType>
| Enum Constant and Description |
|---|
ABSORPTION |
ARMOR |
ARMOR_TOUGHNESS |
ATTACK_DAMAGE |
ATTACK_KNOCKBACK |
ATTACK_SPEED |
EXHAUSTION |
EXPERIENCE |
EXPERIENCE_LEVEL |
FLYING_SPEED |
FOLLOW_RANGE |
HEALTH |
HORSE_JUMP_STRENGTH |
HUNGER |
KNOCKBACK_RESISTANCE |
LUCK |
MAX_HEALTH |
MOVEMENT_SPEED |
SATURATION |
| Modifier and Type | Method and Description |
|---|---|
com.nukkitx.protocol.bedrock.data.AttributeData |
getAttribute(float value) |
com.nukkitx.protocol.bedrock.data.AttributeData |
getAttribute(float value,
float maximum) |
static GeyserAttributeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeyserAttributeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeyserAttributeType FOLLOW_RANGE
public static final GeyserAttributeType KNOCKBACK_RESISTANCE
public static final GeyserAttributeType MOVEMENT_SPEED
public static final GeyserAttributeType FLYING_SPEED
public static final GeyserAttributeType ATTACK_DAMAGE
public static final GeyserAttributeType HORSE_JUMP_STRENGTH
public static final GeyserAttributeType LUCK
public static final GeyserAttributeType ARMOR
public static final GeyserAttributeType ARMOR_TOUGHNESS
public static final GeyserAttributeType ATTACK_KNOCKBACK
public static final GeyserAttributeType ATTACK_SPEED
public static final GeyserAttributeType MAX_HEALTH
public static final GeyserAttributeType ABSORPTION
public static final GeyserAttributeType EXHAUSTION
public static final GeyserAttributeType EXPERIENCE
public static final GeyserAttributeType EXPERIENCE_LEVEL
public static final GeyserAttributeType HEALTH
public static final GeyserAttributeType HUNGER
public static final GeyserAttributeType SATURATION
public static GeyserAttributeType[] values()
for (GeyserAttributeType c : GeyserAttributeType.values()) System.out.println(c);
public static GeyserAttributeType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic com.nukkitx.protocol.bedrock.data.AttributeData getAttribute(float value)
public com.nukkitx.protocol.bedrock.data.AttributeData getAttribute(float value,
float maximum)
Copyright © 2021 GeyserMC. All rights reserved.