Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Attribute: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Sync: updated from Minecraft
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
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.
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.


{{-}}{{anchor|air_drag_modifier}}
{{-}}
=== Air Drag Modifier ===
=== <span class="anchor" id="air_drag_modifier"></span>Air Drag Modifier ===
{{Infobox attribute
{{Infobox attribute
| title = Air Drag Modifier
| title = Air Drag Modifier
Line 21: Line 21:
This attribute modifies the air drag an entity experiences. The final air drag is calculated as <math>1-\left(1-\text{friction}\right)\cdot \text{air drag modifier}</math>, clamped to 0 to 1. The friction is 0.91 for [[Minecraft:sulfur cube]]s that have absorbed a block, [[Minecraft:parrot]]s, and [[Minecraft:bee]]s. For all other entities, including sulfur cubes that have no absorbed block, the friction is 0.98.
This attribute modifies the air drag an entity experiences. The final air drag is calculated as <math>1-\left(1-\text{friction}\right)\cdot \text{air drag modifier}</math>, clamped to 0 to 1. The friction is 0.91 for [[Minecraft:sulfur cube]]s that have absorbed a block, [[Minecraft:parrot]]s, and [[Minecraft:bee]]s. For all other entities, including sulfur cubes that have no absorbed block, the friction is 0.98.


{{-}}{{anchor|armor}}
{{-}}
 
=== <span class="anchor" id="armor"></span>Armor ===
=== Armor ===
{{Infobox attribute
{{Infobox attribute
| title = Armor
| title = Armor
Line 51: Line 50:
|}
|}


{{-}}{{anchor|armor_toughness}}
{{-}}
=== Armor Toughness ===
=== <span class="anchor" id="armor_toughness"></span>Armor Toughness ===
{{Infobox attribute
{{Infobox attribute
| title = Armor Toughness
| title = Armor Toughness
Line 63: Line 62:
This attribute determines an entity's [[Minecraft:armor toughness]].
This attribute determines an entity's [[Minecraft:armor toughness]].


{{-}}{{anchor|attack_damage}}
{{-}}
=== Attack Damage ===
=== <span class="anchor" id="attack_damage"></span>Attack Damage ===
{{Infobox attribute
{{Infobox attribute
| title = Attack Damage
| title = Attack Damage
Line 99: Line 98:
| {{EntityLink|Vex}} {{EntityLink|Wolf}} {{EntityLink|Wither Skeleton}} || {{hp|4}}
| {{EntityLink|Vex}} {{EntityLink|Wolf}} {{EntityLink|Wither Skeleton}} || {{hp|4}}
|-
|-
| {{EntityLink|Cat}} {{EntityLink|Dolphin}} {{EntityLink|Drowned}} {{EntityLink|Husk}} {{EntityLink|Ocelot}} {{EntityLink|Zombie}} {{EntityLink|Zombie Villager}} {{EntityLink|Nautilus}} {{EntityLink|Zombie Nautilus}} {{EntityLink|Parrot}} {{EntityLink|Rabbit}} {{EntityLink|Breeze}} {{EntityLink|Creaking}} {{EntityLink|Frostbite}}
| {{EntityLink|Cat}} {{EntityLink|Dolphin}} {{EntityLink|Drowned}} {{EntityLink|Husk}} {{EntityLink|Ocelot}} {{EntityLink|Zombie}} {{EntityLink|Zombie Villager}} {{EntityLink|Nautilus}} {{EntityLink|Zombie Nautilus}} {{EntityLink|Parrot}} {{EntityLink|Rabbit}} {{EntityLink|Breeze}} {{EntityLink|Creaking}} {{EntityLink|Frostbite}} || {{hp|3}}
| {{hp|3}}
|-
|-
| {{EntityLink|Allay}} {{EntityLink|Axolotl}} {{EntityLink|Bee}} {{EntityLink|Fox}} {{EntityLink|Goat}} {{EntityLink|Endermite}} {{EntityLink|Creeper}} {{EntityLink|Witch}} {{EntityLink|Evoker}} {{EntityLink|Illusioner}} {{EntityLink|Skeleton}} {{EntityLink|Bogged}} {{EntityLink|Parched}} {{EntityLink|Spider}} {{EntityLink|Cave Spider}} || {{hp|2}}
| {{EntityLink|Allay}} {{EntityLink|Axolotl}} {{EntityLink|Bee}} {{EntityLink|Fox}} {{EntityLink|Goat}} {{EntityLink|Endermite}} {{EntityLink|Creeper}} {{EntityLink|Witch}} {{EntityLink|Evoker}} {{EntityLink|Illusioner}} {{EntityLink|Skeleton}} {{EntityLink|Bogged}} {{EntityLink|Parched}} {{EntityLink|Spider}} {{EntityLink|Cave Spider}} || {{hp|2}}
Line 113: Line 111:
|}
|}


{{-}}{{anchor|attack_knockback}}
{{-}}
=== Attack Knockback ===
=== <span class="anchor" id="attack_knockback"></span>Attack Knockback ===
{{Infobox attribute
{{Infobox attribute
| title = Attack Knockback
| title = Attack Knockback
Line 133: Line 131:
|}
|}


{{-}}{{anchor|attack_speed}}
{{-}}
=== Attack Speed ===
=== <span class="anchor" id="attack_speed"></span>Attack Speed ===
{{Infobox attribute
{{Infobox attribute
| title = Attack Speed
| title = Attack Speed
Line 144: Line 142:
This attribute determines the rate at which a [[Minecraft:player]]'s [[Minecraft:Melee attack#Attack cooldown|attack cooldown]] recharges. Its value is the number of full-strength attacks per second. Only players have this attribute.
This attribute determines the rate at which a [[Minecraft:player]]'s [[Minecraft:Melee attack#Attack cooldown|attack cooldown]] recharges. Its value is the number of full-strength attacks per second. Only players have this attribute.


{{-}}{{anchor|below_name_distance}}
{{-}}
=== Nameplate Score Distance ===
=== <span class="anchor" id="below_name_distance"></span>Nameplate Score Distance ===
{{Infobox attribute
{{Infobox attribute
| title = Nameplate Score Distance
| title = Nameplate Score Distance
Line 155: Line 153:
This attribute determines the distance within which a [[Minecraft:scoreboard]] objective with a {{cd|below_name}} display slot is visible above an entity.
This attribute determines the distance within which a [[Minecraft:scoreboard]] objective with a {{cd|below_name}} display slot is visible above an entity.


{{-}}{{anchor|block_break_speed}}
{{-}}
=== Block Break Speed ===
=== <span class="anchor" id="block_break_speed"></span>Block Break Speed ===
{{Infobox attribute
{{Infobox attribute
| title = Block Break Speed
| title = Block Break Speed
Line 166: Line 164:
This attribute multiplies the speed at which a [[Minecraft:player]] [[Minecraft:Breaking|breaks blocks]]. Only players have this attribute.
This attribute multiplies the speed at which a [[Minecraft:player]] [[Minecraft:Breaking|breaks blocks]]. Only players have this attribute.


{{-}}{{anchor|block_interaction_range}}
{{-}}
=== Block Interaction Range ===
=== <span class="anchor" id="block_interaction_range"></span>Block Interaction Range ===
{{Infobox attribute
{{Infobox attribute
| title = Block Interaction Range
| title = Block Interaction Range
Line 177: Line 175:
This attribute determines the block [[Minecraft:interaction range]] for players. Only players have this attribute.
This attribute determines the block [[Minecraft:interaction range]] for players. Only players have this attribute.


{{-}}{{anchor|bounciness}}
{{-}}
=== Bounciness ===
=== <span class="anchor" id="bounciness"></span>Bounciness ===
{{Infobox attribute
{{Infobox attribute
| title = Bounciness
| title = Bounciness
Line 188: Line 186:
This attribute determines the restitution of motion an entity is given when landing on the ground.
This attribute determines the restitution of motion an entity is given when landing on the ground.


{{-}}{{anchor|burning_time}}
{{-}}
=== Burning Time ===
=== <span class="anchor" id="burning_time"></span>Burning Time ===
{{Infobox attribute
{{Infobox attribute
| title = Burning Time
| title = Burning Time
Line 199: Line 197:
This attribute multiplies the duration for which an entity should remain on [[Minecraft:fire]] after being ignited.
This attribute multiplies the duration for which an entity should remain on [[Minecraft:fire]] after being ignited.


{{-}}{{anchor|camera_distance}}
{{-}}
=== Camera Distance ===
=== <span class="anchor" id="camera_distance"></span>Camera Distance ===
{{Infobox attribute
{{Infobox attribute
| title = Camera Distance
| title = Camera Distance
Line 218: Line 216:
|}
|}


{{-}}{{anchor|entity_interaction_range}}
{{-}}
=== Entity Interaction Range ===
=== <span class="anchor" id="entity_interaction_range"></span>Entity Interaction Range ===
{{Infobox attribute
{{Infobox attribute
| title = Entity Interaction Range
| title = Entity Interaction Range
Line 229: Line 227:
This attribute determines the entity [[Minecraft:interaction range]] for players.
This attribute determines the entity [[Minecraft:interaction range]] for players.


{{-}}{{anchor|explosion_knockback_resistance}}
{{-}}
=== Explosion Knockback Resistance ===
=== <span class="anchor" id="explosion_knockback_resistance"></span>Explosion Knockback Resistance ===
{{Infobox attribute
{{Infobox attribute
| title = Explosion Knockback Resistance
| title = Explosion Knockback Resistance
Line 240: Line 238:
This attribute determines the proportion of knockback from [[Minecraft:explosion]]s an entity resists. A value of 1 eliminates the knockback.
This attribute determines the proportion of knockback from [[Minecraft:explosion]]s an entity resists. A value of 1 eliminates the knockback.


{{-}}{{anchor|fall_damage_multiplier}}
{{-}}
=== Fall Damage Multiplier ===
=== <span class="anchor" id="fall_damage_multiplier"></span>Fall Damage Multiplier ===
{{Infobox attribute
{{Infobox attribute
| title = Fall Damage Multiplier
| title = Fall Damage Multiplier
Line 257: Line 255:
|}
|}


{{-}}{{anchor|flying_speed}}
{{-}}
=== Flying Speed ===
=== <span class="anchor" id="flying_speed"></span>Flying Speed ===
{{Infobox attribute
{{Infobox attribute
| title = Flying Speed
| title = Flying Speed
Line 282: Line 280:
|}
|}


{{-}}{{anchor|follow_range}}
{{-}}
=== Mob Follow Range ===
=== <span class="anchor" id="follow_range"></span>Mob Follow Range ===
{{Infobox attribute
{{Infobox attribute
| title = Mob Follow Range
| title = Mob Follow Range
Line 319: Line 317:
|}
|}


{{-}}{{anchor|friction_modifier}}
{{-}}
=== Friction Modifier ===
=== <span class="anchor" id="friction_modifier"></span>Friction Modifier ===
{{Infobox attribute
{{Infobox attribute
| title = Friction Modifier
| title = Friction Modifier
Line 330: Line 328:
This attribute determines the friction experienced by an entity.{{info needed}}
This attribute determines the friction experienced by an entity.{{info needed}}


{{-}}{{anchor|gravity}}
{{-}}
=== Gravity ===
=== <span class="anchor" id="gravity"></span>Gravity ===
{{Infobox attribute
{{Infobox attribute
| title = Gravity
| title = Gravity
Line 341: Line 339:
This attribute determines the gravity affecting an entity in blocks per tick squared.
This attribute determines the gravity affecting an entity in blocks per tick squared.


{{-}}{{anchor|jump_strength}}
{{-}}
=== Jump Strength ===
=== <span class="anchor" id="jump_strength"></span>Jump Strength ===
{{Infobox attribute
{{Infobox attribute
| title = Jump Strength
| title = Jump Strength
Line 360: Line 358:
|}
|}


{{-}}{{anchor|knockback_resistance}}
{{-}}
=== Knockback Resistance ===
=== <span class="anchor" id="knockback_resistance"></span>Knockback Resistance ===
{{Infobox attribute
{{Infobox attribute
| title = Knockback Resistance
| title = Knockback Resistance
Line 388: Line 386:
|}
|}


{{-}}{{anchor|luck}}
{{-}}
=== Luck ===
=== <span class="anchor" id="luck"></span>Luck ===
{{Infobox attribute
{{Infobox attribute
| title = Luck
| title = Luck
Line 404: Line 402:
Only players have this attribute.
Only players have this attribute.


{{-}}{{anchor|max_absorption}}
{{-}}
=== Max Absorption ===
=== <span class="anchor" id="max_absorption"></span>Max Absorption ===
{{Infobox attribute
{{Infobox attribute
| title = Max Absorption
| title = Max Absorption
Line 415: Line 413:
This attribute determines an entity's maximum [[Minecraft:absorption]].
This attribute determines an entity's maximum [[Minecraft:absorption]].


{{-}}{{anchor|max_health}}
{{-}}
=== Max Health ===
=== <span class="anchor" id="max_health"></span>Max Health ===
{{Infobox attribute
{{Infobox attribute
| title = Max Health
| title = Max Health
Line 454: Line 452:
| {{EntityLink|Evoker}} {{EntityLink|Pillager}} {{EntityLink|Vindicator}} {{EntityLink|Frostbite}}|| {{hp|24}}
| {{EntityLink|Evoker}} {{EntityLink|Pillager}} {{EntityLink|Vindicator}} {{EntityLink|Frostbite}}|| {{hp|24}}
|-
|-
| {{EntityLink|Player}} {{EntityLink|Zombie}} {{EntityLink|Zombie Villager}} {{EntityLink|Husk}} {{EntityLink|Drowned}} {{EntityLink|Zombified Piglin}} {{EntityLink|Skeleton}} {{EntityLink|Stray}} {{EntityLink|Wither Skeleton}} {{EntityLink|Creeper}} {{EntityLink|Blaze}} {{EntityLink|Strider}}
| {{EntityLink|Player}} {{EntityLink|Zombie}} {{EntityLink|Zombie Villager}} {{EntityLink|Husk}} {{EntityLink|Drowned}} {{EntityLink|Zombified Piglin}} {{EntityLink|Skeleton}} {{EntityLink|Stray}} {{EntityLink|Wither Skeleton}} {{EntityLink|Creeper}} {{EntityLink|Blaze}} {{EntityLink|Strider}} {{EntityLink|Villager}} {{EntityLink|Wandering Trader}} {{EntityLink|Phantom}} {{EntityLink|Panda}} {{EntityLink|Allay}} {{EntityLink|Happy Ghast}} {{EntityLink|Cat}} (tamed){{only|be}} || {{hp|20}}
{{EntityLink|Villager}} {{EntityLink|Wandering Trader}} {{EntityLink|Phantom}} {{EntityLink|Panda}} {{EntityLink|Allay}} {{EntityLink|Happy Ghast}} {{EntityLink|Cat}}(tamed){{only|be}}
| {{hp|20}}
|-
|-
| {{EntityLink|Piglin}} {{EntityLink|Bogged}} {{EntityLink|Parched}} {{EntityLink|Spider}} || {{hp|16}}
| {{EntityLink|Piglin}} {{EntityLink|Bogged}} {{EntityLink|Parched}} {{EntityLink|Spider}} || {{hp|16}}
Line 466: Line 462:
| {{EntityLink|Armadillo}} {{EntityLink|Copper Golem}} {{EntityLink|Cave Spider}} || {{hp|12}}
| {{EntityLink|Armadillo}} {{EntityLink|Copper Golem}} {{EntityLink|Cave Spider}} || {{hp|12}}
|-
|-
| {{EntityLink|Bee}} {{EntityLink|Cow}} {{EntityLink|Mooshroom}} {{EntityLink|Dolphin}} {{EntityLink|Cat}} {{EntityLink|Ocelot}} {{EntityLink|Fox}} {{EntityLink|Frog}} {{EntityLink|Goat}} {{EntityLink|Panda}}(weak) {{EntityLink|Pig}} {{EntityLink|Squid}} {{EntityLink|Glow Squid}} {{EntityLink|Ghast}} || {{hp|10}}
| {{EntityLink|Bee}} {{EntityLink|Cow}} {{EntityLink|Mooshroom}} {{EntityLink|Dolphin}} {{EntityLink|Cat}} {{EntityLink|Ocelot}} {{EntityLink|Fox}} {{EntityLink|Frog}} {{EntityLink|Goat}} {{EntityLink|Panda}} (weak) {{EntityLink|Pig}} {{EntityLink|Squid}} {{EntityLink|Glow Squid}} {{EntityLink|Ghast}} || {{hp|10}}
|-
|-
| {{EntityLink|Sheep}} {{EntityLink|Wolf}} {{EntityLink|Endermite}} {{EntityLink|Silverfish}} || {{hp|8}}
| {{EntityLink|Sheep}} {{EntityLink|Wolf}} {{EntityLink|Endermite}} {{EntityLink|Silverfish}} || {{hp|8}}
Line 484: Line 480:
| {{EntityLink|Sulfur Cube}} || {{hp|4}} × ''Size''
| {{EntityLink|Sulfur Cube}} || {{hp|4}} × ''Size''
|-
|-
|{{EntityLink|Frostbite}}(leaders)‌
| {{EntityLink|Frostbite}} (leader)‌ || Random<br>({{hp|48}} – {{hp|120}})
|Random<br>({{hp|48}} – {{hp|120}})
|-
|-
|{{EntityLink|Zombie}}(leaders) {{EntityLink|Zombie Villager}}(leaders)‌ {{EntityLink|Husk}}(leaders)‌ {{EntityLink|Drowned}}(leaders)‌ {{EntityLink|Zombified Piglin}}(leaders)‌
| {{EntityLink|Zombie}} (leader) {{EntityLink|Zombie Villager}} (leader)‌ {{EntityLink|Husk}} (leader)‌ {{EntityLink|Drowned}} (leader)‌ {{EntityLink|Zombified Piglin}} (leader)‌ || Random<br>({{hp|40}} – {{hp|100}})
|Random<br>({{hp|40}} – {{hp|100}})
|}
|}


{{-}}{{anchor|mining_efficiency}}
{{-}}
=== Mining Efficiency ===
=== <span class="anchor" id="mining_efficiency"></span>Mining Efficiency ===
{{Infobox attribute
{{Infobox attribute
| title = Mining Efficiency
| title = Mining Efficiency
Line 502: Line 496:
This attribute increases the speed at which a [[Minecraft:player]] [[Minecraft:Breaking|breaks blocks]]. Only players have this attribute.
This attribute increases the speed at which a [[Minecraft:player]] [[Minecraft:Breaking|breaks blocks]]. Only players have this attribute.


{{-}}{{anchor|movement_efficiency}}
{{-}}
=== Movement Efficiency ===
=== <span class="anchor" id="movement_efficiency"></span>Movement Efficiency ===
{{Infobox attribute
{{Infobox attribute
| title = Movement Efficiency
| title = Movement Efficiency
Line 513: Line 507:
This attribute is a factor to improve walking on terrain that slows down movement, such as [[Minecraft:soul sand]]. A value of 1 removes the slowdown.
This attribute is a factor to improve walking on terrain that slows down movement, such as [[Minecraft:soul sand]]. A value of 1 removes the slowdown.


{{-}}{{anchor|movement_speed}}
{{-}}
=== Movement Speed ===
=== <span class="anchor" id="movement_speed"></span>Movement Speed ===
{{Infobox attribute
{{Infobox attribute
| title = Movement Speed
| title = Movement Speed
Line 551: Line 545:
| {{EntityLink|Blaze}} {{EntityLink|Drowned}} {{EntityLink|Husk}} {{EntityLink|Sheep}} {{EntityLink|Zombie}} {{EntityLink|Zombie Villager}} {{EntityLink|Zombified Piglin}} || 0.23
| {{EntityLink|Blaze}} {{EntityLink|Drowned}} {{EntityLink|Husk}} {{EntityLink|Sheep}} {{EntityLink|Zombie}} {{EntityLink|Zombie Villager}} {{EntityLink|Zombified Piglin}} || 0.23
|-
|-
|{{EntityLink|Frostbite}}
| {{EntityLink|Frostbite}} || 0.21
|0.21
|-
|-
| {{EntityLink|Cow}} {{EntityLink|Goat}} {{EntityLink|Mooshroom}} {{EntityLink|Parrot}} {{EntityLink|Skeleton Horse}} {{EntityLink|Snow Golem}} {{EntityLink|Copper Golem}} {{EntityLink|Magma Cube}} || 0.2
| {{EntityLink|Cow}} {{EntityLink|Goat}} {{EntityLink|Mooshroom}} {{EntityLink|Parrot}} {{EntityLink|Skeleton Horse}} {{EntityLink|Snow Golem}} {{EntityLink|Copper Golem}} {{EntityLink|Magma Cube}} || 0.2
Line 577: Line 570:
|}
|}


{{-}}{{anchor|nameplate_distance}}
{{-}}
 
=== <span class="anchor" id="nameplate_distance"></span>Name Tag Distance ===
=== Name Tag Distance ===
{{Infobox attribute
{{Infobox attribute
| title = Name Tag Distance
| title = Name Tag Distance
Line 589: Line 581:
This attribute determines the distance within which an entity's [[Minecraft:custom name]] is visible.
This attribute determines the distance within which an entity's [[Minecraft:custom name]] is visible.


{{-}}{{anchor|oxygen_bonus}}
{{-}}
=== Oxygen Bonus ===
=== <span class="anchor" id="oxygen_bonus"></span>Oxygen Bonus ===
{{Infobox attribute
{{Infobox attribute
| title = Oxygen Bonus
| title = Oxygen Bonus
Line 598: Line 590:
| max = 1024
| max = 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 {{frac|1|(oxygen_bonus + 1)}}.
This attribute determines the chance that an entity's remaining air decreases while underwater in any given game tick. The chance is {{frac|1|(oxygen_bonus + 1)}}.


{{-}}{{anchor|safe_fall_distance}}
{{-}}
=== Safe Fall Distance ===
=== <span class="anchor" id="safe_fall_distance"></span>Safe Fall Distance ===
{{Infobox attribute
{{Infobox attribute
| title = Safe Fall Distance
| title = Safe Fall Distance
Line 619: Line 611:
|}
|}


{{-}}{{anchor|scale}}
{{-}}
=== Scale ===
=== <span class="anchor" id="scale"></span>Scale ===
{{Infobox attribute
{{Infobox attribute
| title = Scale
| title = Scale
Line 630: Line 622:
This attribute multiplies an entity's size and [[Minecraft:hitbox]] dimensions.
This attribute multiplies an entity's size and [[Minecraft:hitbox]] dimensions.


{{-}}{{anchor|sneaking_speed}}
{{-}}
=== Sneaking Speed ===
=== <span class="anchor" id="sneaking_speed"></span>Sneaking Speed ===
{{Infobox attribute
{{Infobox attribute
| title = Sneaking Speed
| title = Sneaking Speed
Line 641: Line 633:
This attribute multiplies a player's movement speed when [[Minecraft:sneaking]] or [[Minecraft:crawling]]. Only players have this attribute.
This attribute multiplies a player's movement speed when [[Minecraft:sneaking]] or [[Minecraft:crawling]]. Only players have this attribute.


{{-}}{{anchor|spawn_reinforcements}}
{{-}}
=== Zombie Reinforcements ===
=== <span class="anchor" id="spawn_reinforcements"></span>Zombie Reinforcements ===
{{Infobox attribute
{{Infobox attribute
| title = Zombie Reinforcements
| title = Zombie Reinforcements
Line 657: Line 649:
| {{EntityLink|Zombie}} {{EntityLink|Husk}} {{EntityLink|Drowned}} {{EntityLink|Zombie Villager}} {{EntityLink|Frostbite}}|| Random<br>(0 – 0.1)
| {{EntityLink|Zombie}} {{EntityLink|Husk}} {{EntityLink|Drowned}} {{EntityLink|Zombie Villager}} {{EntityLink|Frostbite}}|| Random<br>(0 – 0.1)
|-
|-
| {{EntityLink|Zombified Piglin}} || 0<ref>{{bug|MC-301000}}</ref>
| {{EntityLink|Zombified Piglin}} || 0<ref>{{bug|MC-301000||Non-leader zombified piglins will never summon reinforcements, unlike other zombie variants
}}</ref>
|}
|}


{{-}}{{anchor|step_height}}
{{-}}
=== Step Height ===
 
=== <span class="anchor" id="step_height"></span>Step Height ===
{{Infobox attribute
{{Infobox attribute
| title = Step Height
| title = Step Height
Line 683: Line 677:
|}
|}


{{-}}{{anchor|submerged_mining_speed}}
{{-}}
 
=== <span class="anchor" id="submerged_mining_speed"></span>Submerged Mining Speed ===
=== Submerged Mining Speed ===
{{Infobox attribute
{{Infobox attribute
| title = Submerged Mining Speed
| title = Submerged Mining Speed
Line 695: Line 688:
This attribute multiplies a player's mining speed when underwater. Only players have this attribute.
This attribute multiplies a player's mining speed when underwater. Only players have this attribute.


{{-}}{{anchor|sweeping_damage_ratio}}
{{-}}
=== Sweeping Damage Ratio ===
=== <span class="anchor" id="sweeping_damage_ratio"></span>Sweeping Damage Ratio ===
{{Infobox attribute
{{Infobox attribute
| title = Sweeping Damage Ratio
| title = Sweeping Damage Ratio
Line 706: Line 699:
This attribute determines the proportion of the base attack damage dealt to secondary targets when a player performs a [[Minecraft:sweep attack]]. This is in addition to the base damage of the sweep damage itself. Only players have this attribute.
This attribute determines the proportion of the base attack damage dealt to secondary targets when a player performs a [[Minecraft:sweep attack]]. This is in addition to the base damage of the sweep damage itself. Only players have this attribute.


{{-}}{{anchor|tempt_range}}
{{-}}
=== Mob Tempt Range ===
=== <span class="anchor" id="tempt_range"></span>Mob Tempt Range ===
{{Infobox attribute
{{Infobox attribute
| title = Mob Tempt Range
| title = Mob Tempt Range
Line 728: Line 721:
|}
|}


{{-}}{{anchor|water_movement_efficiency}}
{{-}}
=== Water Movement Efficiency ===
=== <span class="anchor" id="water_movement_efficiency"></span>Water Movement Efficiency ===
{{Infobox attribute
{{Infobox attribute
| title = Water Movement Efficiency
| title = Water Movement Efficiency
Line 739: Line 732:
This attribute determines movement speed and drag when touching [[Minecraft:water]].{{info needed|How exactly are movement speed and drag calculated from it?}}
This attribute determines movement speed and drag when touching [[Minecraft:water]].{{info needed|How exactly are movement speed and drag calculated from it?}}


{{-}}{{anchor|waypoint_receive_range}}
{{-}}
 
=== <span class="anchor" id="waypoint_receive_range"></span>Waypoint Receive Range ===
=== Waypoint Receive Range ===
{{Infobox attribute
{{Infobox attribute
| title = Waypoint Receive Range
| title = Waypoint Receive Range
Line 757: Line 749:
|}
|}


{{-}}{{anchor|waypoint_transmit_range}}
{{-}}
=== Waypoint Transmit Range ===
=== <span class="anchor" id="waypoint_transmit_range"></span>Waypoint Transmit Range ===
{{Infobox attribute
{{Infobox attribute
| title = Waypoint Transmit Range
| title = Waypoint Transmit Range
Line 775: Line 767:


{{-}}
{{-}}
== Modifiers ==
== Modifiers ==


Line 793: Line 784:
| Adds all of the modifiers' amounts to the base attribute.
| Adds all of the modifiers' amounts to the base attribute.


<math>\text{Total} = \text{Base} + \text{Amount}_1 + \text{Amount}_2 + \ldots + \text{Amount}_n</math>
<math>\text{Total}=\text{base}+\text{amount}_1+\text{amount}_2+\ldots+\text{amount}_n</math>


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


<math>\text{Total} = 3 + 2 + 4 = 9</math>
<math>\text{Total}=3+2+4=9</math>
|-
|-
| '''add_multiplied_base'''
| '''add_multiplied_base'''
| Multiplies the base attribute by (1 + sum of modifiers' amounts).
| Multiplies the base attribute by (1 + sum of modifiers' amounts).


<math>\text{Total} = \text{Base} \times (1 + \text{Amount}_1 + \text{Amount}_2 + \ldots + \text{Amount}_n)</math>{{note|Simplified, the calculation used in the game's code is like: <math>\text{Total} = \text{Base} + (\text{Base} \times \text{Amount}_1) + (\text{Base} \times \text{Amount}_2) + \ldots + (\text{Base} \times \text{Amount}_n)</math>}}
<math>\text{Total}=\text{base}\cdot\left(1+\text{amount}_1+\text{amount}_2+\ldots+\text{amount}_n\right)</math>


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


<math>\text{Total} = 3 \times (1 + 2 + 4) = 3 \times 7 = 21</math>
<math>\text{Total}=3\cdot\left(1+2+4\right)=3\cdot7=21</math>
|-
|-
| '''add_multiplied_total'''
| '''add_multiplied_total'''
| Multiplies the base attribute by (1 + modifiers' amounts) for every modifier.
| Multiplies the base attribute by (1 + modifiers' amounts) for every modifier.


<math>\text{Total} = \text{Base} \times (1 + \text{Amount}_1) \times (1 + \text{Amount}_2) \times \ldots \times (1 + \text{Amount}_n)</math>
<math>\text{Total}=\text{base}\cdot\left(1+\text{amount}_1\right)\cdot\left(1+\text{amount}_2\right)\cdot\ldots\cdot\left(1+\text{amount}_n\right)</math>


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


<math>\text{Total} = 3 \times (1 + 2) \times (1 + 4) = 3 \times 3 \times 5 = 45</math>
<math>\text{Total}=3\cdot\left(1+2\right)\cdot\left(1+4\right)=3\cdot3\cdot5=45</math>
|}
|}


If multiple modifiers are applied to an attribute, the game first executes all {{cd|add_value}} modifiers, then  all {{cd|add_multiplied_base}} modifiers, and finally all {{cd|add_multiplied_total}} modifiers. The ''Total'' value is always carried as the ''Base'' for the next set of modifiers.
If multiple modifiers are applied to an attribute, the game first executes all {{cd|add_value}} modifiers, then  all {{cd|add_multiplied_base}} modifiers, and finally all {{cd|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.
The final value is clamped to fit the attribute's minimum and maximum value range.
Line 1,011: Line 1,002:


===== Effects =====
===== Effects =====
Some [[Minecraft:status effect]]s 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 [[Minecraft:effect potency]] (in other words, multiplied by {{cd|amplifier + 1}}).
Some [[Minecraft:status effect]]s 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 [[Minecraft:effect potency]] (in other words, multiplied by {{cd|amplifier}} + 1).


{| class="wikitable stikitable sortable collapsible" style="width:100%" data-description="Modifiers"
{| class="wikitable stikitable sortable collapsible" style="width:100%" data-description="Modifiers"
Line 1,094: Line 1,085:


===== Misc =====
===== Misc =====
Other parts of the game add and remove additional modifiers. In this table, every mention of "zombies" represents the class {{jcp| net.minecraft.world.entity.monster.zombie.Zombie}}, that is, the entities: [[Minecraft:zombie]], [[Minecraft:drowned]], [[Minecraft:husk]], [[Minecraft:zombie villager]], [[Minecraft:zombified piglin]], and [[Minecraft:frostbite]]{{Upcoming|Java 26.4}}.
Other parts of the game add and remove additional modifiers. In this table, every mention of "zombies" represents the class {{jcp|net.minecraft.world.entity.monster.zombie.Zombie}}, that is, the entities: [[Minecraft:zombie]], [[Minecraft:drowned]], [[Minecraft:husk]], [[Minecraft:zombie villager]], [[Minecraft:zombified piglin]], and [[Minecraft:frostbite]]{{Upcoming|Java 26.4}}.


{| class="wikitable stikitable sortable collapsible" style="width:100%" data-description="Modifiers"
{| class="wikitable stikitable sortable collapsible" style="width:100%" data-description="Modifiers"
Line 1,183: Line 1,174:
| {{cd|-0.05*getPercentFrozen()}}
| {{cd|-0.05*getPercentFrozen()}}
| add_value
| add_value
|Applied to all [[Minecraft:living entities]] that are inside [[Minecraft:powder snow]] or have the [[Minecraft:Freezing]] effect{{Upcoming|Java 26.4}} ({{cd|[[Minecraft:Entity_format#Entity_format|TicksFrozen]] > 0}}), and removed when the frost effect wears off ({{cd|TicksFrozen{{=}}0}}). The {{cd|getPercentFrozen()}} is the float {{cd|min(140,TicksFrozen)/140}}.
|Applied to all [[Minecraft:living entities]] that are inside [[Minecraft:powder snow]] or have the [[Minecraft:Freezing]] effect{{Upcoming|Java 26.4}} ({{cd|[[Minecraft:Entity_format#Entity_format|TicksFrozen]]}} > 0), and removed when the frost effect wears off ({{cd|TicksFrozen}} = 0). The {{cd|getPercentFrozen()}} is the float min(1, {{cd|TicksFrozen}} / 140).
|-
|-
|{{cd|minecraft:sprinting}}
|{{cd|minecraft:sprinting}}

Latest revision as of 11:03, 25 October 2026

Template:Exclusive

Attributes control certain numeric properties of Minecraft:players, Minecraft:mobs, and Minecraft: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 Minecraft: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

Template:Infobox attribute

This attribute modifies the air drag an entity experiences. The final air drag is calculated as <math>1-\left(1-\text{friction}\right)\cdot \text{air drag modifier}</math>, clamped to 0 to 1. The friction is 0.91 for Minecraft:sulfur cubes that have absorbed a block, Minecraft:parrots, and Minecraft:bees. For all other entities, including sulfur cubes that have no absorbed block, the friction is 0.98.


Armor

Template:Infobox attribute

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

Entity Base value
Template:EntityLink (large) Template:Armor
Template:EntityLink Template:Armor
Template:EntityLink (medium) Template:Armor
Template:EntityLink Template:Armor
Template:EntityLink (small) Template:Armor
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLinkTemplate:Only Template:Armor


Armor Toughness

Template:Infobox attribute

This attribute determines an entity's Minecraft:armor toughness.


Attack Damage

Template:Infobox attribute

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

Entity Base value
Template:EntityLink Template:Hp
Template:EntityLink Template:Hp
Template:EntityLink Template:Hp
Template:EntityLink Template:Hp
Template:EntityLink Template:Hp
Template:EntityLink Template:Hp
Template:EntityLink Template:EntityLink Template:Hp
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:Hp
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:Hp
Template:EntityLink Template:EntityLink Template:EntityLink Template:Hp
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:Hp
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:Hp
Template:EntityLink Template:EntityLink Template:EntityLink Template:Hp
Template:EntityLink Template:EntityLink Template:Hp
Template:EntityLink Template:Hp + Size
Template:EntityLink Template:EntityLink Template:Hp × Size


Attack Knockback

Template:Infobox attribute

This attribute determines additional Minecraft:knockback applied to an entity's Minecraft:melee attack.Template:Info needed

Entity Base value
Template:EntityLink Template:EntityLink 1.5
Template:EntityLink Template:EntityLink 1


Attack Speed

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


Nameplate Score Distance

Template:Infobox attribute This attribute determines the distance within which a Minecraft:scoreboard objective with a Template:Cd display slot is visible above an entity.


Block Break Speed

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


Block Interaction Range

Template:Infobox attribute This attribute determines the block Minecraft:interaction range for players. Only players have this attribute.


Bounciness

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


Burning Time

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


Camera Distance

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

Entity Base value
Template:EntityLink Template:EntityLink 8
Template:EntityLink Template:EntityLink 16


Entity Interaction Range

Template:Infobox attribute This attribute determines the entity Minecraft:interaction range for players.


Explosion Knockback Resistance

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


Fall Damage Multiplier

Template:Infobox attribute This attribute multiplies the amount of Minecraft:fall damage an entity receives.

Entity Base value
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink 0.5


Flying Speed

Template:Infobox attribute This attribute determines the flying speed of an entity.Template:Info needed Only the entities listed below have this attribute.

Entity Base value
Template:EntityLink Template:EntityLink 0.6
Template:EntityLink 0.1
Template:EntityLink 0.06
Template:EntityLink 0.05
Template:EntityLink 0.4


Mob Follow Range

Template:Infobox attribute 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.

Entity Base value
Template:EntityLink 100
Template:EntityLink 64
Template:EntityLink Template:EntityLink Template:EntityLink 48
Template:EntityLink Template:EntityLink 40
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink 35
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink 32
Template:EntityLink Template:EntityLink 24
Template:EntityLink 20
Template:EntityLink 18
Template:EntityLink Template:EntityLink Template:EntityLink 12
All other mobs 16


Friction Modifier

Template:Infobox attribute This attribute determines the friction experienced by an entity.Template:Info needed


Gravity

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


Jump Strength

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

Entity Base value
Template:EntityLink Template:EntityLink Template:EntityLink Random
(0.4 – 1.0)
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink 0.5


Knockback Resistance

Template:Infobox attribute

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 Minecraft:explosions.<ref>Template:Bug</ref>

Entity Base value
Template:EntityLinkTemplate:Only 100
Template:EntityLink Template:EntityLink 1
Template:EntityLink 0.75
Template:EntityLink Template:EntityLink 0.6
Template:EntityLink Template:EntityLink 0.30000001192092896
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Random
(0 – 0.05)


Luck

Template:Infobox attribute

This attribute affects the results of Minecraft: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

Template:Infobox attribute This attribute determines an entity's maximum Minecraft:absorption.


Max Health

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

Entity Base value
Template:EntityLink Template:Hp
Template:EntityLink Template:Hp
Template:EntityLink Template:Hp
Template:EntityLink Template:EntityLink Template:EntityLink Template:Hp
Template:EntityLink Template:Hp
Template:EntityLink Template:Hp
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:Hp
Template:EntityLink Template:EntityLink Template:EntityLink Template:Hp
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:Hp
Template:EntityLink Template:Hp
Template:EntityLink Template:Hp
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:Hp
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink (tamed)Template:Only Template:Hp
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:Hp
Template:EntityLink Template:EntityLink Template:EntityLink Template:Hp
Template:EntityLink Template:EntityLink Template:Hp
Template:EntityLink Template:EntityLink Template:EntityLink Template:Hp
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink (weak) Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:Hp
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:Hp
Template:EntityLink Template:EntityLink Template:EntityLink Template:Hp
Template:EntityLink Template:EntityLink Template:Hp
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:Hp
Template:EntityLink Template:Hp
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Random
(Template:Hp – Template:Hp)
Template:EntityLink Template:EntityLink Template:Hp × Size × Size
Template:EntityLink Template:Hp × Size
Template:EntityLink (leader)‌ Random
(Template:Hp – Template:Hp)
Template:EntityLink (leader) Template:EntityLink (leader)‌ Template:EntityLink (leader)‌ Template:EntityLink (leader)‌ Template:EntityLink (leader)‌ Random
(Template:Hp – Template:Hp)


Mining Efficiency

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


Movement Efficiency

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


Movement Speed

Template:Infobox attribute 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 Minecraft:Entity#Formulas.)

Entity Base value
Template:EntityLink 1.2
Template:EntityLink 1.1
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink 1
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink 0.7
Template:EntityLink 0.63
Template:EntityLink 0.6
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink 0.5
Template:EntityLink 0.4
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink 0.35
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink 0.3
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink 0.25
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink 0.23
Template:EntityLink 0.21
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink 0.2
Template:EntityLink Template:EntityLink Template:EntityLink 0.175
Template:EntityLink 0.15
Template:EntityLink 0.14
Template:EntityLink Template:EntityLink Template:EntityLink 0.1
Template:EntityLink Template:EntityLink 0.09
Template:EntityLink (lazy) 0.07
Template:EntityLink 0.05
Template:EntityLink Template:EntityLink Template:EntityLink Random
(0.1125 – 0.3375)
Template:EntityLink Random
(0.2135 – 0.2846)
Template:EntityLink Template:EntityLink 0.2 + 0.1 × Size


Name Tag Distance

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


Oxygen Bonus

Template:Infobox attribute This attribute determines the chance that an entity's remaining air decreases while underwater in any given game tick. The chance is Template:Frac.


Safe Fall Distance

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

Entity Base value
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink 6
Template:EntityLink 5


Scale

Template:Infobox attribute This attribute multiplies an entity's size and Minecraft:hitbox dimensions.


Sneaking Speed

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


Zombie Reinforcements

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

Entity Base value
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Random
(0 – 0.1)
Template:EntityLink 0<ref>Template:Bug</ref>


Step Height

Template:Infobox attribute This attribute determines the maximum number of blocks that an entity can step up without jumping. Minecraft:Sneaking prevents drops from heights that are higher than this value.<ref>Template:Bug</ref>

Entity Base value
Template:EntityLink Template:EntityLink 1.5
Template:EntityLink 1.0625
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink 1
Template:EntityLink 0<ref>Template:Bug</ref>


Submerged Mining Speed

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


Sweeping Damage Ratio

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


Mob Tempt Range

Template:Infobox attribute

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

Entity Base value
Template:EntityLink 16
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink 10
Template:EntityLink 8


Water Movement Efficiency

Template:Infobox attribute This attribute determines movement speed and drag when touching Minecraft:water.Template:Info needed


Waypoint Receive Range

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

Entity Base value
Template:EntityLink 60,000,000


Waypoint Transmit Range

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

Entity Base value
Template:EntityLink 60,000,000


Modifiers

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

Each modifier has a Minecraft: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.

<math>\text{Total}=\text{base}+\text{amount}_1+\text{amount}_2+\ldots+\text{amount}_n</math>

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

<math>\text{Total}=3+2+4=9</math>

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

<math>\text{Total}=\text{base}\cdot\left(1+\text{amount}_1+\text{amount}_2+\ldots+\text{amount}_n\right)</math>

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

<math>\text{Total}=3\cdot\left(1+2+4\right)=3\cdot7=21</math>

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

<math>\text{Total}=\text{base}\cdot\left(1+\text{amount}_1\right)\cdot\left(1+\text{amount}_2\right)\cdot\ldots\cdot\left(1+\text{amount}_n\right)</math>

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

<math>\text{Total}=3\cdot\left(1+2\right)\cdot\left(1+4\right)=3\cdot3\cdot5=45</math>

If multiple modifiers are applied to an attribute, the game first executes all Template:Cd modifiers, then all Template:Cd modifiers, and finally all Template:Cd 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.

<references group="note"/>

Applying modifiers

Various systems in the game add and remove modifiers.

Commands

The Template:Command command can add or remove specific modifiers, including custom ones. Except for players, it is also possible add, remove and custom with Template:Cmd.

Items

The [[Minecraft:Data_component_format#attribute_modifiers|Template:Cd 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:

Modifier ID Attribute Items
Template:Cd Template:Cd Template:ItemLink Template:ItemLink Template:ItemLink Template:ItemLink Template:ItemLink Template:ItemLink Template:ItemLink Template:ItemLink
Template:Cd Template:Cd Template:ItemLink Template:ItemLink Template:ItemLink Template:ItemLink Template:ItemLink Template:ItemLink Template:ItemLink Template:ItemLink
Template:Cd Template:Cd
Template:Cd
Template:Cd
Template:ItemLink
Template:Cd Template:Cd
Template:Cd
Template:Cd
Template:ItemLink
Template:Cd Template:Cd
Template:Cd
Template:Cd
Template:ItemLink
Template:Cd Template:Cd
Template:Cd
Template:Cd
Template:ItemLink
Template:Cd Template:Cd
Template:Cd
Template:Cd
Template:ItemLink Template:ItemLink Template:ItemLink
Template:Cd Template:Cd Template:BlockLink Template:BlockLink

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 Template:Cd and the name of the slot the enchantment is active in.

Modifier ID Attribute Minecraft:Level-based value Operation Enchantment
Template:Cd Template:Cd

type: Template:Cd,
base: 4.0,
per_level_above_first: 4.0

add_multiplied_total Minecraft:Aqua Affinity
Template:Cd Template:Cd

type: Template:Cd,
base: 0.15,
per_level_above_first: 0.15

add_value Minecraft:Blast Protection
Template:Cd Template:Cd

type: Template:Cd,
base: 0.33333334,
per_level_above_first: 0.33333334

add_value Minecraft:Depth Strider
Template:Cd Template:Cd

type: Template:Cd,
added: 1.0

add_value Minecraft:Efficiency
Template:Cd Template:Cd type: Template:Cd,

base: -0.15,
per_level_above_first: -0.15

add_multiplied_base Minecraft:Fire Protection
Template:Cd Template:Cd type: Template:Cd,

base: 1.0,
per_level_above_first: 1.0

add_value Minecraft:Respiration
Template:Cd Template:Cd type: Template:Cd,

base: 0.0405,
per_level_above_first: 0.0105

add_value Minecraft:Soul Speed
Template:Cd 1.0 add_value
Template:Cd Template:Cd

Template:Collapse

add_value Minecraft:Sweeping Edge
Template:Cd Template:Cd

type: Template:Cd,
base: 0.15,
per_level_above_first: 0.15

add_value Minecraft:Swift Sneak

Sulfur cube archetypes

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

See Minecraft:sulfur cube archetype for the values.

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

Modifier ID Attribute Operation
Template:Cd
Template:Cd
Template:Cd
Template:Cd
Template:Cd
Template:Cd
Template:Cd
Template:Cd
Template:Cd
Template:Cd add_value
Template:Cd
Template:Cd
Template:Cd
Template:Cd
Template:Cd
Template:Cd
Template:Cd
Template:Cd
Template:Cd
Template:Cd add_value
Template:Cd
Template:Cd
Template:Cd
Template:Cd
Template:Cd
Template:Cd
Template:Cd
Template:Cd
Template:Cd
Template:Cd add_multiplied_total
Template:Cd
Template:Cd
Template:Cd
Template:Cd
Template:Cd
Template:Cd
Template:Cd
Template:Cd
Template:Cd
Template:Cd add_multiplied_total

Hardcoded

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

Effects

Some Minecraft: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 Minecraft:effect potency (in other words, multiplied by Template:Cd + 1).

Modifier ID Attribute Value Operation Effect
Template:Cd Template:Cd 0.2 add_multiplied_total Template:EffectLink
Template:Cd Template:Cd -0.15 add_multiplied_total Template:EffectLink
Template:Cd Template:Cd 0.1 add_multiplied_total Template:EffectLink
Template:Cd Template:Cd -0.1 add_multiplied_total Template:EffectLink
Template:Cd Template:Cd 3.0 add_value Template:EffectLink
Template:Cd Template:Cd -4.0 add_value Template:EffectLink
Template:Cd Template:Cd 1.0 add_value Template:EffectLink
Template:Cd Template:Cd -1.0 add_multiplied_total Template:EffectLink
Template:Cd Template:Cd 4.0 add_value Template:EffectLink
Template:Cd Template:Cd 4.0 add_value Template:EffectLink
Template:Cd Template:Cd 1.0 add_value Template:EffectLink
Template:Cd Template:Cd -1.0 add_value Template:EffectLink
Misc

Other parts of the game add and remove additional modifiers. In this table, every mention of "zombies" represents the class Template:Jcp, that is, the entities: Minecraft:zombie, Minecraft:drowned, Minecraft:husk, Minecraft:zombie villager, Minecraft:zombified piglin, and Minecraft:frostbiteTemplate:Upcoming.

Modifier ID Attribute Value Operation Details
Template:Cd Template:Cd Template:Cd add_value Applied randomly to all mobs when they spawn.
Template:Cd Template:Cd Template:Cd add_value Applied randomly to all Minecraft:zombies when they spawn.
Template:Cd Template:Cd Template:Cd add_multiplied_total Applied randomly to some Minecraft:zombies when they spawn. Only applies if greater than 1.
Template:Cd Template:Cd Template:Cd add_value Applied randomly to some Minecraft:zombies to turn them into "leaders".
Template:Cd Template:Cd add_multiplied_total
Template:Cd Template:Cd Template:Cd add_value Applied to a Minecraft:zombie when it successfully spawns a reinforcement. The Template:Cd is the value of the modifier previously, or Template:Cd if it does not exist.
Template:Cd Template:Cd -0.05 add_value Applied to Minecraft:zombie reinforcements when they spawn.
Template:Cd Template:Cd Template:EntityLink: 0.5
Template:EntityLink: 0.2
add_multiplied_base Applied to Minecraft:zombies and Minecraft:piglins as babies, and removed when they are not babies.
Template:Cd Template:Cd Template:EntityLink: 0.15
Template:EntityLink: 0.05
add_value Applied to Minecraft:endermen when they acquire a target, and removed when they lose it.
Applied to adult Minecraft:zombified piglins when they get angry, and removed when they stop being angry.
Template:Cd Template:Cd 20.0 add_value Applied to Minecraft:shulkers when their shell fully closes, and removed when it opens.
Template:Cd Template:Cd 0.5 add_value Applied to Minecraft:players when they enter Minecraft:creative mode, and removed when leaving creative mode.
Template:Cd Template:Cd 2.0 add_value Applied to Minecraft:players when they enter Minecraft:creative mode, and removed when leaving creative mode.
Template:Cd Template:Cd -0.25 add_value Applied to Minecraft:witches when they start drinking a Minecraft:potion, and removed when they finish drinking it.
Template:Cd Template:Cd Template:Cd add_value Applied to all Minecraft:living entities that are inside Minecraft:powder snow or have the Minecraft:Freezing effectTemplate:Upcoming (Template:Cd > 0), and removed when the frost effect wears off (Template:Cd = 0). The Template:Cd is the float min(1, Template:Cd / 140).
Template:Cd Template:Cd 0.3 add_multiplied_total Applied to all living entities when they start Minecraft:sprinting, and removed when they stop.
Template:Cd Template:Cd -1.0 add_multiplied_total Applied to Minecraft:players when they start Minecraft:sneaking, and removed when they stop.
Template:Cd Template:Cd 5.0 add_value Applied to Minecraft:rabbits when they become the killer bunny, and removed when they become a different variant.
Template:Cd Template:Cd -0.34 add_multiplied_base Applied to Minecraft:striders when they become cold outside of Minecraft:lava, and removed when they return to lava.

History

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

Legacy Console Edition

Template:HistoryTable

Issues

Template:Issue list

References

Template:Reflist

Navigation

Template:Navbox gameplay

Minecraft:de:Attribut Minecraft:es:Atributo Minecraft:fr:Attribut Minecraft:he:מאפיין Minecraft:ja:属性 Minecraft:ko:속성 Minecraft:pl:Atrybuty Minecraft:pt:Atributo Minecraft:ru:Атрибут Minecraft:zh:属性