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

CustomModelData can't work on the item "spyglass"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.21.1
    • None
    • Unconfirmed
    • (Unassigned)

      first of all, Model – Minecraft Wiki in chinese show

      Question:

      when I try to overwrite the model of spyglass like this when I give @s spyglass[custom_model_data=12]:
      {
        "parent": "minecraft:item/generated",
        "textures":

      {     "layer0": "minecraft:item/spyglass"   }

      ,
        "overrides": [
          {
            "predicate":

      {         "custom_model_data": 12       }

      ,
            "model": "raycast_display:item/dirt"
          }
        ]
      }
       raycast_display:item/dirt is a model that work on diamond like this when I give @s diamond[custom_model_data=12]:
      {
          "parent": "minecraft:item/generated",
          "textures":

      {       "layer0": "minecraft:item/diamond"     }

      ,
          "overrides": [
            {
              "predicate":

      {           "custom_model_data": 12         }

      ,
              "model": "raycast_display:item/dirt"
            }
          ]
        }
       
      even if I use the existing item model "glass", the diamond one is accessible, but the spyglass one not. Confused so I submit this question and hope to solve it.

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

              Created:
              Updated:
              Resolved: