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

Non-player entities ignore the spawnRadius gamerule

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 1.20.5 Pre-Release 1
    • None
    • Confirmed
    • (Unassigned)

      Summary:
      When players respawn either by dying or leaving the end through an end portal, they spawn at a random location if the gamerule spawnRadius is higher than 0 and they do not have a spawn point. Non-player entities always respawn at the same X and Z coordinates regardless of spawnRadius gamerule. This may be intended.

      Steps to reproduce:

      1. Create a new world
      2. Enter the end
      3. /setblock 100 90 0 minecraft:end_portal
      4. /forceload add ~ ~ ~ ~
      5. Go back to the overworld
      6. Spawn a creeper
      7. Run the following command multiple times:
        /execute in minecraft:the_end run tp @e[type=minecraft:creeper] 100 90 0

      Observed results:
      The creeper always respawns at the same position.

      Expected results:
      The creeper should respawn at a random random position, since the gamerule spawnRadius is set to 10.

            Unassigned Unassigned
            EVGENSYPERPRO [Mod] EVGENSYPERPRO
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: