mojira.dev
MC-274400

Dispensers firing a wind charge play the crafter crafting world event, showing incorrect particles beneath the block

Wind charges fired by dispensers have a custom sound compared to other projectiles. However, they additionally create particles matching the crafter's particles, which seems unintentional as the particles always spawn moving down in the world as opposed to the direction of fire.

To reproduce

1. Create a dispenser filled with wind charges.
2. Activate it.
3. Observe that white smoke particles are spawned moving downward of the dispenser.
4. Activate a downward-facing crafter, and observe that the particles are the same.

Code analysis (Yarn mappings)

There is a missing break between the world events with IDs 1051 (wind charge fired) and 2010 (crafter activated). This can be seen in the WorldRenderer#processWorldEvent method. As a result, playing the wind charge world event will also effectively play the crafter activated world event.

Attachments

Comments 0

No comments.

haykam

(Unassigned)

1268035

Confirmed

Expansion B

Normal

Particles, Projectiles

crafter, dispenser, wind_charge

1.21, 1.21.1

24w33a

Retrieved