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

When zombie villagers, husks, drowned or zombified piglins are damaged, they spawn regular zombie reinforcements

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: Snapshot 13w17a, Snapshot 13w18b, Snapshot 13w18c, Snapshot 13w19a, Snapshot 13w23b, Snapshot 13w24a, Snapshot 13w24b, Snapshot 13w25a, Minecraft 1.7.5, Minecraft 14w11b, Minecraft 14w20b, Minecraft 14w21a, Minecraft 14w21b, Minecraft 14w32a, Minecraft 14w32b, Minecraft 14w32c, Minecraft 14w32d, Minecraft 1.8, Minecraft 1.8.1, Minecraft 1.8.3, Minecraft 1.8.4, Minecraft 15w47a, Minecraft 15w49a, Minecraft 15w49b, Minecraft 15w50a, Minecraft 16w03a, Minecraft 16w04a, Minecraft 16w05a, Minecraft 16w05b, Minecraft 1.9 Pre-Release 1, Minecraft 1.9 Pre-Release 2, Minecraft 1.9 Pre-Release 3, Minecraft 1.9 Pre-Release 4, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 1, Minecraft 1.9.1 Pre-Release 2, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 16w14a, Minecraft 16w15a, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 1.10.2, Minecraft 1.11, Minecraft 1.11.2, Minecraft 1.12 Pre-Release 2, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 18w03b, Minecraft 18w08b, Minecraft 18w16a, Minecraft 1.13-pre1, Minecraft 1.13, Minecraft 18w31a, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 19w09a, Minecraft 1.14, Minecraft 1.14.1 Pre-Release 1, Minecraft 1.14.1 Pre-Release 2, Minecraft 1.14.1, Minecraft 1.14.2, Minecraft 1.14.3, 1.14.4, 19w40a, 1.15 Pre-release 1, 1.15 Pre-Release 2, 1.15, 1.15.2, 20w18a, 20w20b, 20w21a, 1.16 Pre-release 5, 1.16 Pre-release 7, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w28a, 20w29a
    • Fix Version/s: Minecraft 14w29b
    • Labels:
    • Confirmation Status:
      Confirmed
    • Category:
      Mob spawning
    • Mojang Priority:
      Low

      Description

      The bug

      When zombie villagers, husks, drowned or zombie pigmen take damage, there is a chance (depending on difficulty setting it seems) that a zombie will spawn.

      It is not clear what the expected behavior for these zombie types should be: Spawning zombies of the same type or not being able to spawn reinforcements at all.
      However, for zombie villagers spawning zombie villager reinforcements might allow building a farm based on this, which might or might not be desired.

      Note: For zombie pigmen / zombified piglin this was partially fixed in 20w14a by setting their base zombie.spawn_reinforcements value to 0. However, it appears that if a zombified piglin spawns as leader ("Leader zombie bonus"), then it is still possible for it to spawn zombies. The same also applies when setting a custom zombie.spawn_reinforcements value in the NBT or via commands.

      How to reproduce

      1. Be in the nether or the end (the overworld works too, but there will be natural zombie spawning as well)
      2. Set the game difficulty to hard
      3. Spawn a bunch of zombie villagers, husks, drowned or zombie pigmen
      4. Go into survival mode
      5. Damage the mobs for a while
        Zombie reinforcements are spawning

      Code analysis

      Code analysis by [Mod] Marcono1234 can be found in this comment.

        Attachments

        1. 1.15 pre1 nether zombie reinforcement 1.png
          1.15 pre1 nether zombie reinforcement 1.png
          935 kB
        2. 1.15 pre1 nether zombie reinforcement 2.png
          1.15 pre1 nether zombie reinforcement 2.png
          969 kB
        3. 2013-04-27_12.24.49.png
          2013-04-27_12.24.49.png
          1.74 MB
        4. 2013-04-27_12.25.13.png
          2013-04-27_12.25.13.png
          986 kB
        5. 2013-05-02_17.02.56.png
          2013-05-02_17.02.56.png
          332 kB
        6. 2013-05-02_17.03.13.png
          2013-05-02_17.03.13.png
          346 kB
        7. 2013-05-02_17.03.37.png
          2013-05-02_17.03.37.png
          362 kB
        8. 2013-05-02_17.03.55.png
          2013-05-02_17.03.55.png
          316 kB
        9. 2014-09-05_19.20.53.png
          2014-09-05_19.20.53.png
          543 kB
        10. 2019-06-02_19.11.14.png
          2019-06-02_19.11.14.png
          569 kB
        11. 2019-10-06_00.57.42.png
          2019-10-06_00.57.42.png
          912 kB
        12. 2019-10-06_08.45.25.png
          2019-10-06_08.45.25.png
          845 kB
        13. 2020-04-29_20.57.59.png
          2020-04-29_20.57.59.png
          524 kB
        14. 2020-07-18_17.15.06.png
          2020-07-18_17.15.06.png
          660 kB
        15. image-2020-07-18-21-36-11-669.png
          image-2020-07-18-21-36-11-669.png
          660 kB
        16. javaw_pFPJfXEROq.png
          javaw_pFPJfXEROq.png
          477 kB
        17. pigmenbug.gif
          pigmenbug.gif
          4.32 MB

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              Sonicwave [Mod] Sonicwave
              Votes:
              70 Vote for this issue
              Watchers:
              34 Start watching this issue

                Dates

                Created:
                Updated:
                CHK: