Mineuniverse

Attribute

Attributes control certain numeric properties of players, mobs, and armor stands. Every entity has a base value for each of its attributes, and modifiers…

24 min read Updated
Gameplay Java Edition
Advertisement Remove ads with Premium →
Contents (50)
  1. List of attributes
  2. Air Drag Modifier
  3. Armor
  4. Armor Toughness
  5. Attack Damage
  6. Attack Knockback
  7. Attack Speed
  8. Nameplate Score Distance
  9. Block Break Speed
  10. Block Interaction Range
  11. Bounciness
  12. Burning Time
  13. Camera Distance
  14. Entity Interaction Range
  15. Explosion Knockback Resistance
  16. Fall Damage Multiplier
  17. Flying Speed
  18. Mob Follow Range
  19. Friction Modifier
  20. Gravity
  21. Jump Strength
  22. Knockback Resistance
  23. Luck
  24. Max Absorption
  25. Max Health
  26. Mining Efficiency
  27. Movement Efficiency
  28. Movement Speed
  29. Name Tag Distance
  30. Oxygen Bonus
  31. Safe Fall Distance
  32. Scale
  33. Sneaking Speed
  34. Zombie Reinforcements
  35. Step Height
  36. Submerged Mining Speed
  37. Sweeping Damage Ratio
  38. Mob Tempt Range
  39. Water Movement Efficiency
  40. Waypoint Receive Range
  41. Waypoint Transmit Range
  42. Modifiers
  43. Operations
  44. Applying modifiers
  45. History
  46. Java Edition
  47. Bedrock Edition
  48. Legacy Console Edition
  49. Issues
  50. References
This article is about the entity attribute system. For the command, see Commands/attribute. For item attributes, see Data component format. For the attributes controlling various visual and gameplay features, see environment attribute.
This feature is exclusive to Java Edition.

Attributes control certain numeric properties of players, mobs, and armor stands. Every entity has a base value for each of its attributes, and modifiers that determine the final value.

List of attributes

Each attribute is identified with a namespaced identifier, and has a default, minimum, and maximum value.

Most attributes are present on all living entities, but some attributes only apply to specific entity types. Additionally, some entity types have a base value other than the default.

Air Drag Modifier

Air Drag Modifier
ID air_drag_modifier
Default 1
Minimum 0
Maximum 2048

This attribute modifies the air drag an entity experiences. The final air drag is calculated as , clamped to 0 to 1. The friction is 0.91 for sulfur cubes that have absorbed a block, parrots, and bees. For all other entities, including sulfur cubes that have no absorbed block, the friction is 0.98.

Armor

Armor
ID armor
Default 0  (🛡)
Minimum 0  (🛡)
Maximum 30  (🛡 × 15)

This attribute determines the number of armor points an entity has.

Entity Base value
Magma Cube (large) 12 (🛡 × 6)
Killer Bunny 8 (🛡🛡🛡🛡)
Magma Cube (medium) 6 (🛡🛡🛡)
Wither 4 (🛡🛡)
Magma Cube (small) 3 (🛡🛡)
Zombie Husk Drowned Zombie Villager Zombified Piglin Frostbite Evoker‌[Bedrock Edition only] 2 (🛡)

Armor Toughness

Armor Toughness
ID armor_toughness
Default 0
Minimum 0
Maximum 20

This attribute determines an entity's armor toughness.

Attack Damage

Attack Damage
ID attack_damage
Default 2HP❤️
Minimum 0HP🖤
Maximum 2048HP❤️ × 1024

This attribute determines the damage dealt by an entity's melee attack. Only the entities listed below have this attribute.

Attack Knockback

Attack Knockback
ID attack_knockback
Default 0
Minimum 0
Maximum 5

This attribute determines additional knockback applied to an entity's melee attack.​

Entity Base value
Ravager Warden 1.5
Hoglin Zoglin 1

Attack Speed

Attack Speed
ID attack_speed
Default 4
Minimum 0
Maximum 1024

This attribute determines the rate at which a player's attack cooldown recharges. Its value is the number of full-strength attacks per second. Only players have this attribute.

