mojira.dev
MC-183899

You can set your spawn point inside an end portal, causing the player to become stuck in the End

The Bug

Players who place a bed on an active portal's frame OR sleep or set their spawn point and jump into the portal can become permanently stuck within the end.

How To Reproduce

By @unknown in this comment

  1. Place a bed next to an end portal in a stronghold. Right click the bed to set your spawn point. Here's a fast way to arrive at an end portal in a stronghold.

    Seed: 4
    /execute in minecraft:overworld run tp @s -1000.75 39.00 800.18 179.40 27.90
  2. Place any valid spawnable block beneath the portal.

  3. Eliminate any alternative spawnable blocks that the bed could place you on when you respawn.

  4. Complete the portal using eyes of ender. Enter the end portal.

/kill @e[type=ender_dragon]
  1. Enter the return portal. Skip the credits by pressing "escape" on your keyboard.
    → ❌ You're instantly sent back to the end.

  2. Jump into the void and then click "Respawn".
    → ❌ You're instantly sent back to the end.

Linked issues

Attachments

Comments 12

I wasn't able to do this in 20w20a, but I think I did something wrong, can you send me the link to your video(maybe in youtube or something)?

I can confirm that it is possible for a player to set their spawn point inside an end portal, which causes the player to become permanently trapped in the end (because respawning in the overworld immediately sends the player back to the end). I am unsure whether this is intended. I tested this in 20w20b. (Also, this does not require the block beneath the end portal to be a fence.)

To reproduce

  1. Place a bed next to an end portal in a stronghold. Right click the bed to set your spawn point. Here's a fast way to arrive at an end portal in a stronghold.

    Seed: 4
    /execute in minecraft:overworld run tp @s -1000.75 39.00 800.18 179.40 27.90
  2. Place any valid spawnable block beneath the portal.

  3. Eliminate any alternative spawnable blocks that the bed could place you on when you respawn.

  4. Complete the portal using eyes of ender. Enter the end portal.

  5. /kill @e[type=ender_dragon]
  6. Enter the return portal. Skip the credits by pressing "escape" on your keyboard.

  7. You're instantly sent back to the end. ❌

  8. Jump into the void and then click "Respawn".

  9. You're instantly sent back to the end. ❌

This is related to MC-176640.

I uploaded an example image showing how to respawn in the end portal.

Pretty sure the example image is wrong (the bed is 1 block too high). Surely you have to have the bed in one of the missing corners of the portal frame for the height to be right.

2 more comments

Perhaps a clearer title for this report would be "You can set your spawn point inside an End portal, causing the player to become trapped in the End". This title would be consistent with the titles of MC-176640 and MC-147122.

 The bed changes in 20w30a means that the old example image no longer works. I'll upload a new example image. Also, here are updated reproduction steps.

  1. Here's a fast way to arrive at an end portal in a stronghold.

    Seed: 4
    /execute in minecraft:overworld run tp @s -1000.75 39.00 800.18 179.40 27.90
  2. Fill in the lava with blocks and place a bed under the end portal. Right click the bed to set your spawn point.

  3. Complete the portal using eyes of ender. Enter the end portal.

/kill @e[type=ender_dragon]
  1. Enter the return portal. Skip the credits by pressing "escape" on your keyboard.
    → ❌ You're instantly sent back to the end.

  2. Jump into the void and then click "Respawn".
    → ❌ You're instantly sent back to the end.

InfinitySwordofDiamond

You can do /setblock ~ ~ ~ nether_portal in the end and escape to the nether dimension which leads you back to the overworld.  If you do /spawnpoint or place a bed, you can get out of the end dimension

Justas Rakauskas

Hey i dont know if this helps but i broke out by stblock nether portal and this is how i put my bed and got trapped

[media]
Oliver Brummel

As a fix, I suggest adding a check for bed spawning to see if there is a portal within the block at and through 2 block above the player's spawnpoint - and invalidating it if there is one. I don't see how that would be difficult to do, either

ok no

slicedlime

Confirmed

Normal

Player

1.15.2, 20w20b, 20w21a, 1.16 Pre-release 2, 1.16.1, ..., 1.18, 1.18.1, 1.19, 1.19.1 Pre-release 4, 1.19.1 Release Candidate 2

22w42a

Retrieved