So I want to make a "working" shower, where when you stand in the shower the splashing particles start showing up, and when you leave the shower they stop.
The command I made:
/execute if entity @e[x=-1372,y=66,z=-1593] run particle minecraft:splash -1372 69 -1593 -1372 68 -1593
I don't know why it won't work?
I've checked the cords and they seem right?!
(The shower is 1x1, the second set of cords is if I jump it will still keep going.)
The particle command doesn't take two sets of coordinates.
Check if the person is in the shower first, including if they are being naughty and jumping in the shower, and then do the particles:
execute if entity @a[x=-1372,y=66,z=-1593,dy=1] run particle splash -1372 69 -1593 0.2 0.2 0.2 0 10
The dy=1 means we are checking from y:66 to y:66+1, so that should detect them even if they jump.
You may want to play with the numbers at the end:
0.2 0.2 0.2 These are how much it spreads out on the X, Y, and Z
0 is the speed of the particles.
So I want to make a "working" shower, where when you stand in the shower the splashing particles start showing up, and when you leave the shower they stop.
The command I made:
/execute if entity @e[x=-1372,y=66,z=-1593] run particle minecraft:splash -1372 69 -1593 -1372 68 -1593
I don't know why it won't work?
I've checked the cords and they seem right?!
(The shower is 1x1, the second set of cords is if I jump it will still keep going.)
The particle command doesn't take two sets of coordinates.
Check if the person is in the shower first, including if they are being naughty and jumping in the shower, and then do the particles:
The dy=1 means we are checking from y:66 to y:66+1, so that should detect them even if they jump.
You may want to play with the numbers at the end:
0.2 0.2 0.2 These are how much it spreads out on the X, Y, and Z
0 is the speed of the particles.
10 is the number of particles.