Nameplate Score Distance

Nameplate Score Distance
ID below_name_distance
Default 10
Minimum 0
Maximum 512

This attribute determines the distance within which a scoreboard objective with a below_name display slot is visible above an entity.

Block Break Speed

Block Break Speed
ID block_break_speed
Default 1
Minimum 0
Maximum 1024

This attribute multiplies the speed at which a player breaks blocks. Only players have this attribute.

Block Interaction Range

Block Interaction Range
ID block_interaction_range
Default 4.5
Minimum 0
Maximum 64

This attribute determines the block interaction range for players. Only players have this attribute.

Bounciness

Bounciness
ID bounciness
Default 0
Minimum 0
Maximum 1

This attribute determines the restitution of motion an entity is given when landing on the ground.

Burning Time

Burning Time
ID burning_time
Default 1
Minimum 0
Maximum 1024

This attribute multiplies the duration for which an entity should remain on fire after being ignited.

Camera Distance

Camera Distance
ID camera_distance
Default 4
Minimum 0
Maximum 32

This attribute determines the maximum distance at which the camera is placed away from the player or spectated entity when in a third-person view. This distance is multiplied by the scale attribute to get a final target camera distance. If the entity being ridden has a larger camera_distance attribute, that distance will be used. The final distance can be reduced by colliding certain blocks.

Entity Base value
Ghast Happy Ghast 8
Giant Ender Dragon 16

Entity Interaction Range

Entity Interaction Range
ID entity_interaction_range
Default 3
Minimum 0
Maximum 64

This attribute determines the entity interaction range for players.

Explosion Knockback Resistance

Explosion Knockback Resistance
ID explosion_knockback_resistance
Default 0
Minimum 0
Maximum 1

This attribute determines the proportion of knockback from explosions an entity resists. A value of 1 eliminates the knockback.

Fall Damage Multiplier

Fall Damage Multiplier
ID fall_damage_multiplier
Default 1
Minimum 0
Maximum 100

This attribute multiplies the amount of fall damage an entity receives.

Flying Speed

Flying Speed
ID flying_speed
Default 0.4
Minimum 0
Maximum 1024

This attribute determines the flying speed of an entity.​ Only the entities listed below have this attribute.

Entity Base value
Bee Wither 0.6
Allay 0.1
Ghast 0.06
Happy Ghast 0.05
Parrot 0.4

Mob Follow Range

Mob Follow Range
ID follow_range
Default 32
Minimum 0
Maximum 2048

This attribute determines the range in blocks within which a mob targets players or other mobs to track. Exiting this range causes the mob to cease following the player/mob. Only mobs have this attribute.

Friction Modifier

Friction Modifier
ID friction_modifier
Default 1
Minimum 0
Maximum 2048

This attribute determines the friction experienced by an entity.​

Gravity

Gravity
ID gravity
Default 0.08
Minimum -1
Maximum 1

This attribute determines the gravity affecting an entity in blocks per tick squared.

Jump Strength

Jump Strength
ID jump_strength
Default 0.42
Minimum 0
Maximum 32

This attribute determines the initial vertical velocity of an entity when they jump, in blocks per tick.

Entity Base value
Horse Skeleton Horse Zombie Horse Random
(0.4 – 1.0)
Donkey Mule Llama Trader Llama 0.5

Knockback Resistance

Knockback Resistance
ID knockback_resistance
Default 0
Minimum -2
Maximum 1

This attribute determines the proportion of horizontal knockback from attacks and projectiles an entity resists. A value of 1 eliminates the knockback. Vertical knockback is not affected. It does not affect explosions.[1]

Entity Base value
Ender Dragon‌[Bedrock Edition only] 100
Iron Golem Warden 1
Ravager 0.75
Hoglin Zoglin 0.6
Nautilus Zombie Nautilus 0.30000001192092896
Zombie Husk Drowned Zombie Villager Zombified Piglin Frostbite Random
(0 – 0.05)

Luck

Luck
ID luck
Default 0
Minimum -1024
Maximum 1024

This attribute affects the results of loot tables, with a higher attribute value increasing the amount and quality of results.

