i would like to be able to have a 'portal' gate in the overworld that would TP a player to another dimension (Wether End/Nether or some other dimension/world map) as I like the parralax texture effect
however this will only TP you in the world you are in..(without the {} tags it's just the block that shows)
So the only way I can see is to TP a player to a (hidden) location in the overworld world where they land on a command block that has a command like
execute as @p in minecraft:the_nether run teleport 251 64 -160
However I would need several command blocks/pressure pads covering an area as when players go through since their momentum can make them tp up to 3 blocks away from the final TP location..
I have done something similar before. I made and end gateway and used a repeating command block to TP the player when they were a block or two from said gateway. Use /execute in <overworld|the_nether|the_end> if entity @a[x=#,y=#,z=#,distance=..#] run tp <target> <location>.
@a[x=#,y=#,z=#,distance=..#] this should be the rough coords of the gateway and your distance can be however far from that point you want the command to trigger. The final <location> should obviously be the coords within that realm that you want to go. Doing it this way requires only one repeating command block. Hope this is helpful.
Ok firstly lets explain WHY I want to know..
i would like to be able to have a 'portal' gate in the overworld that would TP a player to another dimension (Wether End/Nether or some other dimension/world map) as I like the parralax texture effect
I know you can 'setblock' such a thing using
however this will only TP you in the world you are in..(without the {} tags it's just the block that shows)
So the only way I can see is to TP a player to a (hidden) location in the overworld world where they land on a command block that has a command like
However I would need several command blocks/pressure pads covering an area as when players go through since their momentum can make them tp up to 3 blocks away from the final TP location..
Ideally I would like some command like
but tried this & it doen't work (even though the line doesn't show any errors when typing it out)
has anyone got ideas on how to do this ??
I have done something similar before. I made and end gateway and used a repeating command block to TP the player when they were a block or two from said gateway. Use /execute in <overworld|the_nether|the_end> if entity @a[x=#,y=#,z=#,distance=..#] run tp <target> <location>.
@a[x=#,y=#,z=#,distance=..#] this should be the rough coords of the gateway and your distance can be however far from that point you want the command to trigger. The final <location> should obviously be the coords within that realm that you want to go. Doing it this way requires only one repeating command block. Hope this is helpful.