-
Bug
-
Resolution: Unresolved
-
None
-
1.19.4 Pre-release 4, 1.19.4, 1.20.1, 1.20.2, 23w43b
-
None
-
Confirmed
-
Commands
-
Low
-
Platform
The bug:
Mobs immune to freezing will be killed by the freeze damage of the /damage command; this is unlike mobs immune to fall damage which take no damage with the fall type inserted in /damage.
Using the /damage with drowning type should not damage freeze-immune mobs.
Affected freeze-immune mobs:
- Skeleton
- Stray
- Polar Bear
- Snow Golem
- Ender dragon
- Wither
Steps to reproduce:
- Summon any of the above-listed mobs.
- Use the /damage command:
/damage @e[type=!player,sort=nearest,limit=1] 30 minecraft:freeze at ~ ~ ~
Result:
The mob dies.
Expected result:
No damage is dealt, and the command returns "The entity is immune to this damage type"
- relates to
-
MC-260829 Drown-immune mobs are hurt by /damage using drown damage type
- Open
-
MC-259917 Entities immune to fall damage are damaged when using minecraft:fall damage type in /damage
- Resolved
-
MC-259939 Skeleton will be killed by the freeze damage of the /damage command, and will not be transformed
- Resolved
-
MC-259980 Withers and wither skeletons will be killed by the wither damage of the /damage command, even if they are immune to wither damage
- Resolved