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

CustomModelData's 3Dmodel's texture crashes at 1.20.x but work in 1.16.5

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.20.4
    • None
    • jdk 17.0.1
      windows 10
      GTX4060ti
    • Unconfirmed
    • (Unassigned)

      I created a 1.20.1 resource package using the custom model data feature.
      All paths of the model are normal and can run normally in the blockbench.
      You can open the JSON file of the model and see that the texture and model are completely fine.

      However, in the 1.20.1 environment (all modules have been removed, including openfine). There is no problem with the model,
      But the texture completely turned into purple black squares (damaged by collision).

      Interestingly, at 1.16.5, everything in this material bag was normal.
      I don't know what problem caused it.

      Interestingly, there is no problem with the blocks, it's just that theĀ  items has this issue.

      What's even more interesting is that the 2D model is great, but the texture of the 3D model crashes in 1.20. x.

      This is the material package: test.rar

      Please enter the following code to obtain the Iron Sword with a custom model file:
      /Give @ s minecraft: iron_sword {CustomiModelData: 8}

        1. cube is not crash.png
          cube is not crash.png
          750 kB
        2. in 1.16.5.png
          in 1.16.5.png
          945 kB
        3. in 1.20.1.png
          in 1.20.1.png
          3.55 MB
        4. test.rar
          313 kB

            Unassigned Unassigned
            RebornIron RebornIron
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: