fz-survival-datapack/data/fz/functions/module/try_load.mcfunction

7 lines
371 B
Mcfunction
Raw Normal View History

2022-06-23 20:06:15 +08:00
# 调用者:#fz:module/try_load
## 判断是否安装,如果安装则加载
execute if data storage fz:installed fz.module{config:1b} run function #fz:module/config/load
execute if data storage fz:installed fz.module{health:1b} run function #fz:module/health/load
execute if data storage fz:installed fz.module{scoreboard:1b} run function #fz:module/scoreboard/load