mojira.dev
MC-148935

Zombies with no AI still convert into drowned

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

  1. Go below water with cheats enabled

  2. 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

Linked issues

Attachments

Comments

[Mod] Neko

Converting to drowned is not a part of the zombie's AI.

migrated

mgatland

Confirmed

Low

Mob behaviour

Minecraft 1.14 Pre-Release 5, 20w07a

20w11a

Retrieved