Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-52743

Zombies never spawn as cave mobs

XMLWordPrintable

    • Confirmed
    • Windows
    • 260823

      Zombies and zombie villagers do not spawn underground on blocks where they would be defined as cave mobs (that is, where they are subject to and contribute to the cave density cap for monsters). They do spawn in caves, but only on blocks that define them as surface mobs. This causes fewer zombies to spawn in caves than there should be, and consequently causes caves to contain more monsters of other types since there is more room below the cave density cap.

      Other monsters (creepers, skeletons, spiders, witches, and endermen) are not affected by this issue.

      Steps to reproduce:

      1. Open the attached demo world MCPE-52743.mcworld.
        There is a 16 x 16 spawn floor at Y=6. The blue square you see is aligned above it. This world is configured so that no spawns can occur naturally anywhere but the spawn floor.
      2. Place a bottom slab on the blue block in front of the bottom observer. Command blocks will replicate this across the entire blue square, hence above the spawn floor. This creates the condition necessary to spawn mobs in caves subject to the surface density cap.
      3. Use the button to teleport to the Testing Room.
      4. Use the lever to enable mob spawning. Repeating command blocks will start running that test for zombies and zombie villagers every 5 seconds. If they find any, the chat will show them.
      5. Wait until zombies and/or zombie villagers are found. This shows that these can spawn on blocks that qualify the mob as a surface mob.
      6. Disable mob spawning.
      7. Use the Reset button to kill all the mobs that spawned.
      8. Use the button to teleport back to the surface. Break the slab you placed. This creates the condition necessary to spawn mobs in caves subject to the cave density cap.
      9. Return to the Testing Room and enable mob spawning.
      10. Wait as long as you like. No zombies or zombie villagers will spawn.

      Important: The ability to spawn monsters in caves subject to the surface density cap is reported as a bug in MCPE-41273. It may be that such spawns are intended in some cases, but if not it will likely be fixed by reducing or eliminating surface monster spawns in caves. If that fix occurs before this problem, the result will be that zombies or zombie villagers will no longer spawn underground at all! Therefore, this issue needs to be fixed before, or in conjunction with, MCPE-41273.

            Auldrick [MCPE Mod] Auldrick
            Votes:
            7 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: