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

Empty string used as model causes inconsistent results

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.3
    • None
    • Unconfirmed
    • (Unassigned)

      The bug

      If a model file uses the "parent" parameter to reference another model, and the empty string "" is used, the observed results are inconsistent.

      How to reproduce

      A resource pack that makes oak leaves point to "" as the parent model is attached.

      1. Download and apply the attached resource pack
      2. Obtain/look at oak leaves
      3. /give @s minecraft:birch_leaves[minecraft:item_model=""]

      Expected results

      Both oak leaves and the given item for birch leaves reference the empty string. Therefore, either both would appear empty, or both would use the missing model.

      Actual results

      The oak leaves appear empty, but the birch leaves use the missing model.

        1. 2024-10-25_07.11.39.png
          478 kB
          Connor Steppie
        2. 2024-10-25_07.11.50.png
          444 kB
          Connor Steppie

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

              Created:
              Updated: