Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-148935

Zombies with no AI still convert into drowned

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 20w11a
    • Minecraft 1.14 Pre-Release 5, 20w07a
    • None
    • Confirmed
    • Mob behaviour
    • Low

      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

            mgatland [Mojang] Matthew Gatland
            Bean_B0i Patrick Egan
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: