mojira.dev
MC-238099

Item particles are not tinted, unlike block particles

Relates to MC-213503, MC-4040 and MC-29544.

The bug

Particles generated via commands or otherwise for blocks which are tinted themselves appear tinted to match this. However, for items (such as the direct item form of said blocks), no tint appears to be applied at all, despite the item also using a tint.

Tested for lily pads and leaves. Other items such as potions and spawn eggs are likely also affected, however are yet to be tested.

How to reproduce

  1. Place a lily pad

    1. Notice that it has a tint when placed

  2. Obtain a lily pad in the inventory

    1. Notice it also uses a tint

  3. /particle minecraft:block lily_pad ~ ~ ~

    1. Notice that the particles are green, like the block

  4. /particle minecraft:item lily_pad ~ ~ ~

    1. Notice that the particles are gray, unlike the item

Expected behaviour

The item particles would be tinted to match the item color.

Actual behaviour

The item particles just seem to use the raw texture of the item form, never taking tinting into consideration.

Suggested fix

Model files could have a new parameter added: "tint_particles": "true/false". This way, particle tints could be customized per model, allowing for these items to have them enabled through this parameter, as well as fixing bugs like MC-132734 and MC-169697 (and also disabling it for grass blocks through the model rather than hardcoding it) simply by having it be set to false.

Linked issues

Attachments

Comments 1

This is a feature request

muzikbike

(Unassigned)

Confirmed

(Unassigned)

missing-tint

21w39a

Retrieved