2022-07-03 06:27:45 +08:00
|
|
|
{
|
2022-07-30 16:34:38 +08:00
|
|
|
"parent": "fzsd: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-30 16:34:38 +08:00
|
|
|
"fzsd.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-30 16:34:38 +08:00
|
|
|
"function": "fzsd:game_event/advancement/on_took_damage"
|
2022-07-03 06:27:45 +08:00
|
|
|
}
|
|
|
|
}
|