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

Zombies with no AI still convert into drowned

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 1.14 Pre-Release 5, 20w07a
    • Fix Version/s: 20w11a
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      Mob behaviour
    • Mojang Priority:
      Low

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK:

                  Potential Duplicates