Jer_DeathWeapon: type: item material: wooden_sword mechanisms: attribute_modifiers: generic_attack_damage: 1: operation: add_number amount: 23 slot: hand unbreakable: true display name: Death Weapon lore: "Test." flags: entities_hit: 0 weapon_version: 1.0 Jer_Weapon_Test_Kill_Count: type: world debug: true events: on entity killed by player: - if == Jer_DeathWeapon: - flag entities_hit:+:1 - narrate