1

Command Block Range Help

Linkandar's Avatar Linkandar7/8/19 9:07 pm
1 emeralds 114 1
7/8/2019 9:35 pm
HoboMaggot's Avatar HoboMaggot
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's Avatar
Linkandar
Level 1 : New Explorer
0

Create an account or sign in to comment.

1

1
07/08/2019 9:35 pm
Level 52 : Grandmaster Blob
HoboMaggot
HoboMaggot's Avatar
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"
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome