Arqade Asked by aqualeon_ on February 4, 2021
So im trying to make a teleportation area that will teleport players to certain points in my world. I have multiple command blocks next to each other because there are multiple selections as to where you can teleport. I set a command here:
/tp @a[x=41, y=4, z=31] 26 12 10
I put specified coordinates in there because I only want players in a certain point to be teleported. I have 4 of these commands with different coordinates for different places. This is where trouble started. I was done putting in all the commands, and tried it out. The command it tested was set as the following:
/tp @a[x=41, y=12, z=31] 26 12 10
That worked. I tried another one, but, it teleported me to a location that was set in a different command block?? I even double checked to see if had mixed up any numbers, but, nope.
Just for clarification, there were 4 command blocks. I pressed the first on and it sent me to the location set in the second command, vise versa. What is happening? This also happened on another world I had, I dont really know how to fix this. Is there blocks you cant teleport through? Can command blocks not be side by side??
Uh. Without knowing what command you put in each command block, it is hard to say what is going on. If you put the command blocks together or too close, they could be activating one another if the redstone signal is detected.
I can suggest a different command:
teleport @p[distance=..2] -100.5 64 -100.5 180 0
If you put this into a command block, and press a button to activate it, any player within 2 blocks of the command block will be teleported to the xyz coordinates, facing 180 0.
If you want the player to step onto the block, you could put a pressure plate on top of it instead of a button.
You could set it to always run, then any player that enters the range will be teleported.
Answered by emmit on February 4, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP