{
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:stone_sword",
          "functions": [
            {
              "function": "minecraft:set_components",
              "components": {
                "minecraft:item_name": {"translate":"item.cnk.knife","fallback":"Knife"},
                "minecraft:item_model": "cnk:knife",
                "minecraft:custom_data": {"cnk":{"knife":true},"smithed":{"ignore":{"functionality":true,"crafting":true}}},
                "minecraft:lore": [{"translate":"cnk.tooltip","font":"cnk:tooltip","color":"white","italic":false}],
                "minecraft:max_damage": 450,
                "minecraft:repairable": {"items": "minecraft:iron_ingot"},
                "minecraft:attribute_modifiers":[
                  {
                    "type":"minecraft:attack_damage",
                    "id":"cnk:knife",
                    "amount":3,
                    "operation":"add_value",
                    "slot":"mainhand",
                    "display": {
                      "type": "override",
                      "value": [{"text":" 4 ","color":"dark_green"},{"translate":"attribute.name.attack_damage"}]
                    }
                  },
                  {
                    "type":"minecraft:attack_speed",
                    "id":"cnk:knife",
                    "amount":-1.5,
                    "operation":"add_value",
                    "slot":"mainhand",
                    "display": {
                      "type": "override",
                      "value": [{"text":" 2.5 ","color":"dark_green"},{"translate":"attribute.name.attack_speed"}]
                    }
                  }
                ]
              }
            }
          ]
        }
      ]
    }
  ]
}