{
  "format_version": "1.21.100",
  "minecraft:item": {
    "description": {
      "identifier": "minecraft:copper_spear"
    },

    "components": {
      "minecraft:icon": {
        "textures": {
          "default": "copper_spear"
        }
      },
      "minecraft:display_name": {
        "value": "item.copper_spear.name"
      },
      "minecraft:tags": {
        "tags": [ "minecraft:copper_tier", "minecraft:is_spear" ]
      },
      "minecraft:max_stack_size": 1,
      "minecraft:durability": {
        "max_durability": 190,
        "damage_chance": {
          "min": 0,
          "max": 100
        }
      },
      "minecraft:repairable": {
        "repair_items": [
          {
            "items": [ "minecraft:copper_spear" ],
            "repair_amount": "context.other->query.remaining_durability"
          },
          {
            "items": [ "minecraft:copper_ingot" ],
            "repair_amount": "query.max_durability * 0.25"
          }
        ]
      },
      "minecraft:enchantable": {
        "slot": "melee_spear",
        "value": 13
      },
      "minecraft:hand_equipped": {
        "value": true
      },
      "minecraft:use_modifiers": {
        "use_duration": 72000,
        "emit_vibrations": false,
        "start_sound": "item.copper_spear.use",
        "movement_modifier": 1.0
      },
      "minecraft:cooldown": {
        "category": "spear",
        // Should match "swing_duration"'s "value".
        "duration": 0.85,
        "type": "attack"
      },
      "minecraft:swing_duration": {
        // Should match "cooldown"'s "duration".
        "value": 0.85
      },
      "minecraft:swing_sounds": {
        "attack_miss": "item.copper_spear.attack_miss",
        "attack_hit": "item.copper_spear.attack_hit"
      },
      "minecraft:damage": {
        "value": 2
      },
      "minecraft:piercing_weapon": {
        "reach": {
          "min": 2.0,
          "max": 4.5
        },
        "creative_reach": {
          "min": 2.0,
          "max": 7.5
        },
        "hitbox_margin": 0.25
      },
      "minecraft:kinetic_weapon": {
        "delay": 13,
        "reach": {
          "min": 2.0,
          "max": 4.5
        },
        "creative_reach": {
          "min": 2.0,
          "max": 7.5
        },
        "hitbox_margin": 0.25,
        "damage_multiplier": 0.82,
        "damage_conditions": {
          "max_duration": 250,
          "min_relative_speed": 4.6
        },
        "knockback_conditions": {
          "max_duration": 165,
          "min_speed": 5.1
        },
        "dismount_conditions": {
          "max_duration": 80,
          "min_speed": 12.0
        }
      }
    }
  }
}
