mojira.dev
MC-257053

Magma cube flame particles are mostly generated in midair

The bug

When a magma cube jumps and falls on top of a block, several flame particles are generated. For some reason, these particles are generated levitating in the air to a variable degree instead of close to the ground.

How to reproduce

  1. Find magma cubes

  2. Take note of their jumping

Expected results

The flame particles would be generated a few pixels above the ground at most.

Actual results

The flames often appear upwards of half a block above the surface.

Linked issues

Attachments

Comments 3

Looks like they spawn at eye anchor, rather than feet anchor.

Testing in Beta 1.9 Prerelease reveals that the flame particles initially were created at the bottom of the magma cube, meaning that the correct behaviour was present upon initial implementation and it somehow got broken along the way.

[media]

[media]

[media]

Of course, spawnign them exactly at floor level does cause the particles to clip into the ground below, so I'll reiterate that they should be generated a few pixels above the floor to account for this (but nowhere near the extent that they are currently).

The problem may be the same as on Bedrock: the particles spawn at the time the magma hits the ground server-side, but at the position of their client-side visual base.

muzikbike

(Unassigned)

Confirmed

Platform

Low

Particles

magma_cube

1.19.2, 22w43a, 1.19.3, 1.20.3

Retrieved