The number of rolls is increased by the pools "bonus rolls"-value times this attributes value, rounded down, and the weight of each entry is increased by its quality times this attributes value, also rounded down.

Only players have this attribute.

Max Absorption

Max Absorption
ID max_absorption
Default 0HP🖤
Minimum 0HP🖤
Maximum 2048HP❤️ × 1024

This attribute determines an entity's maximum absorption.

Max Health

Max Health
ID max_health
Default 20HP❤️ × 10
Minimum 1HP💔
Maximum 1024HP❤️ × 512

This attribute determines an entity's maximum health. It determines the highest health they may be healed to.

Entity Base value
Warden 500HP❤️ × 250
Wither 300HP❤️ × 150
Ender Dragon 200HP❤️ × 100
Iron Golem Ravager Giant 100HP❤️ × 50
Elder Guardian 80HP❤️ × 40
Piglin Brute 50HP❤️ × 25
Tamed Wolf Enderman Zoglin Hoglin 40HP❤️ × 20
Camel Camel Husk Illusioner 32HP❤️ × 16
Polar Bear Guardian Shulker Breeze Turtle 30HP❤️ × 15
Witch 26HP❤️ × 13
Zombie Horse 25HP❤️ × 12.5
Evoker Pillager Vindicator Frostbite 24HP❤️ × 12
Player Zombie Zombie Villager Husk Drowned Zombified Piglin Skeleton Stray Wither Skeleton Creeper Blaze Strider

Villager Wandering Trader Phantom Panda Allay Happy Ghast Cat(tamed)‌[Bedrock Edition only]

20HP❤️ × 10
Piglin Bogged Parched Spider 16HP❤️ × 8
Skeleton Horse Nautilus Zombie Nautilus 15HP❤️ × 7.5
Axolotl Sniffer 14HP❤️ × 7
Armadillo Copper Golem Cave Spider 12HP❤️ × 6
Bee Cow Mooshroom Dolphin Cat Ocelot Fox Frog Goat Panda(weak) Pig Squid Glow Squid Ghast 10HP❤️❤️❤️❤️❤️
Sheep Wolf Endermite Silverfish 8HP❤️❤️❤️❤️
Bat Tadpole Parrot 6HP❤️❤️❤️
Chicken Snow Golem 4HP❤️❤️
Cod Salmon Tropical Fish Pufferfish Rabbit 3HP❤️💔
Creaking 1HP💔
Horse Donkey Mule Llama Trader Llama Random
(15HP❤️ × 7.5 – 30HP❤️ × 15)
Slime Magma Cube 1HP💔 × Size × Size
Sulfur Cube 4HP❤️❤️ × Size
Frostbite(leaders)‌ Random
(48HP❤️ × 24 – 120HP❤️ × 60)
Zombie(leaders) Zombie Villager(leaders)‌ Husk(leaders)‌ Drowned(leaders)‌ Zombified Piglin(leaders)‌ Random
(40HP❤️ × 20 – 100HP❤️ × 50)

Mining Efficiency

Mining Efficiency
ID mining_efficiency
Default 0
Minimum 0
Maximum 1024

This attribute increases the speed at which a player breaks blocks. Only players have this attribute.

Movement Efficiency

Movement Efficiency
ID movement_efficiency
Default 0
Minimum 0
Maximum 1

This attribute is a factor to improve walking on terrain that slows down movement, such as soul sand. A value of 1 removes the slowdown.

Movement Speed

Movement Speed
ID movement_speed
Default 0.7
Minimum 0
Maximum 1024

This attribute determines the speed at which an entity moves. It represents a multiplier for acceleration per tick. A mob's actual speed in blocks/second is approximately 43 times this value (see Entity#Formulas.)

Name Tag Distance

Name Tag Distance
ID name_tag_distance
Default 64
Minimum 0
Maximum 512

This attribute determines the distance within which an entity's custom name is visible.

Oxygen Bonus

Oxygen Bonus
ID oxygen_bonus
Default 0
Minimum 0
Maximum 1024

This attribute determines the chance that an entity's remaining air decreases while underwater in any given game tick. The chance is given by 1⁄(oxygen_bonus + 1).

