2022-07-03 06:27:45 +08:00
|
|
|
{
|
|
|
|
"criteria": {
|
2022-07-03 19:01:51 +08:00
|
|
|
"on_damage_taken": {
|
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": {
|
|
|
|
"min": 1
|
2022-07-03 06:27:45 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2022-07-03 06:40:19 +08:00
|
|
|
},
|
|
|
|
"rewards": {
|
2022-07-03 19:01:51 +08:00
|
|
|
"function": "fz:event/on_damage_taken"
|
2022-07-03 06:27:45 +08:00
|
|
|
}
|
|
|
|
}
|