support mc1.21;需要放弃支持mc1.20

This commit is contained in:
Harvey_Husky committed 2024-06-16 11:01:54 +08:00
1 parent 61a9f25505
commit d81d0a530a
919 files changed
+6094 -386

No files matched your search

@@ -0,0 +1,2 @@
## 将模块安装记录缓存,因为模块的卸载函数会覆盖该记录
data modify storage fzsd:install fzsd.cache set from storage fzsd:install fzsd.module
@@ -0,0 +1,5 @@
## 标记为已卸载
data modify storage fzsd:install fzsd.global set value 0b
## 日志
tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "卸载完成!"}]
@@ -0,0 +1,3 @@
## 恢复模块安装记录
data modify storage fzsd:install fzsd.module set from storage fzsd:install fzsd.cache
data remove storage fzsd:install fzsd.cache
@@ -0,0 +1,5 @@
## 整数类型
scoreboard objectives remove fzsd.variable.integer
## 清除缓存
data remove storage fzsd:global fzsd