2022-07-03 06:27:45 +08:00
|
|
|
{
|
2022-07-08 09:18:06 +08:00
|
|
|
"parent": "fz:game_event",
|
2022-07-03 06:27:45 +08:00
|
|
|
"criteria": {
|
2022-07-07 07:39:01 +08:00
|
|
|
"on_took_damage": {
|
2022-07-03 06:27:45 +08:00
|
|
|
"trigger": "minecraft:tick",
|
|
|
|
"conditions": {
|
|
|
|
"player": [
|
|
|
|
{
|
|
|
|
"condition": "minecraft:entity_scores",
|
|
|
|
"entity": "this",
|
|
|
|
"scores": {
|
2022-07-03 19:01:51 +08:00
|
|
|
"fz.event.damage_taken": {
|
2022-07-08 09:18:06 +08:00
|
|
|
"min": 10
|
2022-07-03 06:27:45 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2022-07-03 06:40:19 +08:00
|
|
|
},
|
|
|
|
"rewards": {
|
2022-07-25 13:34:40 +08:00
|
|
|
"function": "fz:game_event/advancement/on_took_damage"
|
2022-07-03 06:27:45 +08:00
|
|
|
}
|
|
|
|
}
|