fz-survival-datapack/data/fzsd/functions/game_event/advancement/on_unsneak.mcfunction
2022-10-30 09:04:19 +08:00

13 lines
519 B
Mcfunction
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 调用者advancements/fzsd:~
## 调试
execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "事件已触发:玩家"}, {"selector": "@s"}, {"text": "从蹲下状态站起"}]
# 调用者advancement/fzsd:unskeak
##### 当玩家蹲起后触发此事件
## 运行事件
function #fzsd:game_event/player/on_unsneak
## 重置事件进度
advancement revoke @s through fzsd:game_event/on_unsneak