1

Command Block Range Help

Linkandar 7/8/19 9:07 pm
133
7/8/2019 9:35 pm
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!
Posted by
Linkandar
Level 1 : New Explorer
0

  Have something to say?

JoinSign in

1

HoboMaggot
07/08/2019 9:35 pm
Level 55 : Grandmaster Blob
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"
1

Welcome