1
Command blocks
Hi guys me and my friend are trying to get rid of a potion effect at a certain cord because we are making a adventure map can you guys please help andi t needs to be on 1.7
Create an account or sign in to comment.
5
1
You can just use the coordinates at the start;
EG to remove effect 1 at (15 100 24)
/effect @a[15,100,24,0] 1 0 0
The bold zero is the range, setting it to 0 will only check that block, but if you set it to 1 or higher it will check a range around that position
EG to remove effect 1 at (15 100 24)
/effect @a[15,100,24,0] 1 0 0
The bold zero is the range, setting it to 0 will only check that block, but if you set it to 1 or higher it will check a range around that position
1
this kind of works but it gives it to everyone not at the cord
1
Be sure to put the 0 in the [ ] to!
1
i did
1
/effect @a[x=,y=,z=,r=] clear should do the trick