Safe Fall Distance

Safe Fall Distance
ID safe_fall_distance
Default 3
Minimum -1024
Maximum 1024

This attribute determines the distance in blocks an entity can fall before fall damage starts to accumulate.

Scale

Scale
ID scale
Default 1
Minimum 0.0625
Maximum 16

This attribute multiplies an entity's size and hitbox dimensions.

Sneaking Speed

Sneaking Speed
ID sneaking_speed
Default 0.3
Minimum 0
Maximum 1

This attribute multiplies a player's movement speed when sneaking or crawling. Only players have this attribute.

Zombie Reinforcements

Zombie Reinforcements
ID spawn_reinforcements
Default 0
Minimum 0
Maximum 1

This attribute determines the chance for a zombie to spawn another zombie when attacked. Only the entities listed below have this attribute.

Entity Base value
Zombie Husk Drowned Zombie Villager Frostbite Random
(0 – 0.1)
Zombified Piglin 0[2]

Step Height

Step Height
ID step_height
Default 0.6
Minimum 0
Maximum 10

This attribute determines the maximum number of blocks that an entity can step up without jumping. Sneaking prevents drops from heights that are higher than this value.[3]

Submerged Mining Speed

Submerged Mining Speed
ID submerged_mining_speed
Default 0.2
Minimum 0
Maximum 20

This attribute multiplies a player's mining speed when underwater. Only players have this attribute.

Sweeping Damage Ratio

Sweeping Damage Ratio
ID sweeping_damage_ratio
Default 0
Minimum 0
Maximum 1

This attribute determines the proportion of the base attack damage dealt to secondary targets when a player performs a sweep attack. This is in addition to the base damage of the sweep damage itself. Only players have this attribute.

Mob Tempt Range

Mob Tempt Range
ID tempt_range
Default 10
Minimum 0
Maximum 2048

This attribute determines the range in blocks in which a mob can be tempted, following a player holding a specific item.

Water Movement Efficiency

Water Movement Efficiency
ID water_movement_efficiency
Default 0
Minimum 0
Maximum 1

This attribute determines movement speed and drag when touching water.​

Waypoint Receive Range

Waypoint Receive Range
ID waypoint_receive_range
Default 0
Minimum 0
Maximum 60,000,000

This attribute determines the maximum distance from a player to a waypoint at which the waypoint is displayed on the locator bar. Only players have this attribute.

Entity Base value
Player 60,000,000

Waypoint Transmit Range

Waypoint Transmit Range
ID waypoint_transmit_range
Default 0
Minimum 0
Maximum 60,000,000

This attribute determines the distance at which an entity displays as a waypoint on the locator bar. Only players have this attribute.

Entity Base value
Player 60,000,000

Modifiers

Attribute modifiers are persistent increases or decreases to an attribute's base value by preset operations.

Each modifier has a namespaced identifier to uniquely identify it. Modifiers affect exactly one attribute, increasing or decreasing its value depending on the modifier's operation and value. The resulting value after modification is capped by the attribute's minimum and maximum limits.

Operations

A modifier may perform one of three possible operations:

Operation Description
add_value Adds all of the modifiers' amounts to the base attribute.

For example, applying two add_value modifiers with amounts of 2 and 4, to attribute base of 3:

