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

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
Curtis Parmenter

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
Logical_Cyclops

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.

Affects 1.16 pre5

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

cvsd

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