-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minestom.server.registry.Holder
Holder.Direct<T>
-
-
Method Summary
default double
fromKey(@NotNull net.kyori.adventure.key.Key key)
default int
default boolean
default @NotNull net.kyori.adventure.key.Key
default double
default double
-
Field Details
-
-
-
-
-
-
-
-
-
BLOCK_INTERACTION_RANGE
static final Attribute BLOCK_INTERACTION_RANGE
-
-
EXPLOSION_KNOCKBACK_RESISTANCE
static final Attribute EXPLOSION_KNOCKBACK_RESISTANCE
-
ENTITY_INTERACTION_RANGE
static final Attribute ENTITY_INTERACTION_RANGE
-
FALL_DAMAGE_MULTIPLIER
static final Attribute FALL_DAMAGE_MULTIPLIER
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
SUBMERGED_MINING_SPEED
static final Attribute SUBMERGED_MINING_SPEED
-
-
-
WATER_MOVEMENT_EFFICIENCY
static final Attribute WATER_MOVEMENT_EFFICIENCY
-
Method Details
-
-
key
@NotNull
default @NotNull net.kyori.adventure.key.Key key()
- Specified by:
key in interface net.kyori.adventure.key.Keyed
- Specified by:
key in interface StaticProtocolObject<Attribute>
-
-
defaultValue
default double defaultValue()
-
minValue
default double minValue()
-
maxValue
default double maxValue()
-
isSynced
default boolean isSynced()
-
-
fromKey
@Nullable
static @Nullable Attribute fromKey(@KeyPattern @NotNull
@NotNull String key)
-
fromKey
@Nullable
static @Nullable Attribute fromKey(@NotNull
@NotNull net.kyori.adventure.key.Key key)
-
fromId
@Nullable
static @Nullable Attribute fromId(int id)