3

Is there any way to teleport a player from the overworld to the end?

Or a way of teleporting a player to a random enderman in the end?

6

This is trivial in Minecraft 1.13:

/execute in the_end run tp <player> <location>
  • Note that this is not implemented in the Bedrock edition. A more restricted version of the /execute command does exist in the Bedrock edition and theoretically could be used to do something like this, but there's currently a bug where the /execute command disregards dimensions entirely. I've reported it here: bugs.mojang.com/browse/MCPE-44104 – Macil Mar 31 at 23:33
2

Not really. At least not directly. (something like /tp @p 0 50 0 dimension:end doesn't exist)

The only way would be to teleport them into an end-portal block (which you can create on any fixed position you'd like) and then to wherever you want (it takes some time to get to the end, so don't teleport them immediately).

  • Since you can make a portal block in a fixed position it is certainly possible to automate this. – Sumurai8 Nov 25 '16 at 9:48
  • of course it is possible to automate this, but you can't just do something like /tp @p 0 20 0 dimension:end or something, that was what i was trying to imply here. lemme quickly edit it to make it clear. – Plagiatus Nov 25 '16 at 9:51
0

This solution I came up with, is building upon a possibility hinted in the answer of Plagiatus above.

1) Build an End Portal and use it.

2) In the overworld, set up a command block with execute @p ~ ~ ~ setblock ~ ~ ~ end_portal.

Alternative: If you want the portal to be immediately removed, you need a more complex setup. You need the following commands to be executed in this order:

2a) execute @p ~ ~ ~ summon armor_stand ~ ~1 ~ {CustomName:"PortalPoint",NoGravity:1b,Marker:1b,Invisible:1,Invulnerable:1}

2b) execute @e[name=PortalPoint,type=armor_stand] ~ ~ ~ setblock ~ ~-1 ~ end_portal

2c) execute @e[name=PortalPoint,type=armor_stand] ~ ~ ~ setblock ~ ~-1 ~ air

2d) kill @e[name=PortalPoint,type=armor_stand]

The 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. (Don't look at me like that. Odds are that this happens.)

3) In the End, place a command block right below the obsidian layer, with tp @a[r=4] x y z, where x, y and z are the coordinates you want the player to be teleported to. 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. You'll still want to put this in a repeat command block that's constantly active, so players spawning into the End get teleported immediately.

4) Make sure both the End Portal in the overworld and the spawn area in the End are not accessible during normal gameplay, so players can neither use the Portal for a shortcut to the end nor reach the spawn area again after they've been teleported away. (Because they would be teleported away again, which would be odd and, depending on what you're doing, might mess up things.) Actually, I'd assume you can remove the original entrance Portal safely.

This, of course, assumes that the End Portals placed by the command have the same spawn area as the End Portal you originally use. I'd strongly assume this is the case, but I've never actually used multiple different End Portals, so I have no actual experience how they interact. I didn't test because I'm still mainly using 1.8 because of Forge, so I didn't get the 1.9+ versions of my resourcepack yet. Trying it out in 1.8 would probably be pointless - I could adapt the entity IDs and such, but there's been so much changed about the End since that it might easily break or fix the setup between the versions.

0

No, there is no way. Not that I know of in vanilla Minecraft anyway. If you are in one dimension, in this case the Overworld, you cannot teleport to another dimension. If you enter a /tp @p ~ ~ ~, it will teleport you somewhere in the Overworld, and there's no tag or extra data that will specify the End.

Now, you could just run a command that spawns a portal exactly at the player's location, and hook up a command that will run as soon as the player is in the End, teleporting them to the desired coordinates. It would take a lot of calculating, but it could technically be done.

  • And I just realized that this is a reeeaaaly old question.... I should probably check the date before I respond XD – Illeloria Gaming Mar 13 '18 at 16:29
  • Generally speaking answering old questions isn't a bad thing if you can add something new that the old answers don't already provide, or the old answers are outdated. – Dragonrage Mar 13 '18 at 17:14
-1

Yes you can. Try using:

/setblock ~ ~1 ~ end_portal

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.