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

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



    • Bug
    • Status: Reopened
    • Resolution: Unresolved
    • 1.17.11 Hotfix, 1.16.220, Beta, 1.16.100, 1.16.221 Hotfix, 1.18.2 Hotfix
    • None
    • None
    • Confirmed
    • Multiple
    • 418993

    Description 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
          1.44 MB
        3. Asymmetrical Spawns.png
          1.75 MB
          [MCPE Mod] Auldrick
        4. SD10.png
          2.00 MB
          [MCPE Mod] Auldrick
        5. SD12.png
          2.00 MB
          [MCPE Mod] Auldrick
        6. SD4.png
          1.78 MB
          [MCPE Mod] Auldrick
        7. SD6.png
          1.87 MB
          [MCPE Mod] Auldrick
        8. SD8.png
          1.97 MB
          [MCPE Mod] Auldrick

        Issue Links



              navynexus navynexus
              43 Vote for this issue
              12 Start watching this issue