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

Missing texture when eating an item with the air model

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 24w37a, 24w38a
    • None
    • Confirmed
    • Commands, Items, Textures and models
    • Low
    • Platform

      The bug

      If an item which can be eaten is given the model of air via commands, the particles produced upon eating it will be that of the missing texture.

      The missing texture should only appear if there is an issue with the currently active resource pack, so the fact that it can arise here without the need of any resource packs is a problem.

      How to reproduce

      1. /give @s cookie[item_model="minecraft:air"]
      2. Bon appetit

      Expected results

      Eating this would either produce no particles at all, or produce particles not associated with the missing texture.

      Actual results

      Eating this produces particles from the missing texture.

      How to fix

      A resource pack that fixes this issue entirely is attached to this ticket. I give Mojang full permission to use any assets from this resource pack to fix this issue if such permission is required. This pack also fixes MC-270529, which arises for much the same reason.

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

              Created:
              Updated:
              CHK: