规范了事件系统,完成了实现计分板赋值逻辑

This commit is contained in:
延皓
2022-07-07 07:39:01 +08:00
parent 171b19c93a
commit 4665599abb
173 changed files with 1374 additions and 276 deletions
+23
View File
@@ -0,0 +1,23 @@
{
"criteria": {
"on_dead": {
"trigger": "minecraft:tick",
"conditions": {
"player": [
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fz.event.death_count": {
"min": 1
}
}
}
]
}
}
},
"rewards": {
"function": "fz:event/player/on_dead"
}
}