Forumskeyboard_arrow_right Communities keyboard_arrow_right Redstone

Create Forum Thread
1

Command Block Range Help

1 emeralds1 reply38 views
created 07/08/2019 9:07 pm by Linkandar
last reply 07/08/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 avatar
Linkandar
Level 1 : New Explorer
0

comment Login or register to post a reply.

1 reply

1
07/08/2019 9:35 pm
Level 8 : Apprentice Modder
HoboMaggot
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

Browse

Site

© 2010 - 2019
planetminecraft.com

Welcome