fz-survival-datapack/data/fzsd/functions/module/here/uninstall.mcfunction

7 lines
337 B
Mcfunction
Raw Normal View History

data remove storage fzsd:here fzsd
## 标记为已卸载
data modify storage fzsd:installed fzsd.module.here set value 0b
## 日志
execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "已卸载组件:玩家位置"}]