1

Using /execute to test for a player's position

BlooBehry's Avatar BlooBehry5/26/19 11:56 am
1 emeralds 266 3
5/26/2019 3:25 pm
UzairCat's Avatar UzairCat
I am trying to check if a player crosses the coordinate 0 on the z. The command I made was [] /execute if entity @a positioned ~ ~ 0 run title @a actionbar "someone crossed the center" [](ignore the "[]" it was just to separate)This runs the title all the time without the position needed. Where did i go wrong?
Posted by BlooBehry's Avatar
BlooBehry
Level 1 : New Miner
0

Create an account or sign in to comment.

3

3
05/26/2019 3:21 pm
Level 60 : High Grandmaster Narwhal
UzairCat
UzairCat's Avatar
/execute if entity @a[z=0] run title @a actionbar "someone crossed the center"
2
05/26/2019 3:24 pm
Level 1 : New Miner
BlooBehry
BlooBehry's Avatar
Thank you!
1
05/26/2019 3:25 pm
Level 60 : High Grandmaster Narwhal
UzairCat
UzairCat's Avatar
no problem my friend!
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome