mojira.dev
MC-259320

/setworldspawn will only spawn players on the highest block

Description:

When using the /setworldspawn command in Java Edition only, the player will always spawn on the highest block with no blocks above it, even when a specific y coordinate is entered into the command. For example, setting the world spawn to 0, 12, 0 with a spawn radius of 0 and having a block at 0, 20, 0 with nothing else above it will spawn the player on top of that block at y: 20 instead of at the intended location of y: 12.

 

Steps to Reproduce:

1. Set the world spawn to a specific set of coordinates including the y coordinate, and set the spawn radius to 0.

2. Place a block above the set of coordinates you chose in step 1. The y coordinate must be 2 blocks above the first set of coordinates or higher.

3. Use /kill to observe the results.

 

Observed Results:

The player will spawn on top of the higher block and will ignore the y coordinate of the actual spawn location.

 

Expected Results:

The player should spawn on the block where the spawn location was set, and should not ignore the y coordinate of the spawn location (Bedrock Edition does not have this bug, go there and do the same thing you would do to recreate this bug in Java Edition to get accurate results).

Related issues

Comments

migrated

Duplicate of MC-243079 (intended); world spawn has always functioned this way, as it is implemented to prevent spawning in caves, or in fire, lava or water. The only time this behavior is overwritten, and Y value is used, is in adventure mode, where the player is spawned on the exact block.

Thisis also not a valid parity report as it predates buzzy bees.

migrated

(Unassigned)

Unconfirmed

(Unassigned)

1.19.3

Retrieved