What I expected-
The particle command would spawn particles relative to my location.
What actually happened-
Particles were spawned relative to the center of the block I was standing in.
How to reproduce-
Stand on the edge of a block.
Use a particle command such as:/particle heart ~ ~ ~ 0 0 0 0
Observe that the particles spawn in the center of the block, and not at your co-ordinates.
Linked issues
Attachments
Comments 46
Read a bug report before posting a comment next time.
The execute command does not effect this bug. Whether run directly or using an execute command, the same issue arises.
Let me clarify...
As stated in MC-62638, particles are executed from the command block not the person.
IF you want them to be visual at a person, you must use execute.
Understand what Searge means now?
Try this:
execute @p ~ ~ ~ particle heart ~ ~ ~ 0 0 0 0
I can confirm this, even with the execute command it will play the particle at the center of the block and not the player
Why not? It works with every other command except teleport. If it was the case, execute would be useless.
in previous snapshots were execute ans particle were added, the particle command didn't do it like that,
execute is for others/commandblocks to execute a command at someone, like summoning a zombie right next to them
Correct, but that command was changed along with playsounds and probably others. Mojang (Searge) is likely making execute the specific command to do actions at entity/player locations. Having said that, execute should be fixed to work with decimal coordinates.
Sorry to interrupt that discussion (iMojira is a bug tracker, not a forum!), but this is a duplicate of MC-63419
Do a search before posting next time.
You use execute now see MC-62638