The bug
Husks and zombies will be killed by the drown damage of the /damage command, and will not be transformed.
Using the /damage with drowning type should not damage drowning-immune mobs.
Affected drowning-immune mobs:
Husk
Zombie
Drowned
Zombie villager
Zombified piglin
Zoglin
Zombie horse
Skeleton
Stray
Wither skeleton
Skeleton horse
Phantom
Iron golem
Axolotl
Dolphin
Turtle
Frog
Cod
Salmon
Tropical fish
Pufferfish
Guardian
Elder guardian
Squid
Glow squid
Ender dragon
Reproduce steps
Summon a zombie or husk.
Use the /damage command:
Zombie
/damage @e[type=zombie,limit=1] 30 minecraft:drown at 88 65 1
Husk
/damage @e[type=husk,limit=1] 30 minecraft:drown at 88 65 1
It was found that they did not transform.
Expected to happen...
Husk drowning should be transformed into a zombie.
Zombie drowning should be transformed into a drowned.
Using the /damage with drowning type should not damage drowning-immune mobs.
Linked issues
relates to 2
Attachments
Comments 2
Seeing the fix for fall-damage immune being harmed with /damage's fall type, shouldn't this (and related reports) also be fixed? (not the transforming, but the harming)
Relates to MC-259917.
Transforming is not related to drowning damage, it is related to time spent in water.
The issue here is that drowning-immune mobs can be damaged using /damage with drowning type.