add_multiplied_base Multiplies the base attribute by (1 + sum of modifiers' amounts).

[note 1]

For example, applying two add_multiplied_base modifiers with amounts of 2 and 4, to attribute base of 3:

add_multiplied_total Multiplies the base attribute by (1 + modifiers' amounts) for every modifier.

For example, applying two add_multiplied_total modifiers with amounts of 2 and 4, to attribute base of 3:

If multiple modifiers are applied to an attribute, the game first executes all add_value modifiers, then all add_multiplied_base modifiers, and finally all add_multiplied_total modifiers. The Total value is always carried as the Base for the next set of modifiers.

The final value is clamped to fit the attribute's minimum and maximum value range.

  1. ↑ Simplified, the calculation used in the game's code is like:

Applying modifiers

Various systems in the game add and remove modifiers.

Commands

The /attribute command can add or remove specific modifiers, including custom ones. Except for players, it is also possible add, remove and custom with /data.

Items

The attribute_modifiers item component defines modifiers that are automatically added to an entity when the item is equipped in a certain slot, and removed when it is removed.

All vanilla weapons and armor use this component to add and remove modifiers with the following IDs:

Enchantments

Enchantment attribute effects define modifiers that are automatically added to an entity when the enchanted item is equipped in a certain slot, and removed when it is removed.

Some enchantments use this effect to add and remove modifiers with the following IDs. The listed IDs are followed by / and the name of the slot the enchantment is active in.

Modifier ID Attribute Level-based value Operation Enchantment
minecraft:enchantment.aqua_affinity submerged_mining_speed

type: minecraft:linear,
base: 4.0,
per_level_above_first: 4.0

add_multiplied_total Aqua Affinity
minecraft:enchantment.blast_protection explosion_knockback_resistance

type: minecraft:linear,
base: 0.15,
per_level_above_first: 0.15

add_value Blast Protection
minecraft:enchantment.depth_strider water_movement_efficiency

type: minecraft:linear,
base: 0.33333334,
per_level_above_first: 0.33333334

add_value Depth Strider
minecraft:enchantment.efficiency mining_efficiency

type: minecraft:levels_squared,
added: 1.0

add_value Efficiency
minecraft:enchantment.fire_protection burning_time type: minecraft:linear,

base: -0.15,
per_level_above_first: -0.15

add_multiplied_base Fire Protection
minecraft:enchantment.respiration oxygen_bonus type: minecraft:linear,

base: 1.0,
per_level_above_first: 1.0

add_value Respiration
minecraft:enchantment.soul_speed movement_speed type: minecraft:linear,

base: 0.0405,
per_level_above_first: 0.0105

add_value Soul Speed
movement_efficiency 1.0 add_value
minecraft:enchantment.sweeping_edge sweeping_damage_ratio add_value Sweeping Edge
minecraft:enchantment.swift_sneak sneaking_speed

type: minecraft:linear,
base: 0.15,
per_level_above_first: 0.15

add_value Swift Sneak

Sulfur cube archetypes

Sulfur cube archetype definitions define modifiers that are automatically added to a sulfur cube when one of the specified items is given to it, and removed when it is removed.

See sulfur cube archetype for the values.

The vanilla archetypes add and remove modifiers with the following IDs:

Modifier ID Attribute Operation
minecraft:bouncy_add_knockback_resistance
minecraft:fast_flat_add_knockback_resistance
minecraft:fast_sliding_add_knockback_resistance
minecraft:high_resistance_add_knockback_resistance
minecraft:light_add_knockback_resistance
minecraft:regular_add_knockback_resistance
minecraft:slow_flat_add_knockback_resistance
minecraft:slow_sliding_add_knockback_resistance
minecraft:sticky_add_knockback_resistance
knockback_resistance add_value
minecraft:bouncy_add_bounciness
minecraft:fast_flat_add_bounciness
minecraft:fast_sliding_add_bounciness
minecraft:high_resistance_add_bounciness
minecraft:light_add_bounciness
minecraft:regular_add_bounciness
minecraft:slow_flat_add_bounciness
minecraft:slow_sliding_add_bounciness
minecraft:sticky_add_bounciness
bounciness add_value
minecraft:bouncy_mul_friction_modifier
minecraft:fast_flat_mul_friction_modifier
minecraft:fast_sliding_mul_friction_modifier
minecraft:high_resistance_mul_friction_modifier
minecraft:light_mul_friction_modifier
minecraft:regular_mul_friction_modifier
minecraft:slow_flat_mul_friction_modifier
minecraft:slow_sliding_mul_friction_modifier
minecraft:sticky_mul_friction_modifier
friction_modifier add_multiplied_total
minecraft:bouncy_mul_air_drag_modifier
minecraft:fast_flat_mul_air_drag_modifier
minecraft:fast_sliding_mul_air_drag_modifier
minecraft:high_resistance_mul_air_drag_modifier
minecraft:light_mul_air_drag_modifier
minecraft:regular_mul_air_drag_modifier
minecraft:slow_flat_mul_air_drag_modifier
minecraft:slow_sliding_mul_air_drag_modifier
minecraft:sticky_mul_air_drag_modifier
air_drag_modifier add_multiplied_total

Hardcoded

Some other attribute modifiers are hardcoded, not depending on data packs or data components, but rather on the game code. Although it is still possible to change these modifiers with /attribute, it is not possible to prevent them from appearing in specific conditions.

Effects

Some status effects apply modifiers when the effect is applied, and remove them when the effect runs out. The final value of the added attribute is multiplied by effect potency (in other words, multiplied by amplifier + 1).

Modifier ID Attribute Value Operation Effect
minecraft:effect.speed movement_speed 0.2 add_multiplied_total Speed
minecraft:effect.slowness movement_speed -0.15 add_multiplied_total Slowness
minecraft:effect.haste attack_speed 0.1 add_multiplied_total Haste
minecraft:effect.mining_fatigue attack_speed -0.1 add_multiplied_total Mining Fatigue
minecraft:effect.strength attack_damage 3.0 add_value Strength
minecraft:effect.weakness attack_damage -4.0 add_value Weakness
minecraft:effect.jump_boost safe_fall_distance 1.0 add_value Jump Boost
minecraft:effect.waypoint_transmit_range_hide waypoint_transmit_range -1.0 add_multiplied_total Invisibility
minecraft:effect.health_boost max_health 4.0 add_value Health Boost
minecraft:effect.absorption max_absorption 4.0 add_value Absorption
minecraft:effect.luck luck 1.0 add_value Luck
minecraft:effect.unluck luck -1.0 add_value Bad Luck
Misc

Other parts of the game add and remove additional modifiers. In this table, every mention of "zombies" represents the class Zombie, that is, the entities: zombie, drowned, husk, zombie villager, zombified piglin, and frostbite​[upcoming: JE 26.4].

Modifier ID Attribute Value Operation Details
minecraft:random_spawn_bonus follow_range triangle(0.0, 0.11485) add_value Applied randomly to all mobs when they spawn.
minecraft:random_spawn_bonus knockback_resistance nextDouble()*0.05 add_value Applied randomly to all zombies when they spawn.
minecraft:zombie_random_spawn_bonus follow_range nextDouble()*1.5*difficultyModifier add_multiplied_total Applied randomly to some zombies when they spawn. Only applies if greater than 1.
minecraft:leader_zombie_bonus spawn_reinforcements_chance nextDouble()*0.25+0.5 add_value Applied randomly to some zombies to turn them into "leaders".
max_health nextDouble()*3.0+1.0 add_multiplied_total
minecraft:reinforcement_caller_charge spawn_reinforcements_chance existingAmount - 0.05 add_value Applied to a zombie when it successfully spawns a reinforcement. The existingAmount is the value of the modifier previously, or 0.0 if it does not exist.
minecraft:reinforcement_callee_charge spawn_reinforcements_chance -0.05 add_value Applied to zombie reinforcements when they spawn.
minecraft:baby movement_speed Zombie: 0.5
Piglin: 0.2
add_multiplied_base Applied to zombies and piglins as babies, and removed when they are not babies.
minecraft:attacking movement_speed Enderman: 0.15
Zombified piglin: 0.05
add_value Applied to endermen when they acquire a target, and removed when they lose it.
Applied to adult zombified piglins when they get angry, and removed when they stop being angry.
minecraft:covered armor 20.0 add_value Applied to shulkers when their shell fully closes, and removed when it opens.
minecraft:creative_mode_block_range block_interaction_range 0.5 add_value Applied to players when they enter creative mode, and removed when leaving creative mode.
minecraft:creative_mode_entity_range entity_interaction_range 2.0 add_value Applied to players when they enter creative mode, and removed when leaving creative mode.
minecraft:drinking movement_speed -0.25 add_value Applied to witches when they start drinking a potion, and removed when they finish drinking it.
minecraft:powder_snow movement_speed -0.05*getPercentFrozen() add_value Applied to all living entities that are inside powder snow or have the Freezing effect​[upcoming: JE 26.4] (TicksFrozen > 0), and removed when the frost effect wears off (TicksFrozen=0). The getPercentFrozen() is the float min(140,TicksFrozen)/140.
minecraft:sprinting movement_speed 0.3 add_multiplied_total Applied to all living entities when they start sprinting, and removed when they stop.
minecraft:waypoint_transmit_range_crouch waypoint_transmit_range -1.0 add_multiplied_total Applied to players when they start sneaking, and removed when they stop.
minecraft:evil attack_damage 5.0 add_value Applied to rabbits when they become the killer bunny, and removed when they become a different variant.
minecraft:suffocating attack_damage -0.34 add_multiplied_base Applied to striders when they become cold outside of lava, and removed when they return to lava.

History

Java Edition

Java Edition
1.6.113w16a Added attributes and modifiers.
The following attributes existed: "Max Health", "Follow Range", "Knockback Resistance"; furthermore, "Jump Strength" and "Speed" existed as horse-specific attributes.
The only modifiers were both "Random spawn bonus", one used on Zombies to knockback resistance with operation 0, and the other on all mobs to follow range with operation 1.
13w17a Added "Spawn Reinforcements Chance" attribute for Zombies.
Added "Zombie reinforcement charge" (to spawn reinforcements charge), "Random zombie-spawn bonus" (to follow range), and "Leader zombie bonus" (to both reinforcements charge and max health).
13w18a Replaced "Zombie reinforcement charge" with "Zombie reinforcement caller charge"
13w21a Attributes now can be specified in NBT.
Attributes now have IDs and corresponding translation keys.
Modifiers now display on items.
Added "Attack Damage" and made "Speed" generic.
Added "potion.moveSpeed", "potion.moveSlowdown", "potion.damageBoost", and "potion.weakness" modifiers.
Added "Sprinting speed boost", "Fleeing speed bonus", "Attacking speed boost" (for both pigmen and endermen), "Drinking speed penalty", and "Baby speed boost".
Added "Tool modifier" and "Weapon modifier".
13w23b Added "potion.healthBoost" modifier.
1.7.213w36a Attributes/modifiers can be added to items or mobs without the use of third-party NBT editing software by adding data tags to the /give and /summon commands.
1.915w34b Added attack speed attribute.
15w36d Added armor attribute.
15w44b Added luck attribute.
1.9.1pre1 Added armorToughness attribute.
1.12pre1 Added flyingSpeed attribute.
1.1418w43a Added attackKnockback attribute.
1.1620w06a Knockback resistance is now a scale rather than probability.
20w14a Items and entities no longer keep unknown attributes.
Names of some attributes have been renamed to meet resource location requirements (i.e., lowercase separated by underscores instead of camel case).
Renamed generic.maxHealth to generic.max_health.
Renamed zombie.spawnReinforcements to zombie.spawn_reinforcements.
Renamed horse.jumpStrength to horse.jump_strength.
Renamed generic.followRange to generic.follow_range.
Renamed generic.knockbackResistance to generic.knockback_resistance.
Renamed generic.movementSpeed to generic.movement_speed.
Renamed generic.flyingSpeed to generic.flying_speed.
Renamed generic.attackDamage to generic.attack_damage
Renamed generic.attackKnockback to generic.attack_knockback
Renamed generic.attackSpeed to generic.attack_speed
Renamed generic.armorToughness to generic.armor_toughness.
20w17a Added the /attribute command, which can query and change attributes.
1.18.222w03a Knockback resistance no longer gives a 50% chance to ignore all knockback.
1.20.223w31a Added the generic.max_absorption attribute.
1.20.523w51a Added generic.scale and generic.step_height attributes for all living entities, as well as generic.block_interaction_range and generic.entity_interaction_range attributes for players.
24w03a Renamed generic.block_interaction_range and generic.entity_interaction_range to player.block_interaction_range and player.entity_interaction_range.
24w06a Added generic.gravity, generic.safe_fall_distance, generic.fall_damage_multiplier and player.block_break_speed attributes.
Renamed horse.jump_strength to generic.jump_strength.
1.2124w18a Added generic.burning_time, generic.explosion_knockback_resistance, player.mining_efficiency, generic.movement_efficiency, generic.oxygen_bonus, player.sneaking_speed, player.submerged_mining_speed, player.sweeping_damage_ratioand generic.water_movement_efficiency attributes.
generic.attack_knockback attribute now also works for players.
24w21a The uuid and name arguments have been replaced with a singular id argument.
1.21.224w33a Added the tempt_range attribute.
Removed the generic., player., or zombie. prefixes from all the attributes. Instead of using the resource locations, the argument instead just asks for the name of the attribute.
1.21.424w44a Players can no longer sprint while sneaking or crawling when having the sneaking_speed attribute set to 0.8 or higher.[5]
1.21.6
Experiment
Locator Bar
25w15a Added waypoint_transmit_range and waypoint_receive_range attributes.
1.21.625w15a Added camera_distance attribute.
25w17a waypoint_transmit_range and waypoint_receive_range are no longer experimental.
26.2snap1 Added bounciness, friction_modifier, and air_drag_modifier attributes.
The minimum value of minecraft:knockback_resistance is now -2.0.
snap 4 Added nameplate_distance and below_name_distance attributes.
snap 5 Renamed nameplate_distance to name_tag_distance.
Java Edition Combat Tests
1.14.3 Added generic.attackReach attribute.
6 Renamed generic.attackReach to generic.attack_reach.

Bedrock Edition

Legacy Console Edition

Legacy Console Edition
Xbox 360Xbox OnePS3PS4PS VitaWii USwitch
TU19CU71.121.121.12Patch 11.0.1 Added attributes.
TU36CU251.281.281.28Patch 7 Attributes of items are shown above the HUD when switching items in the hotbar if the item has less than 3 enchantments.
TU46CU361.381.381.38Patch 15 Added armor and luck attributes.
TU54CU441.521.521.52Patch 241.0.4 Added flying speed attribute.

Issues

Issues relating to "Attribute" are maintained on the bug tracker. Issues should be reported and viewed there.

References

  1. ↑ MC-32578 – Attribute "knockback_resistance" ineffective against explosions – resolved as "Invalid".
  2. ↑ MC-301000
  3. ↑ MC-268917
  4. ↑ MC-133544 – resolved as "Works As Intended".
  5. ↑ MC-278349
Advertisement Remove ads with Premium →

More in Java Edition

View all 57 →
AdvancementAdvancements are a way to gradually guide new players into Minecraft and give them challenges to complete, similar to the system of achievements in…Bad LuckBad LuckBad Luck is a status effect found exclusively in Java Edition and Legacy Console Edition that decreases the chance of the player getting high-quality…BlobBlobA blob is a feature consisting of basalt or blackstone blocks, which replaces netherrack blocks during world generation. They exclusively generate in…ColosseumColosseumA colosseum is a large structure found in the Potato dimension, exclusive to 24w14potato. It houses the mega spud boss.Debug screenDebug screenThe debug screen, debug overlay or F3 screen functions as a menu for accessing debugging information, but it also provides useful in-game information like…Debug StickDebug StickThe debug stick is an item used to edit the block states of blocks. It is visually identical to a regular stick, but with a glint (as if enchanted).DialogDialogs are simple modal windows that can display information and receive player input.Dolphin's GraceDolphin's GraceDolphin's Grace is a status effect that increases an entity's speed while they are in water. It is obtained by sprint-swimming while a dolphin is nearby.…
Advertisement Remove ads with Premium →

Related mods

AttributeFix AttributeFix Mod · 233.1M downloads Apothic Attributes Apothic Attributes Mod · 83.8M downloads Pufferfish's Attributes [Fabric & Forge & NeoForge] Pufferfish's Attributes [Fabric & Forge & NeoForge] Mod · 24.6M downloads Projectile Damage Attribute [Fabric & Forge] Projectile Damage Attribute [Fabric & Forge] Mod · 21M downloads
Explore the Minecraft Wiki
Blocks, items, mobs, biomes and game mechanics — all in one place.
Wiki home