mojira.dev
MC-312364

The minecraft:freezing particle has incorrect rotation interpolation for the first tick

The minecraft:freezing particle has incorrect rotation interpolation for the first tick, causing the particle to rotate much quicker than intended for 1 tick after spawning in. See videos attached, one was recorded at a low tick rate to make the issue easier to see.

The cause

In the net.minecraft.client.particle.FreezingParticle constructor (using Mojang names) the roll field is set to a random value, however the oRoll field is not set meaning it gets left as 0. This causes the particle to interpolate between 0 and the random rotation value for the first tick. The fix would be to simple set oRoll to the same value as roll in the contructor

Attachments

Comments 1

Thank you for helping us improve Minecraft! We saved your files:

[media][media]

Enchanted_Games

(Unassigned)

Confirmed

Expansion A

Low

Particles

26.4 Snapshot 3

Retrieved