接口 Attribute
- 所有超级接口:
Comparable<Attribute>
,Keyed
,OldEnum<Attribute>
,RegistryAware
,Translatable
Attributable
里面的枚举.-
字段概要
字段修饰符和类型字段说明static final Attribute
护甲的防御值static final Attribute
护甲的韧性static final Attribute
当生物攻击其他生物/实体时所造成的伤害static final Attribute
生物的攻击击退力度static final Attribute
生物的攻击速率static final Attribute
玩家破坏方块的速度。static final Attribute
玩家可以触及的方块距离。static final Attribute
实体在着火后保持燃烧的时间。static final Attribute
The distance at which the camera is placed away.static final Attribute
玩家可以触及的实体距离。static final Attribute
对爆炸造成的击退的抗性。static final Attribute
实体的坠落伤害倍增器。static final Attribute
实体的飞行速度static final Attribute
当一个生物正在跟随其他生物/人的时候的跟随范围static final Attribute
施加在实体上的重力。static final Attribute
实体跳跃的力量。static final Attribute
当生物被攻击的时候的击退抗性static final Attribute
生物的可能的掉落物static final Attribute
实体的最大吸收值(即护甲吸收)。static final Attribute
生物的最大血量static final Attribute
正确工具的挖矿速度。static final Attribute
在困难地形中的移动速度。static final Attribute
生物的移动速度static final Attribute
水下使用的氧气。static final Attribute
实体可以坠落而不受伤害的高度。static final Attribute
实体的相对大小。static final Attribute
潜行速度。static final Attribute
僵尸增援的几率static final Attribute
实体可以跨越的高度。static final Attribute
水下挖掘速度。static final Attribute
横扫伤害。static final Attribute
Range at which mobs will be tempted by items.static final Attribute
在水中移动的速度。static final Attribute
Waypoing receive range.static final Attribute
Waypoint transmission range. -
方法概要
修饰符和类型方法说明getKey()
已过时。已过时。only for backwards compatibility, useRegistry.get(NamespacedKey)
instead.values()
已过时。useIterable.iterator()
.从接口继承的方法 org.bukkit.registry.RegistryAware
getKeyOrNull, getKeyOrThrow, isRegistered
从接口继承的方法 org.bukkit.Translatable
getTranslationKey
-
字段详细资料
-
MAX_HEALTH
生物的最大血量 -
FOLLOW_RANGE
当一个生物正在跟随其他生物/人的时候的跟随范围 -
KNOCKBACK_RESISTANCE
当生物被攻击的时候的击退抗性 -
MOVEMENT_SPEED
生物的移动速度 -
FLYING_SPEED
实体的飞行速度 -
ATTACK_DAMAGE
当生物攻击其他生物/实体时所造成的伤害 -
ATTACK_KNOCKBACK
生物的攻击击退力度 -
ATTACK_SPEED
生物的攻击速率 -
ARMOR
护甲的防御值 -
ARMOR_TOUGHNESS
护甲的韧性 -
FALL_DAMAGE_MULTIPLIER
实体的坠落伤害倍增器。原文: The fall damage multiplier of an Entity.
-
LUCK
生物的可能的掉落物 -
MAX_ABSORPTION
实体的最大吸收值(即护甲吸收)。原文: Maximum absorption of an Entity.
-
SAFE_FALL_DISTANCE
实体可以坠落而不受伤害的高度。原文: The distance which an Entity can fall without damage.
-
SCALE
实体的相对大小。原文: The relative scale of an Entity.
-
STEP_HEIGHT
实体可以跨越的高度。原文: The height which an Entity can walk over.
-
GRAVITY
施加在实体上的重力。原文: The gravity applied to an Entity.
-
JUMP_STRENGTH
实体跳跃的力量。原文: Strength with which an Entity will jump.
-
BURNING_TIME
实体在着火后保持燃烧的时间。原文: How long an entity remains burning after ignition.
-
CAMERA_DISTANCE
The distance at which the camera is placed away. -
EXPLOSION_KNOCKBACK_RESISTANCE
对爆炸造成的击退的抗性。原文: Resistance to knockback from explosions.
-
MOVEMENT_EFFICIENCY
在困难地形中的移动速度。原文: Movement speed through difficult terrain.
-
OXYGEN_BONUS
水下使用的氧气。原文: Oxygen use underwater.
-
WATER_MOVEMENT_EFFICIENCY
在水中移动的速度。 -
TEMPT_RANGE
Range at which mobs will be tempted by items. -
BLOCK_INTERACTION_RANGE
玩家可以触及的方块距离。原文: The block reach distance of a Player.
-
ENTITY_INTERACTION_RANGE
玩家可以触及的实体距离。原文: The entity reach distance of a Player.
-
BLOCK_BREAK_SPEED
玩家破坏方块的速度。原文: Block break speed of a Player.
-
MINING_EFFICIENCY
正确工具的挖矿速度。原文: Mining speed for correct tools.
-
SNEAKING_SPEED
潜行速度。原文: Sneaking speed.
-
SUBMERGED_MINING_SPEED
水下挖掘速度。原文: Underwater mining speed.
-
SWEEPING_DAMAGE_RATIO
横扫伤害。原文: Sweeping damage.
-
SPAWN_REINFORCEMENTS
僵尸增援的几率 -
WAYPOINT_TRANSMIT_RANGE
Waypoint transmission range. -
WAYPOINT_RECEIVE_RANGE
Waypoing receive range.
-
-
方法详细资料
-
getKey
已过时。A key might not always be present, useRegistryAware.getKeyOrThrow()
instead.返回用于此对象的命名空间标识符.原文:Return the namespaced identifier for this object.
-
valueOf
@NotNull @Deprecated(since="1.21.3") static @NotNull Attribute valueOf(@NotNull @NotNull String name) 已过时。only for backwards compatibility, useRegistry.get(NamespacedKey)
instead.- 参数:
name
- of the attribute.- 返回:
- the attribute with the given name.
-
values
已过时。useIterable.iterator()
.- 返回:
- an array of all known attributes.
-
RegistryAware.getKeyOrThrow()
instead.