update 2.0 files

This commit is contained in:
MapleDust committed 2020-11-27 00:27:49 +08:00
1 parent 45d36541ca
commit 1013cd1590
104 files changed
+3154

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
#如果未安装且未卸载则安装
execute unless data storage fz.installed {installed:1b} unless data storage fz.installed {installed:0b} run function fz:install
#如果版本正确且已安装则开始运行
execute if data storage fz {version:Alpha-2.0.0.2} if data storage fz.installed {installed:1b} run function fz:start
#如果版本不符则更新
execute unless data storage fz {version:Alpha-2.0.0.2} run function fz:update
#输出版本信息
tellraw @a [{"text": "FZ's Datapack-"},{"nbt":"version","storage":"fz"},{"nbt": "snapshot", "storage": "fz"}]