1
Command Block Range Help
Hello,
I am making a map where I need players to be teleported to a certain point if they fall off the edge of the map. I need a command block to trigger if a player's y coordinate drops below a certain number, regardless of their x and z. Is there any way I can implement this in Vanilla?
Any and all help is GREATLY appreciated! Thank you for your time!
I am making a map where I need players to be teleported to a certain point if they fall off the edge of the map. I need a command block to trigger if a player's y coordinate drops below a certain number, regardless of their x and z. Is there any way I can implement this in Vanilla?
Any and all help is GREATLY appreciated! Thank you for your time!
Create an account or sign in to comment.
1
1
if you want the person to tp to somewhere after, lets just say y=0, do this
/execute as @a[y=0..] run tp @s "some coords"
/execute as @a[y=0..] run tp @s "some coords"