#Particle Condition
1 messages · Page 1 of 1 (latest)
Try to use animation controllers
Have it transition between states by seeing whether the player has the item you are speaking of and then you can have the entity emit particles
I don’t want to use entities, I want to use blocks
I could do this with commands, but if one player has the item in main hand, the particles would show up for everyone, and I need it to only be shown for those players with the items at hand
Ah I see what you mean
Is it safe to assume that multiple players would be on the same pack?
Yeah of course
Where do you want to display said particle?
In my custom block position
Are you working on a map and the block position is known beforehand, or they can be placed by players anywhere?
By players anywhere, I’m trying to re-create the barriers behavior
so the particle will be where the block is, set by a /particle command
Hmm
You can try to engineer a particle in such a way, that it always emits 2 particles
But if you spawn it with a special argument, it will emit only one particle
And if you control visibility of particles with particle count, by checking if it's odd or even
If u emit particles normally w /particle, it will spawn 2 invisible particles, but if you in addition to that spawn the same particle effect, but with a special argument that will ensure that it creates only one particle, then particles created with a command will be visible
You can spawn that controlling particle from the player, if q.is_local_player is true and if they're holding necessary item
U can make controlling particle invisible