I was messing around with my minecraft world and accidentially deleted the portal on the main end island that leads to the first end city (don't ask me how)

End portal gone

Does anyone know how I can put it back? Or do I have to complete a new ender dragon fight?


You can beat the ender dragon again to spawn a new, different end gateway, yes.
Alternatively, you can use /setblock to create one in the place of the old one, as explained below.

From the wiki page:

  • The ExitPortal tag holds a set of X/Y/Z coordinates to determine the general location the player can be "safely" teleported to when entering.
  • Setting ExactTeleport to 1 teleports entities to the specified coordinates exactly instead of at a safer location around those coordinates.


/setblock ~ ~-2 ~ minecraft:end_gateway{ExactTeleport:0,ExitPortal:{X:1000,Y:90,Z:3000}} replace

This will create an end gateway 2 blocks underneath you that exits at 1000 90 3000.

  • You can also simply bridge out, but I wouldn't recommend it since it is at minimum 1000 blocks in any direction
    – AMJ
    Aug 15 '21 at 22:10
  • @AMJ does coming back through the 1k+ gateway generate a new gateway block at the coordinates of the old one on the main island?
    – Corsaka
    Aug 16 '21 at 14:40

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.