So i recently saw some youtubers that are capable on teleporting in their world by entering a certain location in their world, and it teleports them to another point, which works like nether portal and i need explanation on how they did that.
You can do this with commandblocks
/execute if entity @a[x=0,y=0,z=0,distance=..3] run tp @p x y z
This part creates an area to detect players - the xyz coordinates with a radius of 3 blocks
run tp @p x y z
With this part, you teleport the player to a given position
Set the commandblock to always active
There is a number of mods that enable teleport functionality in survival, such as Waystones, Wormhole, etc.
I copied the command you gave and set it to always active but it didnt seem to work and i cant provide pictures here
Do not just copy the command - you have to set coordinates
Yes i did change the coordinates for testing if it works but it still didnt. Can i have your contact so i can provide you with the pictures.
/tp @a[x=100,y=64,z=100,distance=..3] 200 64 200
I play on java 1.17.1
Does the other command work?
Yeah they work
I used the command with coordinates and the buttons showing are impulse unconditional and always active
these are the pictures of the command block
Also set the commandblock from Impulse to Repeat
Ah thank you so much it finally worked after i changed it