接口 Attribute
- 所有超级接口:
Comparable<Attribute>,Keyed,OldEnum<Attribute>,RegistryAware,Translatable
Attributable 里面的枚举.-
字段概要
字段修饰符和类型字段说明static final AttributeDrag applied to entity in air.static final Attribute护甲的防御值static final Attribute护甲的韧性static final Attribute当生物攻击其他生物/实体时所造成的伤害static final Attribute生物的攻击击退力度static final Attribute生物的攻击速率static final AttributeDistance below_name scoreboard displays are visible.static final Attribute玩家破坏方块的速度。static final Attribute玩家可以触及的方块距离。static final AttributeBounciness when colliding with blocks.static final Attribute实体在着火后保持燃烧的时间。static final Attribute摄像机放置的距离。static final Attribute玩家可以触及的实体距离。static final Attribute对爆炸造成的击退的抗性。static final Attribute实体的坠落伤害倍增器。static final Attribute实体的飞行速度static final Attribute当一个生物正在跟随其他生物/人的时候的跟随范围static final AttributeFriction when on blocks.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 AttributeDistance the name tag is visible.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路径点传输范围。 -
方法概要
修饰符和类型方法说明getKey()已过时。已过时。仅为向后兼容,请改用Registry.get(NamespacedKey).values()已过时。请使用Iterable.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.
-
AIR_DRAG_MODIFIER
Drag applied to entity in air. -
BELOW_NAME_DISTANCE
Distance below_name scoreboard displays are visible. -
BOUNCINESS
Bounciness when colliding with blocks. -
FRICTION_MODIFIER
Friction when on blocks. -
NAME_TAG_DISTANCE
Distance the name tag is visible.
-
-
方法详细资料
-
getKey
已过时。键可能并不总是存在,请改用RegistryAware.getKeyOrThrow().原文: A key might not always be present, use
RegistryAware.getKeyOrThrow()instead.返回用于此对象的命名空间标识符.原文:Return the namespaced identifier for this object.
-
valueOf
@NotNull @Deprecated(since="1.21.3") static @NotNull Attribute valueOf(@NotNull @NotNull String name) 已过时。仅为向后兼容,请改用Registry.get(NamespacedKey).原文: only for backwards compatibility, use
Registry.get(NamespacedKey)instead.- 参数:
name- 属性的名称.- 返回:
- 具有给定名称的属性.
-
values
已过时。请使用Iterable.iterator().- 返回:
- 所有已知属性的数组.
-
RegistryAware.getKeyOrThrow().