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

Mob spawn range doesn't extend past ~96 blocks horizontally

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.20.50.20 Preview, 1.20.50
    • 1.17.11 Hotfix, 1.16.220, 1.16.100.58 Beta, 1.16.100, 1.16.221 Hotfix, 1.18.2 Hotfix
    • None
    • Confirmed
    • Multiple
    • 418993

      1.16.100.57 introduces a spawning radius change for simulation range 6 and higher that allows mobs to spawn in a 128 block radius around the player, limited horizontally by the simulation range.
      However, chunks will only attempt spawns if the northwest center block of a chunk is within 96 blocks of the player (presumably to prevent the algorithm from being run in far away ticking areas).
      This means that despite simulation range 12 leaving enough space horizontally for spawns 128 blocks away, mobs will only spawn in chunks with their center within 96 blocks of the player.

      How to reproduce:

      1. Set up two repeat command blocks on a superflat world:
        execute @e ~~~ setblock ~ ~-1 ~ stone
        kill @e (delay 1gt)
      2. Set the simulation range to 12

      Expected results:

      A hollow circle forms from mobs placing blocks below them, with a radius of 24-128

      Actual results:

      Chunks of which the center is past 96 blocks from the player do not spawn any mobs.

        1. 96 block chunk spawn limit.mcworld
          173 kB
        2. 96chunk.png
          96chunk.png
          1.44 MB
        3. Asymmetrical Spawns.png
          Asymmetrical Spawns.png
          1.75 MB
        4. SD10.png
          SD10.png
          2.00 MB
        5. SD12.png
          SD12.png
          2.00 MB
        6. SD4.png
          SD4.png
          1.78 MB
        7. SD6.png
          SD6.png
          1.87 MB
        8. SD8.png
          SD8.png
          1.97 MB

            navynexus navynexus
            Votes:
            44 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: