Interface Attribute
- All Superinterfaces:
net.kyori.adventure.key.Keyed,net.minestom.server.registry.ProtocolObject,net.minestom.server.registry.StaticProtocolObject
public sealed interface Attribute
extends net.minestom.server.registry.StaticProtocolObject
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Attributestatic final Attributestatic final Attributestatic final Attributestatic final Attributestatic final Attributestatic final Attributestatic final Attributestatic final Attributestatic final Attributestatic final Attributestatic final Attributestatic final Attributestatic final Attributestatic final Attributestatic final Attributestatic final Attributestatic final Attributestatic final Attributestatic final Attributestatic final Attributestatic final Attributestatic final Attributestatic final @NotNull BinaryTagSerializer<Attribute> static final NetworkBuffer.Type<Attribute> static final Attributestatic final Attributestatic final Attributestatic final Attributestatic final Attributestatic final Attributestatic final Attributestatic final Attribute -
Method Summary
Modifier and TypeMethodDescriptiondefault doublestatic @Nullable AttributefromId(int id) static @Nullable AttributefromNamespaceId(@NotNull String namespaceID) static @Nullable AttributefromNamespaceId(@NotNull net.minestom.server.utils.NamespaceID namespaceID) default intid()default booleanisSynced()default doublemaxValue()default doubleminValue()default @NotNull net.minestom.server.utils.NamespaceIDregistry()static @NotNull Collection<@NotNull Attribute> values()Methods inherited from interface net.minestom.server.registry.StaticProtocolObject
key, name
-
Field Details
-
NETWORK_TYPE
-
NBT_TYPE
-
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
-
-
Method Details
-
registry
- Specified by:
registryin interfacenet.minestom.server.registry.ProtocolObject
-
namespace
@NotNull default @NotNull net.minestom.server.utils.NamespaceID namespace()- Specified by:
namespacein interfacenet.minestom.server.registry.StaticProtocolObject
-
id
default int id()- Specified by:
idin interfacenet.minestom.server.registry.StaticProtocolObject
-
defaultValue
default double defaultValue() -
minValue
default double minValue() -
maxValue
default double maxValue() -
isSynced
default boolean isSynced() -
values
-
fromNamespaceId
-
fromNamespaceId
@Nullable static @Nullable Attribute fromNamespaceId(@NotNull @NotNull net.minestom.server.utils.NamespaceID namespaceID) -
fromId
-