24 lines
651 B
JSON
24 lines
651 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/advancement/on_took_damage"
|
|
}
|
|
} |