添加交互器打开方式选项、添加将假人分数忽略的地毯脚本

This commit is contained in:
延皓
2022-07-25 13:34:40 +08:00
parent 4ef9270a21
commit 696adfa9d7
87 changed files with 439 additions and 189 deletions
@@ -4,21 +4,31 @@
"on_unsneak": {
"trigger": "minecraft:tick",
"conditions": {
"player": {
"flags": {
"is_sneaking": false
"player": [
{
"condition": "minecraft:reference",
"name": "fz:is_real_player"
},
"type_specific": {
"type": "player",
"advancements": {
"fz:game_event/on_sneak": true
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"flags": {
"is_sneaking": false
},
"type_specific": {
"type": "player",
"advancements": {
"fz:game_event/on_sneak": true
}
}
}
}
}
]
}
}
},
"rewards": {
"function": "fz:game_event/player/on_unsneak"
"function": "fz:game_event/advancement/on_unsneak"
}
}