Particles spawned around a block aren't centered

Upvotes: 1
Issue description

This issue affects both 1.12 and 1.14 and all spawning shapes except for spread. It makes blocks spawn particles closer to negative values of X: this is caused by the code subtracting 0.27 from the x coordinate of the particle when spawning it.

Attachment Size
The issue as it appears in-game79.01 KB 79.01 KB
Particle settings of the block16.6 KB 16.6 KB
What causes the issue in the code29.92 KB 29.92 KB

Issue comments

You are correct, I don't know why these offsets even were there hehe :D Thank you for letting me know and for extensive report and demonstration, this helped isolate the cause quickly.

You were just in time, I will fix this in 2020.2.

Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.