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

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
+3 -3
View File
@@ -1,5 +1,5 @@
{
"parent": "fz:sneak",
"parent": "fz:event/on_sneak",
"criteria": {
"on_unsneak": {
"trigger": "minecraft:tick",
@@ -11,7 +11,7 @@
"type_specific": {
"type": "player",
"advancements": {
"fz:sneak": true
"fz:event/on_sneak": true
}
}
}
@@ -19,6 +19,6 @@
}
},
"rewards": {
"function": "fz:event/on_unsneak"
"function": "fz:event/player/on_unsneak"
}
}