-
Bug
-
Resolution: Unresolved
-
None
-
1.20.4, 24w10a, 24w11a
-
None
-
Community Consensus
-
(Unassigned)
Numerous mobs possess the capability for melee attacks, yet the
minecraft:generic.attack_knockback
attribute remains unutilized. This report diverges from MC-180199, as it describes a distinct issue. MC-180199 describes a scenario where entities lack this attribute entirely, resulting in error messages when attempting to modify it. In contrast, this bug report concerns entities that have the attribute but remain unused. Below is a list of such mobs where this attribute does not function:
- Axolotl
- Bee
- Dolphin
- Goat (MC-229507)
- Iron Golem (
MC-199161) - Magma cube
- Polar bear
- Pufferfish
- Rabbit (Killer bunny)
- Slime
- Wolf
By default, the attribute for all these entities is set to 0.
The attribute works as expected for the following mobs:
Mob | Default value |
---|---|
Bogged | 0 |
Cave spider | 0 |
Drowned | 0 |
Enderman | 0 |
Endermite | 0 |
Fox | 0 |
Frog (see MC-269231) | 0 |
Hoglin | 1 |
Husk | 0 |
Panda | 0 |
Phantom | 0 |
Piglin | 0 |
Ravager | 1.5 |
Silverfish | 0 |
Skeleton | 0 |
Spider | 0 |
Stray | 0 |
Vex | 0 |
Vindicator | 0 |
Warden | 1.5 |
Wither Skeleton | 0 |
Zoglin | 1 |
Zombie | 0 |
Zombie villager | 0 |
Zombified piglin | 0 |
This bug report is also related to MC-250205. In addition this bug report could be related to MC-213349.
- relates to
-
MC-180199 Attribute minecraft:generic.attack_knockback and minecraft:generic.flying_speed don’t work on all entities
- Resolved
-
MC-199161 Attribute "generic.attack_knockback" doesn't work for iron golems
- Resolved
-
MC-250205 The minecraft:generic.attack_knockback attribute doesn't work with wardens' sonic boom attack
- Resolved
-
MC-271703 The minecraft:generic.attack_speed attribute is called generic, despite only working for players
- Resolved