The radius is picked so that it doesn't reach outside the spawn area, but still covers the player, even if he manages to move a bit before the command gets executed. In the End, place a command block right below the obsidian layer, with tp x y z, where x, y and z are the coordinates you want the player to be teleported to. You need the following commands to be executed in this order:Ģa) execute ~ ~ ~ summon armor_stand ~ ~1 ~ Ģb) execute ~ ~ ~ setblock ~ ~-1 ~ end_portalĢd) kill condition type=armor_stand makes sure that the command doesn't have any side effects, even if a player or another entity is coincidentally named PortalPoint. In the overworld, set up a command block with execute ~ ~ ~ setblock ~ ~ ~ end_portal.Īlternative: If you want the portal to be immediately removed, you need a more complex setup. This solution I came up with, is building upon a possibility hinted in the answer of Plagiatus above.
0 Comments
Leave a Reply. |