Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-238099

Item particles are not tinted, unlike block particles

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 21w39a
    • Confirmed
    • (Unassigned)

      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.

        1. 2021-10-01_13.50.18.png
          138 kB
          Connor Steppie
        2. 2021-10-01_13.50.47.png
          122 kB
          Connor Steppie

            Unassigned Unassigned
            Awesoman3000 Connor Steppie
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: