fz-survival-datapack/data/fz/advancements/event/on_hurt_entity_with_tools.json

19 lines
474 B
JSON

{
"criteria": {
"on_hurt_entity_with_tools": {
"trigger": "minecraft:player_hurt_entity",
"conditions": {
"player": {
"equipment": {
"mainhand": {
"tag": "fz:tools"
}
}
}
}
}
},
"rewards": {
"function": "fz:event/player/on_hurt_entity_with_tools"
}
}