2020-11-27 00:27:49 +08:00
|
|
|
{
|
|
|
|
"criteria": {
|
|
|
|
"death_counter": {
|
|
|
|
"trigger": "minecraft:tick",
|
|
|
|
"conditions": {
|
|
|
|
"player": [
|
|
|
|
{
|
|
|
|
"condition": "minecraft:entity_scores",
|
|
|
|
"entity": "this",
|
|
|
|
"scores": {
|
|
|
|
"deathTester": {
|
2021-07-03 06:21:34 +08:00
|
|
|
"min": 1
|
2020-11-27 00:27:49 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"rewards": {
|
|
|
|
"function": "fz:scoreboards/deathcounter/calculator"
|
|
|
|
}
|
|
|
|
}
|