Item

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:
  beginner_rod:
    material: fishing_rod
    custom-model-data: 1000
    data:
      display-name: "<papi:player_name>'s rod"
    model:
      path: "minecraft:item/custom/beginner_rod"
      generation:
        parent: "minecraft:item/fishing_rod"
        textures:
          "layer0": "minecraft:item/custom/beginner_rod"
      overrides:
        - predicate:
            cast: 1
          model:
            path: "minecraft:item/custom/beginner_rod_cast"
            generation:
              parent: "minecraft:item/fishing_rod"
              textures:
                "layer0": "minecraft:item/custom/beginner_rod_cast"

Last updated