I was fighting the ender dragon and died. Upset from dying, I went into creative and used /setblock to set an ender portal, so I teleported to the end.

However, when I did that command, I was right next to my bed so when I beat the dragon and went back to the overworld, I spawned on top of the end_portal next to my bed and instantly get teleported back into the end. I'm on version 1.12.2 and I've tried the /execute command but it tells me entity 'in' cannot be found. What should I do?


Nether portals won't light with normal means while in the End, but that doesn't mean that they cease function completely.

Use /setblock ~ ~ ~ portal and you'll be spat out into the Nether through an auto-generated portal. Re-enter the same portal and it'll spit you into the Overworld.

You may want to consider breaking the end portal block once you've returned.

  • so i tried that and now im getting the message "the is no such block with name minecraft:nether_portal" Nov 7 '20 at 2:07
  • 1
    @ohsoinspire Whoops, in 1.12, I think it's just minecraft:portal instead of minecraft:nether_portal. Lots of stuff is different in old versions. Nov 7 '20 at 2:13
  • thank you so much. i got out. is there anyway to remove that block now from where i put it to take me to the end Nov 7 '20 at 2:16
  • 1
    @ohsoinspire Break it with your Creative Mode fist? Nov 7 '20 at 2:16
  • @ohsoinspire if this helped you, consider clicking the little grey checkmark on the left of the answer to accept it, as it will mark it as accepted and award the answerer reputation.
    – Penguin
    Nov 9 '20 at 3:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.