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

Players can respawn on air blocks when no other nearby blocks are present at their spawnpoint

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16.5, 21w14a, 1.17 Pre-release 1, 1.18.1, 22w03a, 23w06a, 1.21.4
    • None
    • Confirmed
    • (Unassigned)

      The Bug:

      Players can respawn on air blocks when no other nearby blocks are present at their spawnpoint.

      When respawning, if you don't have a spawnpoint you will get placed at the world spawn. If there are no valid spots at the world spawn, you can fall and die in the void permanently, resulting in you being stuck in a death loop.

      Steps to Reproduce:

      1. Set the world spawn to your current position and the "spawnRadius" gamerule to a value of "5" by using the commands provided below.
        /setworldspawn ~ ~ ~
        /gamerule spawnRadius 5
      2. Set the "commandModificationBlockLimit" gamerule to one million blocks and summon a giant box of air around yourself by using the commands provided below.
        /gamerule commandModificationBlockLimit 1000000
        /fill ~-30 ~20 ~-30 ~30 -64 ~30 minecraft:air
      3. Ensure that you don't have your spawnpoint bound to a bed or respawn anchor and run the "/kill" command.
      4. Observe where you respawn.
      5. Take note as to whether or not players can respawn on air blocks when no other nearby blocks are present at their spawnpoint.

      Observed Behavior:

      Players can respawn on air blocks, potentially causing them to die repeatedly.

      Expected Behavior:

      Players would not respawn on air blocks and instead respawn somewhere safe.

        1. 2021-04-10_18.10.56.png
          2.38 MB
          FX - PR0CESS
        2. 2021-04-10_18.11.30.png
          1.79 MB
          FX - PR0CESS
        3. MC-222897.mp4
          5.83 MB
          [Mod] Avoma
        4. MC-222897.png
          1.42 MB
          [Mod] Avoma

            Unassigned Unassigned
            PR0CESS FX - PR0CESS
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              CHK: