da7af9fc83
- 将命名空间改为“fzsd” - 完善交互器 - 添加管理员命令(/function admin.fzsd:<...>) - 添加启动函数,用于自动升级等功能 - 添加重装、深度安装、深度卸载、深度重装函数
10 lines
440 B
Mcfunction
10 lines
440 B
Mcfunction
# 调用者: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": "放置了方块"}]
|
||
|
||
## 运行事件
|
||
function #fzsd:game_event/player/on_placed_block
|
||
|
||
## 重置事件进度
|
||
advancement revoke @s only fzsd:game_event/on_placed_block |