{
  "format_version": "1.18.0",
  "minecraft:item": {
    "description": {
      "category": "equipment",
      "identifier": "legacy:hawkbrand"
    },
    "components": {
      "minecraft:icon": {
        "texture": "legacy_hawkbrand"
      },
      "minecraft:creative_category": {
        "parent": "itemGroup.name.sword"
      },
      "minecraft:use_duration": 3600,
      "minecraft:max_stack_size": 1,
      "minecraft:hand_equipped": true,
      "minecraft:foil": false,
      "minecraft:durability": {
        "max_durability": 850
      },
      "damage_chance": {
        "min": 60,
        "max": 100
      },
      "minecraft:repairable": {
        "repair_items": [
          {
            "items": [
              "legacy:hawkbrand"
            ],
            "repair_amount": "context.other->query.remaining_durability + 0.2 * context.other->query.max_durability"
          }
        ]
      },
      "minecraft:mining_speed": 1,
      "minecraft:damage": 8,
      "minecraft:enchantable": {
        "value": 15,
        "slot": "sword"
      },
      "minecraft:can_destroy_in_creative": true,
      "minecraft:weapon": {
        "on_hurt_entity": {
          "event": "hurt"
        },
        "on_not_hurt_entity": {
          "event": "hurt"
        },
        "on_hit_block": {
          "event": "hurt"
        }
      },
      "minecraft:render_offsets": {
        "main_hand": {
          "third_person": {
            "scale": [
              0.08888888888888888,
              0.08888888888888888,
              0.08888888888888888
            ]
          },
          "first_person": {
            "scale": [
              0.033777777777757506,
              0.033777777777757506,
              0.033777777777757506
            ]
          }
        },
        "off_hand": {
          "third_person": {
            "scale": [
              0.08888888888888888,
              0.08888888888888888,
              0.08888888888888888
            ]
          },
          "first_person": {
            "scale": [
              0.033777777777757506,
              0.033777777777757506,
              0.033777777777757506
            ]
          }
        }
      },
      "tag:minecraft:is_sword": {},
      "minecraft:display_name": {}
    },
    "events": {
      "on_use_event": {
        "sequence": [
          {
            "damage": {
              "type": "magic",
              "amount": 1,
              "target": "self"
            }
          }
        ]
      },
      "hurt": {
        "damage": {
          "type": "magic",
          "amount": 1,
          "target": "self"
        }
      }
    }
  }
}