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

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.16.220, 1.16.100.58 Beta, 1.16.100, 1.16.221 Hotfix
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Platform:
      Multiple
    • ADO:
      418993

      Description

      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.

        Attachments

        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

          Activity

            People

            Reporter:
            navynexus navynexus
            Votes:
            32 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              CHK: