{ "criteria": { "tools_hit_entities": { "trigger": "minecraft:player_hurt_entity", "conditions": { "player": [ { "condition": "minecraft:entity_properties", "entity": "this", "predicate": { "equipment": { "mainhand": { "items": [ "iron_axe", "stone_axe", "golden_axe", "wooden_axe", "diamond_axe", "netherite_axe", "iron_shovel", "stone_shovel", "golden_shovel", "wooden_shovel", "diamond_shovel", "netherite_shovel", "iron_hoe", "stone_hoe", "golden_hoe", "wooden_hoe", "diamond_hoe", "netherite_hoe", "iron_pickaxe", "stone_pickaxe", "golden_pickaxe", "wooden_pickaxe", "diamond_pickaxe", "netherite_pickaxe" ] } } } } ] } } }, "rewards": {"function": "fz:scoreboards/digcounter/toolsfix2"} }