完善scoreboard、初步实现config

This commit is contained in:
延皓
2022-06-23 21:10:09 +08:00
parent d9b5c29fff
commit cb8c0a1079
14 changed files with 71 additions and 1 deletions
+23
View File
@@ -0,0 +1,23 @@
{
"criteria": {
"unsneak": {
"trigger": "tick",
"conditions": {
"player": {
"type_specific": {
"type": "player",
"advancements": {
"fz:config/sneak": true
}
},
"flags": {
"is_sneaking": false
}
}
}
}
},
"rewards": {
"function": "fz:event/on_unsneak"
}
}