mojira.dev
MC-45749

Potion particles spread always from the north-west corner of a block, regardless of impact

The bug

The potion particles are not spawning in the middle of the block. They're spawning on the edge of the block. Does not happen when you use the following command with a command block:

/particle <particle> ~0 ~1 ~0 0 0 0 1 1

Code analysis

Code analysis by @unknown can be found in this comment.

Linked issues

MC-60528 When throwing potions, particles display elsewhere than where the entity hits the ground Resolved MC-68044 Splash potion particles are always at X: -.0 Z: -.0 Resolved MC-68785 Potion particles spawn wrong position when hit on the ground Resolved MC-69534 Splash potion particles on wrong location Resolved MC-76768 Thrown Enchanted bottle is displayed in the wrong place Resolved
MC-146740 Magma bubble column particles are misaligned Open MC-196142 Basalt delta particles move in random directions in Bedrock, but northwest on Java Open MC-161888 Enchantment tables do not track the player correctly at high distances from the world origin Resolved MC-163027 Mob and player particles are offset Resolved MC-189857 Potion particles spread always from the center of a block, regardless of impact Open

Attachments

Comments 37

Use absolute coordinates and add .5 to the end of the x and z coordinates. It's the only advice I can offer.

Fixed in 14w05b.

Tested with

/particle mobSpell ~0 ~1 ~0 0 0 0 1 5

Please re-open this issue. The bug is still prevalent in 14w27b. No matter where you throw a splash potion, the particles only appear on the North-West corner of the block they landed on.

Reopened and confirmed.

Confirmed 1.8-pre1

27 more comments

Affects 1.15 and 1.15.1 pre-release 1.

Also Eye of Ender broken particles are offset.

[media]

@@unknown, that is a separate issue and I created MC-172739 for it and attached your video there.
Please comment on it if you want to become the reporter.

Resolved? in 1.16 Pre-release 6.
Splash potion particles now always spread from the center of the block, regardless of impact

muzikbike

Panda4994

Confirmed

Low

Networking, Particles, Rendering

corner, incorrect-particle-generation, north-west, particle, splash-potion

Minecraft 14w04b, Minecraft 14w27b, Minecraft 14w30c, Minecraft 14w31a, Minecraft 14w34b, , 20w21a, 1.16 Pre-release 1, 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16 Pre-release 5

Minecraft 14w05b, 1.16 Pre-release 6

Retrieved