物品

items:
  example_item:
    material: paper
    custom-model-data: 1000
    model:
      path: "my_items:item/example_item"
      generation:
        parent: "minecraft:item/generated"
        textures:
          "layer0": "my_items:item/example_item"
items:
  example_rod:
    material: fishing_rod
    custom-model-data: 1000
    custom-name: '<lang:block.example_rod>'
    model:
      path: "my_items:item/example_rod"
      generation:
        parent: "minecraft:item/generated"
        textures:
          "layer0": "my_items:item/example_rod"
        overrides:
          - predicate:
              cast: 1
            model: 
              path: "my_items:item/example_rod_cast"
              generation:
                parent: "minecraft:item/fishing_rod"
                textures:
                  "layer0": "my_items:item/example_rod_cast"

最后更新于