Mojira Archive
MC-270654

Non-player entities ignore the spawnRadius gamerule

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.

Works As Intended

[Mod] EVGENSYPERPRO

2024-04-11, 10:48 PM

2024-04-15, 08:51 AM

2024-04-15, 08:51 AM

0

3

Confirmed

(Unassigned)

1.20.5 Pre-Release 1

-