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: Unresolved
    • None
    • 24w45a
    • None
    • Community Consensus
    • (Unassigned)

      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
          2024-11-07_10.07.48.png
          357 kB
        2. 2024-11-07_10.07.59.png
          2024-11-07_10.07.59.png
          558 kB
        3. 2024-11-07_10.08.33.png
          2024-11-07_10.08.33.png
          539 kB
        4. 2024-11-07_10.08.53.png
          2024-11-07_10.08.53.png
          306 kB
        5. air-texture-provider-24w45a-v1.0.zip
          2 kB

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

              Created:
              Updated:
              CHK: