2022-06-25 02:22:23 +08:00
|
|
|
|
## 调试
|
|
|
|
|
execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "事件已触发:玩家"}, {"selector": "@s"}, {"text": "由下蹲状态站起"}]
|
|
|
|
|
|
2022-06-23 21:10:09 +08:00
|
|
|
|
# 调用者:advancement/fz:unskeak
|
|
|
|
|
##### 当玩家蹲起后触发此事件
|
|
|
|
|
|
2022-06-25 02:22:23 +08:00
|
|
|
|
## 运行事件
|
2022-06-23 21:10:09 +08:00
|
|
|
|
function #fz:event/on_unsneak
|
2022-06-25 02:22:23 +08:00
|
|
|
|
execute if entity @s[x_rotation = -90] run function #fz:event/config/on_trigger
|
2022-06-23 21:10:09 +08:00
|
|
|
|
|
|
|
|
|
## 复位进度触发器
|
2022-06-24 09:11:37 +08:00
|
|
|
|
advancement revoke @s until fz:unsneak
|