Bug
When a zombie is spawned underwater without AI, it still turns into a drowned after a short amount of time. (This also similarly effects husks)
This is inconsistent with Piglins which do not convert to Zombified Piglins when they have NoAI:1b
, see also MC-172077.
The zombie conversion should therefore be implemented in a similar way.
Expected Result
I expected the zombie to not turn into a drowned because it is supposed to not have any AI.
Actual Result
The zombie turned into a drowned as if it had AI.
Steps to Reproduce
Go below water with cheats enabled
Run the command
/summon minecraft:zombie ~.5 ~ ~.5 {NoAI:1b}
or
/summon minecraft:husk ~.5 ~ ~.5 {NoAI:1b}
❌ Watch the zombie convert into a drowned/husk convert into a zombie
Converting to drowned is not a part of the zombie's AI.