fz-survival-datapack/data/fz/advancements/game_event/on_took_damage.json

24 lines
646 B
JSON

{
"parent": "fz:game_event",
"criteria": {
"on_took_damage": {
"trigger": "minecraft:tick",
"conditions": {
"player": [
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fz.event.damage_taken": {
"min": 10
}
}
}
]
}
}
},
"rewards": {
"function": "fz:game_event/player/on_took_damage"
}
}