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

Air block and item models define the missing texture as the particle texture instead of something that makes sense

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 24w45a
    • None
    • Community Consensus
    • Particles, Textures and models

      Discovered while testing MC-270529 and MC-276725.

      The bug

      As of 24w45a, the models for air now define minecraft:missingno as their particle texture, presumably to reduce log errors with the fix to MC-236295. This is not ideal, as the missing texture should only appear when there is a genuine issue with resources.

      How to reproduce

      1. /particle minecraft:block_marker{block_state:{Name:"minecraft:air"}} ~ ~1 ~
      2. /give @s cookie[item_model="minecraft:air"]

        , eat this item

      Expected results

      The missing texture would not be used.

      Actual results

      It is.

      How to fix

      This is very easy to fix - we just need to make air use a real texture. I've attached a resource pack that introduces a simple texture for air, and repointed the air model to use it instead. This fixes this issue entirely. I give Mojang full permission to use these assets to fix this issue if needed.

        1. 2024-11-07_10.07.48.png
          357 kB
          Connor Steppie
        2. 2024-11-07_10.07.59.png
          558 kB
          Connor Steppie
        3. 2024-11-07_10.08.33.png
          539 kB
          Connor Steppie
        4. 2024-11-07_10.08.53.png
          306 kB
          Connor Steppie

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

              Created:
              Updated:
              Resolved:
              CHK: