diff --git a/DEVDOC.md b/DEVDOC.md index be6faf2..5943ebd 100644 --- a/DEVDOC.md +++ b/DEVDOC.md @@ -34,11 +34,11 @@ ## 系统模块 ### 频繁使用的计算单元 -- [`#fz:calculation/*`](data/fz/tags/functions/calculation/)标签通常被用来进行简单重复的计算任务 +- [`#fzsd:calculation/*`](data/fzsd/tags/functions/calculation/)标签通常被用来进行简单重复的计算任务 ### 事件模块 - 通常由**进度**触发,触发后调用同名的事件标签 -- 在[`#fz:game_event/(<...>/)on_<事件>`](data/fz/tags/functions/game_event/)标签中注册触发时需要调用的函数即可 +- 在[`#fzsd:game_event/(<...>/)on_<事件>`](data/fzsd/tags/functions/game_event/)标签中注册触发时需要调用的函数即可 ### 日志模块 - 仓库中提供了日志相关的代码片段,位于[`.vscode/settings.json`](.vscode/settings.json) @@ -46,73 +46,74 @@ #### 详细 Fine - 等级:300 -- 使用方法:`execute if score fz.logger.level fz.variable.integer matches ..300 run tellraw @a [{"nbt": "fz.level.fine", "interpret": true, "storage": "fz:logger"}, {"text": "你的日志"}` +- 使用方法:`execute if score fzsd.logger.level fzsd.variable.integer matches ..300 run tellraw @a [{"nbt": "fzsd.level.fine", "interpret": true, "storage": "fzsd:logger"}, {"text": "你的日志"}` #### 调试 Debug - 等级:400 -- 使用方法:`execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "你的日志"}` +- 使用方法:`execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "你的日志"}` #### 信息 Info - 等级:500 -- 使用方法:`execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "你的日志"}` +- 使用方法:`execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "你的日志"}` #### 提醒 Alert - 等级:600 -- 使用方法:`execute if score fz.logger.level fz.variable.integer matches ..600 run tellraw @a [{"nbt": "fz.level.alert", "interpret": true, "storage": "fz:logger"}, {"text": "你的日志"}` +- 使用方法:`execute if score fzsd.logger.level fzsd.variable.integer matches ..600 run tellraw @a [{"nbt": "fzsd.level.alert", "interpret": true, "storage": "fzsd:logger"}, {"text": "你的日志"}` #### 意外 Exception ###### 暂不提供 #### 错误 Error - 等级:800 -- 使用方法:`execute if score fz.logger.level fz.variable.integer matches ..800 run tellraw @a [{"nbt": "fz.level.error", "interpret": true, "storage": "fz:logger"}, {"text": "你的日志"}` +- 使用方法:`execute if score fzsd.logger.level fzsd.variable.integer matches ..800 run tellraw @a [{"nbt": "fzsd.level.error", "interpret": true, "storage": "fzsd:logger"}, {"text": "你的日志"}` ## 功能模块 -### 配置模块 +### 交互器模块 #### 按钮操作 -1. 定义一个显示按钮时执行的函数,使用形如`tellraw @s {"text": "[按钮]", "clickEvent": {"action": "run_command", "value": "/trigger fz.module.config.trigger set <触发器分数>"}}`的指令定义按钮。 +1. 定义一个显示按钮时执行的函数,使用形如`tellraw @s {"text": "[按钮]", "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.config.trigger set <触发器分数>"}}`的指令定义按钮。 + - 触发器分数为正数会重新向玩家发送交互按钮,如不想重新发送,请使用负数 - 大多数情况下这里的触发器分数必须是独一无二的 - 建议使用`>10000`的随机数作为自定义按钮的触发器分数 -2. 在[`#fz:module/config/display`](data/fz/tags/functions/module/config/display.json)标签中注册上述函数 -3. 定义一个点击按钮时执行的函数,使用形如`execute if score @s fz.module.config.trigger matches .. run ...`的指令判断玩家的触发器分数,并执行你的操作 -4. 如需在点击后重新显示一遍配置页面,请在上述函数中调用一次[`#fz:module/config/display`](data/fz/tags/functions/module/config/display.json)标签,**请不要将此标签直接注册到[`#fz:module/config/on_click`](data/fz/tags/functions/module/config/on_click.json)标签中** -5. 在[`#fz:module/config/on_click`](data/fz/tags/functions/module/config/on_click.json)标签中注册上述函数 +2. 在[`#fzsd:module/config/display`](data/fzsd/tags/functions/module/config/display.json)标签中注册上述函数 +3. 定义一个点击按钮时执行的函数,使用形如`execute if score @s fzsd.module.config.trigger matches .. run ...`的指令判断玩家的触发器分数,并执行你的操作 +4. 如需在点击后重新显示一遍配置页面,请在上述函数中调用一次[`#fzsd:module/config/display`](data/fzsd/tags/functions/module/config/display.json)标签,**请不要将此标签直接注册到[`#fzsd:module/config/on_click`](data/fzsd/tags/functions/module/config/on_click.json)标签中** +5. 在[`#fzsd:module/config/on_click`](data/fzsd/tags/functions/module/config/on_click.json)标签中注册上述函数 #### 其他接口 -- 标签[`#fz:module/config/timeout`](data/fz/tags/functions/module/config/timeout.json):超时时的操作 -- 标签[`#fz:module/config/reset_trigger`](data/fz/tags/functions/module/config/reset_trigger.json):重置玩家`@s`的触发器计分板 +- 标签[`#fzsd:module/config/timeout`](data/fzsd/tags/functions/module/config/timeout.json):超时时的操作 +- 标签[`#fzsd:module/config/reset_trigger`](data/fzsd/tags/functions/module/config/reset_trigger.json):重置玩家`@s`的触发器计分板 ### 计分板模块 #### 自定义计分板颜色 - 数据包提供了所有计分板的全部16色命名函数 -- 使用方法:**覆盖**[`#fz:module/scoreboard/display/set_text/<计分板名称>`](data/fz/tags/functions/module/scoreboard/display/set_text/)标签,填入[`fz:module/scoreboard/display/set_text/<计分板名称>/<颜色名称>`](data/fz/functions/module/scoreboard/display/set_text/)函数 +- 使用方法:**覆盖**[`#fzsd:module/scoreboard/display/set_text/<计分板名称>`](data/fzsd/tags/functions/module/scoreboard/display/set_text/)标签,填入[`fzsd:module/scoreboard/display/set_text/<计分板名称>/<颜色名称>`](data/fzsd/functions/module/scoreboard/display/set_text/)函数 #### 自定义计分板名称 -1. 定义一个设置计分板颜色、文本的函数,格式可以参考[`fz:module/scoreboard/display/set_text/general/*`](data/fz/functions/module/scoreboard/display/set_text/general/)函数 -2. **覆盖**[`#fz:module/scoreboard/display/set_text/<计分板名称>`](data/fz/tags/functions/module/scoreboard/display/set_text/)标签,填入上述函数 +1. 定义一个设置计分板颜色、文本的函数,格式可以参考[`fzsd:module/scoreboard/display/set_text/general/*`](data/fzsd/functions/module/scoreboard/display/set_text/general/)函数 +2. **覆盖**[`#fzsd:module/scoreboard/display/set_text/<计分板名称>`](data/fzsd/tags/functions/module/scoreboard/display/set_text/)标签,填入上述函数 #### 扩展自己的计分板 -1. 定义一个安装函数,参考[`fz:module/scoreboard/install`](data/fz/functions/module/scoreboard/install.mcfunction)函数 -2. 在[`#fz:module/scoreboard/install`](data/fz/tags/functions/module/scoreboard/install.json)标签中注册该函数 +1. 定义一个安装函数,参考[`fzsd:module/scoreboard/install`](data/fzsd/functions/module/scoreboard/install.mcfunction)函数 +2. 在[`#fzsd:module/scoreboard/install`](data/fzsd/tags/functions/module/scoreboard/install.json)标签中注册该函数 3. 按照“自定义计分板颜色”和“自定义计分板名称”中的操作,定义你的计分板颜色和名称 -4. 定义一个生成计分板运行时id的函数,参考[`fz:module/scoreboard/display/register_id`](data/fz/functions/module/scoreboard/display/register_id.mcfunction)函数 -5. 在[`#fz:module/scoreboard/display/register_id`](data/fz/tags/functions/module/scoreboard/display/register_id.json)标签中注册该函数 -6. 定义一个用来在轮播时显示你的计分板的函数,参考[`fz:module/scoreboard/display/carousel/set_display/*`](data/fz/functions/module/scoreboard/display/carousel/set_display/activation.mcfunction)函数 -7. 定义一个用来判断在轮播时是否轮到你的计分板的函数,在判断后调用上一条中的函数,参考[`fz:module/scoreboard/display/carousel/try_display/*`](data/fz/functions/module/scoreboard/display/carousel/try_display/activation.mcfunction)函数 -8. 将该函数注册到[`#fz:module/scoreboard/display/try_display`](data/fz/tags/functions/module/scoreboard/display/carousel/try_display.json)标签中 +4. 定义一个生成计分板运行时id的函数,参考[`fzsd:module/scoreboard/display/register_id`](data/fzsd/functions/module/scoreboard/display/register_id.mcfunction)函数 +5. 在[`#fzsd:module/scoreboard/display/register_id`](data/fzsd/tags/functions/module/scoreboard/display/register_id.json)标签中注册该函数 +6. 定义一个用来在轮播时显示你的计分板的函数,参考[`fzsd:module/scoreboard/display/carousel/set_display/*`](data/fzsd/functions/module/scoreboard/display/carousel/set_display/activation.mcfunction)函数 +7. 定义一个用来判断在轮播时是否轮到你的计分板的函数,在判断后调用上一条中的函数,参考[`fzsd:module/scoreboard/display/carousel/try_display/*`](data/fzsd/functions/module/scoreboard/display/carousel/try_display/activation.mcfunction)函数 +8. 将该函数注册到[`#fzsd:module/scoreboard/display/try_display`](data/fzsd/tags/functions/module/scoreboard/display/carousel/try_display.json)标签中 ## 自定义模块 #### 注册安装、卸载、加载函数 - 在下列标签中注册你的安装、卸载、加载函数: - - [`#fz:system/install/module`](data/fz/tags/functions/system/install/module.json) - - [`#fz:system/uninstall/module`](data/fz/tags/functions/system/uninstall/module.json) - - [`#fz:system/load/module`](data/fz/tags/functions/system/load/module.json) + - [`#fzsd:system/install/module`](data/fzsd/tags/functions/system/install/module.json) + - [`#fzsd:system/uninstall/module`](data/fzsd/tags/functions/system/uninstall/module.json) + - [`#fzsd:system/load/module`](data/fzsd/tags/functions/system/load/module.json) -#### 注册设置页面 -- 见[按钮操作](#按钮操作) +#### 注册交互器按钮 +- 见[交互器按钮](#按钮操作) diff --git a/data/admin.fzsd/functions/carpet_settings_preset.mcfunction b/data/admin.fzsd/functions/carpet_settings_preset.mcfunction new file mode 100644 index 0000000..7dd39da --- /dev/null +++ b/data/admin.fzsd/functions/carpet_settings_preset.mcfunction @@ -0,0 +1 @@ +function fzsd:system/carpet/settings_preset \ No newline at end of file diff --git a/data/admin.fzsd/functions/deep_install.mcfunction b/data/admin.fzsd/functions/deep_install.mcfunction new file mode 100644 index 0000000..c4295c7 --- /dev/null +++ b/data/admin.fzsd/functions/deep_install.mcfunction @@ -0,0 +1 @@ +function #fzsd:deep_install \ No newline at end of file diff --git a/data/admin.fzsd/functions/deep_reinstall.mcfunction b/data/admin.fzsd/functions/deep_reinstall.mcfunction new file mode 100644 index 0000000..bd3920e --- /dev/null +++ b/data/admin.fzsd/functions/deep_reinstall.mcfunction @@ -0,0 +1 @@ +function #fzsd:deep_reinstall \ No newline at end of file diff --git a/data/admin.fzsd/functions/deep_uninstall.mcfunction b/data/admin.fzsd/functions/deep_uninstall.mcfunction new file mode 100644 index 0000000..dc0f0dd --- /dev/null +++ b/data/admin.fzsd/functions/deep_uninstall.mcfunction @@ -0,0 +1 @@ +function #fzsd:deep_uninstall \ No newline at end of file diff --git a/data/admin.fzsd/functions/health/below_name/off.mcfunction b/data/admin.fzsd/functions/health/below_name/off.mcfunction new file mode 100644 index 0000000..fa69e51 --- /dev/null +++ b/data/admin.fzsd/functions/health/below_name/off.mcfunction @@ -0,0 +1 @@ +data modify storage fzsd:config fzsd.module.health.display.below_name set value 0b \ No newline at end of file diff --git a/data/admin.fzsd/functions/health/below_name/on.mcfunction b/data/admin.fzsd/functions/health/below_name/on.mcfunction new file mode 100644 index 0000000..d6ab4c7 --- /dev/null +++ b/data/admin.fzsd/functions/health/below_name/on.mcfunction @@ -0,0 +1 @@ +data modify storage fzsd:config fzsd.module.health.display.below_name set value 1b \ No newline at end of file diff --git a/data/admin.fzsd/functions/health/list/off.mcfunction b/data/admin.fzsd/functions/health/list/off.mcfunction new file mode 100644 index 0000000..5cd872a --- /dev/null +++ b/data/admin.fzsd/functions/health/list/off.mcfunction @@ -0,0 +1 @@ +data modify storage fzsd:config fzsd.module.health.display.list set value 0b \ No newline at end of file diff --git a/data/admin.fzsd/functions/health/list/on.mcfunction b/data/admin.fzsd/functions/health/list/on.mcfunction new file mode 100644 index 0000000..a848936 --- /dev/null +++ b/data/admin.fzsd/functions/health/list/on.mcfunction @@ -0,0 +1 @@ +data modify storage fzsd:config fzsd.module.health.display.list set value 1b \ No newline at end of file diff --git a/data/admin.fzsd/functions/install.mcfunction b/data/admin.fzsd/functions/install.mcfunction new file mode 100644 index 0000000..0b7f47e --- /dev/null +++ b/data/admin.fzsd/functions/install.mcfunction @@ -0,0 +1 @@ +function #fzsd:install \ No newline at end of file diff --git a/data/admin.fzsd/functions/load.mcfunction b/data/admin.fzsd/functions/load.mcfunction new file mode 100644 index 0000000..eb03a30 --- /dev/null +++ b/data/admin.fzsd/functions/load.mcfunction @@ -0,0 +1 @@ +function #fzsd:load \ No newline at end of file diff --git a/data/admin.fzsd/functions/log_level/debug.mcfunction b/data/admin.fzsd/functions/log_level/debug.mcfunction new file mode 100644 index 0000000..2511e0b --- /dev/null +++ b/data/admin.fzsd/functions/log_level/debug.mcfunction @@ -0,0 +1 @@ +function fzsd:logger/level/debug \ No newline at end of file diff --git a/data/admin.fzsd/functions/log_level/fine.mcfunction b/data/admin.fzsd/functions/log_level/fine.mcfunction new file mode 100644 index 0000000..045cdb1 --- /dev/null +++ b/data/admin.fzsd/functions/log_level/fine.mcfunction @@ -0,0 +1 @@ +function fzsd:logger/level/fine \ No newline at end of file diff --git a/data/admin.fzsd/functions/log_level/info.mcfunction b/data/admin.fzsd/functions/log_level/info.mcfunction new file mode 100644 index 0000000..6536ceb --- /dev/null +++ b/data/admin.fzsd/functions/log_level/info.mcfunction @@ -0,0 +1 @@ +function fzsd:logger/level/info \ No newline at end of file diff --git a/data/admin.fzsd/functions/reinstall.mcfunction b/data/admin.fzsd/functions/reinstall.mcfunction new file mode 100644 index 0000000..ecfd0fd --- /dev/null +++ b/data/admin.fzsd/functions/reinstall.mcfunction @@ -0,0 +1 @@ +function #fzsd:reinstall \ No newline at end of file diff --git a/data/admin.fzsd/functions/uninstall.mcfunction b/data/admin.fzsd/functions/uninstall.mcfunction new file mode 100644 index 0000000..b93eff7 --- /dev/null +++ b/data/admin.fzsd/functions/uninstall.mcfunction @@ -0,0 +1 @@ +function #fzsd:uninstall \ No newline at end of file diff --git a/data/fz.admin/tags/functions/install.json b/data/fz.admin/tags/functions/install.json deleted file mode 100644 index e69de29..0000000 diff --git a/data/fz.admin/tags/functions/install/config.json b/data/fz.admin/tags/functions/install/config.json deleted file mode 100644 index e69de29..0000000 diff --git a/data/fz.admin/tags/functions/install/scoreboard.json b/data/fz.admin/tags/functions/install/scoreboard.json deleted file mode 100644 index e69de29..0000000 diff --git a/data/fz.admin/tags/functions/install/sweeper.json b/data/fz.admin/tags/functions/install/sweeper.json deleted file mode 100644 index e69de29..0000000 diff --git a/data/fz.admin/tags/functions/preset_carpet.json b/data/fz.admin/tags/functions/preset_carpet.json deleted file mode 100644 index 05a72fc..0000000 --- a/data/fz.admin/tags/functions/preset_carpet.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "replace": false, - "values": [ - { - "id": "fz.admin:preset_carpet", - "required": true - } - ] -} \ No newline at end of file diff --git a/data/fz.admin/tags/functions/uninstall.json b/data/fz.admin/tags/functions/uninstall.json deleted file mode 100644 index e69de29..0000000 diff --git a/data/fz.admin/tags/functions/uninstall/config.json b/data/fz.admin/tags/functions/uninstall/config.json deleted file mode 100644 index e69de29..0000000 diff --git a/data/fz.admin/tags/functions/uninstall/scoreboard.json b/data/fz.admin/tags/functions/uninstall/scoreboard.json deleted file mode 100644 index e69de29..0000000 diff --git a/data/fz.admin/tags/functions/uninstall/sweeper.json b/data/fz.admin/tags/functions/uninstall/sweeper.json deleted file mode 100644 index e69de29..0000000 diff --git a/data/fz/advancements/module/interactor/on_click.json b/data/fz/advancements/module/interactor/on_click.json deleted file mode 100644 index d4ad13b..0000000 --- a/data/fz/advancements/module/interactor/on_click.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parent": "fz:module/interactor", - "criteria": { - "on_click": { - "trigger": "minecraft:tick", - "conditions": { - "player": [ - { - "condition": "minecraft:reference", - "name": "fz:is_real_player" - }, - { - "condition": "minecraft:inverted", - "term": { - "condition": "minecraft:entity_scores", - "entity": "this", - "scores": { - "fz.module.interactor.trigger": 0 - } - } - } - ] - } - } - }, - "rewards": { - "function": "fz:module/interactor/event/on_click" - } -} \ No newline at end of file diff --git a/data/fz/functions/api/get_dimension_name/default.mcfunction b/data/fz/functions/api/get_dimension_name/default.mcfunction deleted file mode 100644 index 9974fe1..0000000 --- a/data/fz/functions/api/get_dimension_name/default.mcfunction +++ /dev/null @@ -1 +0,0 @@ -data modify storage fz:global fz.api.dimension.name set value '{"nbt": "fz.cache.dimension.id", "storage": "fz:global"}' \ No newline at end of file diff --git a/data/fz/functions/api/get_dimension_name/minecraft/overworld.mcfunction b/data/fz/functions/api/get_dimension_name/minecraft/overworld.mcfunction deleted file mode 100644 index d58fe61..0000000 --- a/data/fz/functions/api/get_dimension_name/minecraft/overworld.mcfunction +++ /dev/null @@ -1 +0,0 @@ -execute if data storage fz:global fz.api.dimension{id:'minecraft:overworld'} run data modify storage fz:global fz.api.dimension.name set value '{"text": "主世界", "color": "dark_green"}' \ No newline at end of file diff --git a/data/fz/functions/api/get_dimension_name/minecraft/the_end.mcfunction b/data/fz/functions/api/get_dimension_name/minecraft/the_end.mcfunction deleted file mode 100644 index 0536e08..0000000 --- a/data/fz/functions/api/get_dimension_name/minecraft/the_end.mcfunction +++ /dev/null @@ -1 +0,0 @@ -execute if data storage fz:global fz.api.dimension{id:'minecraft:the_end'} run data modify storage fz:global fz.api.dimension.name set value '{"text": "末地", "color": "dark_gray"}' \ No newline at end of file diff --git a/data/fz/functions/api/get_dimension_name/minecraft/the_nether.mcfunction b/data/fz/functions/api/get_dimension_name/minecraft/the_nether.mcfunction deleted file mode 100644 index 3b01312..0000000 --- a/data/fz/functions/api/get_dimension_name/minecraft/the_nether.mcfunction +++ /dev/null @@ -1 +0,0 @@ -execute if data storage fz:global fz.api.dimension{id:'minecraft:the_nether'} run data modify storage fz:global fz.api.dimension.name set value '{"text": "下界", "color": "dark_red"}' \ No newline at end of file diff --git a/data/fz/functions/api/get_player_dimension.mcfunction b/data/fz/functions/api/get_player_dimension.mcfunction deleted file mode 100644 index b83a0ef..0000000 --- a/data/fz/functions/api/get_player_dimension.mcfunction +++ /dev/null @@ -1,2 +0,0 @@ -data modify storage fz:global fz.api.dimension.id set from entity @s Dimension -data remove storage fz:global fz.api.dimension.name \ No newline at end of file diff --git a/data/fz/functions/game_event/advancement/on_aviate_one_meter.mcfunction b/data/fz/functions/game_event/advancement/on_aviate_one_meter.mcfunction deleted file mode 100644 index 17a8073..0000000 --- a/data/fz/functions/game_event/advancement/on_aviate_one_meter.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:advancements/fz:~ - -execute if predicate fz:is_real_player run function fz:game_event/player/on_aviate_one_meter - -## 重置事件 -scoreboard players operation @s fz.event.aviating_distance %= 200 fz.variable.integer -advancement revoke @s only fz:game_event/on_aviate_one_meter \ No newline at end of file diff --git a/data/fz/functions/game_event/advancement/on_dead.mcfunction b/data/fz/functions/game_event/advancement/on_dead.mcfunction deleted file mode 100644 index 8e726b2..0000000 --- a/data/fz/functions/game_event/advancement/on_dead.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:advancements/fz:~ - -execute if predicate fz:is_real_player run function fz:game_event/player/on_dead - -## 重置事件 -scoreboard players set @s fz.event.death_count 0 -advancement revoke @s only fz:game_event/on_dead \ No newline at end of file diff --git a/data/fz/functions/game_event/advancement/on_entered_nether_portal.mcfunction b/data/fz/functions/game_event/advancement/on_entered_nether_portal.mcfunction deleted file mode 100644 index 5e7fb10..0000000 --- a/data/fz/functions/game_event/advancement/on_entered_nether_portal.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "事件已触发:玩家"}, {"selector": "@s"}, {"text": "进入了下届传送门"}] - -function #fz:game_event/player/on_entered_nether_portal - -## 重置事件进度 -advancement revoke @s only fz:game_event/on_entered_nether_portal \ No newline at end of file diff --git a/data/fz/functions/game_event/advancement/on_fished.mcfunction b/data/fz/functions/game_event/advancement/on_fished.mcfunction deleted file mode 100644 index 83d5853..0000000 --- a/data/fz/functions/game_event/advancement/on_fished.mcfunction +++ /dev/null @@ -1,10 +0,0 @@ -# 调用者:advancements/fz:~ - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "事件已触发:玩家"}, {"selector": "@s"}, {"text": "钓鱼上钩"}] - -## 运行事件 -function #fz:game_event/player/on_fished - -## 重置事件进度 -advancement revoke @s only fz:game_event/on_fished \ No newline at end of file diff --git a/data/fz/functions/game_event/advancement/on_hurt_entity_with_tools.mcfunction b/data/fz/functions/game_event/advancement/on_hurt_entity_with_tools.mcfunction deleted file mode 100644 index 850fdb0..0000000 --- a/data/fz/functions/game_event/advancement/on_hurt_entity_with_tools.mcfunction +++ /dev/null @@ -1,13 +0,0 @@ -# 调用者:advancements/fz:~ - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "事件已触发:玩家"}, {"selector": "@s"}, {"text": "使用了挖掘工具攻击实体"}] - -## 计算挖掘数据偏移量 -scoreboard players remove @s fz.event.used_tool.dig_offset 1 - -## 运行事件 -function #fz:game_event/player/on_hurt_entity_with_tools - -## 重置事件进度 -advancement revoke @s only fz:game_event/on_hurt_entity_with_tools diff --git a/data/fz/functions/game_event/advancement/on_killed_mob_or_player.mcfunction b/data/fz/functions/game_event/advancement/on_killed_mob_or_player.mcfunction deleted file mode 100644 index 95d4913..0000000 --- a/data/fz/functions/game_event/advancement/on_killed_mob_or_player.mcfunction +++ /dev/null @@ -1,10 +0,0 @@ -# 调用者:advancements/fz:~ - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "事件已触发:玩家"}, {"selector": "@s"}, {"text": "击杀了生物"}] - -## 运行事件 -function #fz:game_event/player/on_killed_mob_or_player - -## 重置事件进度 -advancement revoke @s only fz:game_event/on_killed_mob_or_player \ No newline at end of file diff --git a/data/fz/functions/game_event/advancement/on_login.mcfunction b/data/fz/functions/game_event/advancement/on_login.mcfunction deleted file mode 100644 index c21a9ea..0000000 --- a/data/fz/functions/game_event/advancement/on_login.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:advancements/fz:~ - -execute if predicate fz:is_real_player run function fz:game_event/player/on_login - -## 重制所有触发器、事件进度 -scoreboard players set @s fz.event.leave_game 0 -function #fz:game_event/reset_all \ No newline at end of file diff --git a/data/fz/functions/game_event/advancement/on_piglin_trade.mcfunction b/data/fz/functions/game_event/advancement/on_piglin_trade.mcfunction deleted file mode 100644 index 04d481c..0000000 --- a/data/fz/functions/game_event/advancement/on_piglin_trade.mcfunction +++ /dev/null @@ -1,10 +0,0 @@ -# 调用者:advancements/fz:~ - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "事件已触发:玩家"}, {"selector": "@s"}, {"text": "与猪灵交易"}] - -## 运行事件 -function #fz:game_event/player/on_piglin_trade - -## 重置事件进度 -advancement revoke @s only fz:game_event/on_piglin_trade \ No newline at end of file diff --git a/data/fz/functions/game_event/advancement/on_placed_block.mcfunction b/data/fz/functions/game_event/advancement/on_placed_block.mcfunction deleted file mode 100644 index a863024..0000000 --- a/data/fz/functions/game_event/advancement/on_placed_block.mcfunction +++ /dev/null @@ -1,10 +0,0 @@ -# 调用者:advancements/fz:~ - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "事件已触发:玩家"}, {"selector": "@s"}, {"text": "放置了方块"}] - -## 运行事件 -function #fz:game_event/player/on_placed_block - -## 重置事件进度 -advancement revoke @s only fz:game_event/on_placed_block \ No newline at end of file diff --git a/data/fz/functions/game_event/advancement/on_play_one_hour.mcfunction b/data/fz/functions/game_event/advancement/on_play_one_hour.mcfunction deleted file mode 100644 index 0cc87cb..0000000 --- a/data/fz/functions/game_event/advancement/on_play_one_hour.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:advancements/fz:~ - -execute if predicate fz:is_real_player run function fz:game_event/player/on_play_one_hour - -## 重置事件 -scoreboard players operation @s fz.event.play_ticks %= 72000 fz.variable.integer -advancement revoke @s only fz:game_event/on_play_one_hour \ No newline at end of file diff --git a/data/fz/functions/game_event/advancement/on_shears_used_on_entity.mcfunction b/data/fz/functions/game_event/advancement/on_shears_used_on_entity.mcfunction deleted file mode 100644 index c67fde4..0000000 --- a/data/fz/functions/game_event/advancement/on_shears_used_on_entity.mcfunction +++ /dev/null @@ -1,13 +0,0 @@ -# 调用者:advancements/fz:~ - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "事件已触发:玩家"}, {"selector": "@s"}, {"text": "对实体使用剪刀"}] - -## 计算挖掘数据偏移量 -scoreboard players remove @s fz.event.used_tool.dig_offset 1 - -## 运行事件 -function #fz:game_event/player/on_shears_used_on_entity - -## 重置事件进度 -advancement revoke @s only fz:game_event/on_shears_used_on_entity \ No newline at end of file diff --git a/data/fz/functions/game_event/advancement/on_sneak.mcfunction b/data/fz/functions/game_event/advancement/on_sneak.mcfunction deleted file mode 100644 index 11090aa..0000000 --- a/data/fz/functions/game_event/advancement/on_sneak.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:advancements/fz:~ - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "事件已触发:玩家"}, {"selector": "@s"}, {"text": "蹲下"}] - -## 运行事件 -function #fz:game_event/player/on_sneak diff --git a/data/fz/functions/game_event/advancement/on_took_damage.mcfunction b/data/fz/functions/game_event/advancement/on_took_damage.mcfunction deleted file mode 100644 index 65bb363..0000000 --- a/data/fz/functions/game_event/advancement/on_took_damage.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:advancements/fz:~ - -execute if predicate fz:is_real_player run function fz:game_event/player/on_took_damage - -## 重置事件 -scoreboard players operation @s fz.event.damage_taken %= 10 fz.variable.integer -advancement revoke @s only fz:game_event/on_took_damage \ No newline at end of file diff --git a/data/fz/functions/game_event/advancement/on_tools_used_on_block.mcfunction b/data/fz/functions/game_event/advancement/on_tools_used_on_block.mcfunction deleted file mode 100644 index c771e59..0000000 --- a/data/fz/functions/game_event/advancement/on_tools_used_on_block.mcfunction +++ /dev/null @@ -1,14 +0,0 @@ -# 调用者:advancements/fz:~ -## 斧子剥树皮会触发两次!! - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "事件已触发:玩家"}, {"selector": "@s"}, {"text": "在方块上使用了工具"}] - -## 计算挖掘数据偏移量 -scoreboard players remove @s fz.event.used_tool.dig_offset 1 - -## 运行事件 -function #fz:game_event/player/on_tools_used_on_block - -## 重置事件进度 -advancement revoke @s only fz:game_event/on_tools_used_on_block \ No newline at end of file diff --git a/data/fz/functions/game_event/advancement/on_unsneak.mcfunction b/data/fz/functions/game_event/advancement/on_unsneak.mcfunction deleted file mode 100644 index a29f4a0..0000000 --- a/data/fz/functions/game_event/advancement/on_unsneak.mcfunction +++ /dev/null @@ -1,13 +0,0 @@ -# 调用者:advancements/fz:~ - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "事件已触发:玩家"}, {"selector": "@s"}, {"text": "从蹲下状态站起"}] - -# 调用者:advancement/fz:unskeak -##### 当玩家蹲起后触发此事件 - -## 运行事件 -function #fz:game_event/player/on_unsneak - -## 重置事件进度 -advancement revoke @s until fz:game_event/on_unsneak \ No newline at end of file diff --git a/data/fz/functions/game_event/advancement/on_used_tool.mcfunction b/data/fz/functions/game_event/advancement/on_used_tool.mcfunction deleted file mode 100644 index ad0d153..0000000 --- a/data/fz/functions/game_event/advancement/on_used_tool.mcfunction +++ /dev/null @@ -1,9 +0,0 @@ -# 调用者:advancements/fz:~ - -execute if predicate fz:is_real_player run function fz:game_event/player/on_used_tool - -## 重置事件计分板 -function #fz:game_event/player/on_used_tool/reset_used_tool - -## 重置事件进度 -advancement revoke @s only fz:game_event/on_used_tool \ No newline at end of file diff --git a/data/fz/functions/game_event/advancement/on_villager_trade.mcfunction b/data/fz/functions/game_event/advancement/on_villager_trade.mcfunction deleted file mode 100644 index b591add..0000000 --- a/data/fz/functions/game_event/advancement/on_villager_trade.mcfunction +++ /dev/null @@ -1,10 +0,0 @@ -# 调用者:advancements/fz:~ - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "事件已触发:玩家"}, {"selector": "@s"}, {"text": "与村民交易"}] - -## 运行事件 -function #fz:game_event/player/on_villager_trade - -## 重置事件进度 -advancement revoke @s only fz:game_event/on_villager_trade \ No newline at end of file diff --git a/data/fz/functions/game_event/advancement/reset_advancements.mcfunction b/data/fz/functions/game_event/advancement/reset_advancements.mcfunction deleted file mode 100644 index f56c893..0000000 --- a/data/fz/functions/game_event/advancement/reset_advancements.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -## 复位所有事件进度 -### 所有事件进度都继承了fz:game_event进度,因此只需要一行指令: -advancement revoke @s from fz:game_event - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "已重置玩家"}, {"selector": "@s"}, {"text": "的游戏事件进度"}] \ No newline at end of file diff --git a/data/fz/functions/game_event/install.mcfunction b/data/fz/functions/game_event/install.mcfunction deleted file mode 100644 index 3694bc0..0000000 --- a/data/fz/functions/game_event/install.mcfunction +++ /dev/null @@ -1,48 +0,0 @@ -## 事件触发 -scoreboard objectives add fz.event.aviating_distance minecraft.custom:aviate_one_cm -scoreboard objectives add fz.event.damage_taken minecraft.custom:damage_taken -scoreboard objectives add fz.event.death_count deathCount -scoreboard objectives add fz.event.leave_game minecraft.custom:leave_game -### 由 #fz:game_event/on_tick 赋值 -scoreboard objectives add fz.event.play_ticks dummy -scoreboard objectives add fz.event.villager_trade minecraft.custom:traded_with_villager - -## 使用工具 -scoreboard objectives add fz.event.used_tool.dig_offset dummy -scoreboard objectives add fz.event.used_tool.iron_axe minecraft.used:iron_axe -scoreboard objectives add fz.event.used_tool.stone_axe minecraft.used:stone_axe -scoreboard objectives add fz.event.used_tool.golden_axe minecraft.used:golden_axe -scoreboard objectives add fz.event.used_tool.wooden_axe minecraft.used:wooden_axe -scoreboard objectives add fz.event.used_tool.diamond_axe minecraft.used:diamond_axe -scoreboard objectives add fz.event.used_tool.netherite_axe minecraft.used:netherite_axe -scoreboard objectives add fz.event.used_tool.iron_hoe minecraft.used:iron_hoe -scoreboard objectives add fz.event.used_tool.stone_hoe minecraft.used:stone_hoe -scoreboard objectives add fz.event.used_tool.golden_hoe minecraft.used:golden_hoe -scoreboard objectives add fz.event.used_tool.wooden_hoe minecraft.used:wooden_hoe -scoreboard objectives add fz.event.used_tool.diamond_hoe minecraft.used:diamond_hoe -scoreboard objectives add fz.event.used_tool.netherite_hoe minecraft.used:netherite_hoe -scoreboard objectives add fz.event.used_tool.iron_pickaxe minecraft.used:iron_pickaxe -scoreboard objectives add fz.event.used_tool.stone_pickaxe minecraft.used:stone_pickaxe -scoreboard objectives add fz.event.used_tool.golden_pickaxe minecraft.used:golden_pickaxe -scoreboard objectives add fz.event.used_tool.wooden_pickaxe minecraft.used:wooden_pickaxe -scoreboard objectives add fz.event.used_tool.diamond_pickaxe minecraft.used:diamond_pickaxe -scoreboard objectives add fz.event.used_tool.netherite_pickaxe minecraft.used:netherite_pickaxe -scoreboard objectives add fz.event.used_tool.shears minecraft.used:shears -scoreboard objectives add fz.event.used_tool.iron_shovel minecraft.used:iron_shovel -scoreboard objectives add fz.event.used_tool.stone_shovel minecraft.used:stone_shovel -scoreboard objectives add fz.event.used_tool.golden_shovel minecraft.used:golden_shovel -scoreboard objectives add fz.event.used_tool.wooden_shovel minecraft.used:wooden_shovel -scoreboard objectives add fz.event.used_tool.diamond_shovel minecraft.used:diamond_shovel -scoreboard objectives add fz.event.used_tool.netherite_shovel minecraft.used:netherite_shovel -scoreboard objectives add fz.event.used_tool.iron_sword minecraft.used:iron_sword -scoreboard objectives add fz.event.used_tool.stone_sword minecraft.used:stone_sword -scoreboard objectives add fz.event.used_tool.golden_sword minecraft.used:golden_sword -scoreboard objectives add fz.event.used_tool.wooden_sword minecraft.used:wooden_sword -scoreboard objectives add fz.event.used_tool.diamond_sword minecraft.used:diamond_sword -scoreboard objectives add fz.event.used_tool.netherite_sword minecraft.used:netherite_sword - -## 标记为已安装 -data modify storage fz:installed fz.event set value 1b - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "已安装系统组件:游戏事件"}] \ No newline at end of file diff --git a/data/fz/functions/game_event/load.mcfunction b/data/fz/functions/game_event/load.mcfunction deleted file mode 100644 index ae5f722..0000000 --- a/data/fz/functions/game_event/load.mcfunction +++ /dev/null @@ -1,4 +0,0 @@ -execute as @a[predicate=fz:is_real_player] run function #fz:game_event/player/on_login - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "已加载系统组件:游戏事件"}] \ No newline at end of file diff --git a/data/fz/functions/game_event/on_tick/on_tick.mcfunction b/data/fz/functions/game_event/on_tick/on_tick.mcfunction deleted file mode 100644 index c1484f3..0000000 --- a/data/fz/functions/game_event/on_tick/on_tick.mcfunction +++ /dev/null @@ -1 +0,0 @@ -scoreboard players add @a[predicate=fz:is_real_player] fz.event.play_ticks 1 \ No newline at end of file diff --git a/data/fz/functions/game_event/player/on_aviate_one_meter.mcfunction b/data/fz/functions/game_event/player/on_aviate_one_meter.mcfunction deleted file mode 100644 index 17815bb..0000000 --- a/data/fz/functions/game_event/player/on_aviate_one_meter.mcfunction +++ /dev/null @@ -1,9 +0,0 @@ -## 详细 -execute if score fz.logger.level fz.variable.integer matches ..300 run tellraw @a [{"nbt": "fz.level.fine", "interpret": true, "storage": "fz:logger"}, {"text": "事件已触发:玩家"}, {"selector": "@s"}, {"text": "飞行了1m"}] - -## 将事件数据缓存 -scoreboard players operation fz.var.score fz.variable.integer = @s fz.event.aviating_distance -scoreboard players operation fz.var.score fz.variable.integer /= 200 fz.variable.integer - -## 运行事件 -function #fz:game_event/player/on_aviate_one_meter \ No newline at end of file diff --git a/data/fz/functions/game_event/player/on_broke_block_with_tool.mcfunction b/data/fz/functions/game_event/player/on_broke_block_with_tool.mcfunction deleted file mode 100644 index 35e7466..0000000 --- a/data/fz/functions/game_event/player/on_broke_block_with_tool.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:fz:game_event/player/on_used_tool - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "事件已触发:玩家"}, {"selector": "@s"}, {"text": "挖掘了方块"}] - -## 运行事件 -function #fz:game_event/player/on_broke_block_with_tool \ No newline at end of file diff --git a/data/fz/functions/game_event/player/on_broke_block_with_tool/on_used_tool.mcfunction b/data/fz/functions/game_event/player/on_broke_block_with_tool/on_used_tool.mcfunction deleted file mode 100644 index 0f9372d..0000000 --- a/data/fz/functions/game_event/player/on_broke_block_with_tool/on_used_tool.mcfunction +++ /dev/null @@ -1,36 +0,0 @@ -## 收集挖掘数据 -scoreboard players operation fz.var.score fz.variable.integer = @s fz.event.used_tool.diamond_axe -scoreboard players operation fz.var.score fz.variable.integer += @s fz.event.used_tool.diamond_hoe -scoreboard players operation fz.var.score fz.variable.integer += @s fz.event.used_tool.diamond_pickaxe -scoreboard players operation fz.var.score fz.variable.integer += @s fz.event.used_tool.diamond_shovel -scoreboard players operation fz.var.score fz.variable.integer += @s fz.event.used_tool.diamond_sword -scoreboard players operation fz.var.score fz.variable.integer += @s fz.event.used_tool.golden_axe -scoreboard players operation fz.var.score fz.variable.integer += @s fz.event.used_tool.golden_hoe -scoreboard players operation fz.var.score fz.variable.integer += @s fz.event.used_tool.golden_pickaxe -scoreboard players operation fz.var.score fz.variable.integer += @s fz.event.used_tool.golden_shovel -scoreboard players operation fz.var.score fz.variable.integer += @s fz.event.used_tool.golden_sword -scoreboard players operation fz.var.score fz.variable.integer += @s fz.event.used_tool.iron_axe -scoreboard players operation fz.var.score fz.variable.integer += @s fz.event.used_tool.iron_hoe -scoreboard players operation fz.var.score fz.variable.integer += @s fz.event.used_tool.iron_pickaxe -scoreboard players operation fz.var.score fz.variable.integer += @s fz.event.used_tool.iron_shovel -scoreboard players operation fz.var.score fz.variable.integer += @s fz.event.used_tool.iron_sword -scoreboard players operation fz.var.score fz.variable.integer += @s fz.event.used_tool.netherite_axe -scoreboard players operation fz.var.score fz.variable.integer += @s fz.event.used_tool.netherite_hoe -scoreboard players operation fz.var.score fz.variable.integer += @s fz.event.used_tool.netherite_pickaxe -scoreboard players operation fz.var.score fz.variable.integer += @s fz.event.used_tool.netherite_shovel -scoreboard players operation fz.var.score fz.variable.integer += @s fz.event.used_tool.netherite_sword -scoreboard players operation fz.var.score fz.variable.integer += @s fz.event.used_tool.shears -scoreboard players operation fz.var.score fz.variable.integer += @s fz.event.used_tool.stone_axe -scoreboard players operation fz.var.score fz.variable.integer += @s fz.event.used_tool.stone_hoe -scoreboard players operation fz.var.score fz.variable.integer += @s fz.event.used_tool.stone_pickaxe -scoreboard players operation fz.var.score fz.variable.integer += @s fz.event.used_tool.stone_shovel -scoreboard players operation fz.var.score fz.variable.integer += @s fz.event.used_tool.stone_sword -scoreboard players operation fz.var.score fz.variable.integer += @s fz.event.used_tool.wooden_axe -scoreboard players operation fz.var.score fz.variable.integer += @s fz.event.used_tool.wooden_hoe -scoreboard players operation fz.var.score fz.variable.integer += @s fz.event.used_tool.wooden_pickaxe -scoreboard players operation fz.var.score fz.variable.integer += @s fz.event.used_tool.wooden_shovel -scoreboard players operation fz.var.score fz.variable.integer += @s fz.event.used_tool.wooden_sword -scoreboard players operation fz.var.score fz.variable.integer += @s fz.event.used_tool.offset - -## 判断分数 -execute unless score fz.var.score fz.variable.integer matches ..0 run function fz:game_event/player/on_broke_block_with_tool \ No newline at end of file diff --git a/data/fz/functions/game_event/player/on_dead.mcfunction b/data/fz/functions/game_event/player/on_dead.mcfunction deleted file mode 100644 index 9388670..0000000 --- a/data/fz/functions/game_event/player/on_dead.mcfunction +++ /dev/null @@ -1,8 +0,0 @@ -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "事件已触发:玩家"}, {"selector": "@s"}, {"text": "死亡"}] - -## 将事件数据缓存 -# scoreboard players operation fz.var.score fz.variable.integer = @s fz.event.death_count - -## 运行事件 -function #fz:game_event/player/on_dead \ No newline at end of file diff --git a/data/fz/functions/game_event/player/on_login.mcfunction b/data/fz/functions/game_event/player/on_login.mcfunction deleted file mode 100644 index 8c249e0..0000000 --- a/data/fz/functions/game_event/player/on_login.mcfunction +++ /dev/null @@ -1,5 +0,0 @@ -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "事件已触发:玩家"}, {"selector": "@s"}, {"text": "登录游戏"}] - -## 运行事件 -function #fz:game_event/player/on_login \ No newline at end of file diff --git a/data/fz/functions/game_event/player/on_play_one_hour.mcfunction b/data/fz/functions/game_event/player/on_play_one_hour.mcfunction deleted file mode 100644 index a30a742..0000000 --- a/data/fz/functions/game_event/player/on_play_one_hour.mcfunction +++ /dev/null @@ -1,9 +0,0 @@ -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "事件已触发:玩家"}, {"selector": "@s"}, {"text": "游玩了1h"}] - -## 将事件数据缓存 -# scoreboard players operation fz.var.score fz.variable.integer = @s fz.event.play_ticks -# scoreboard players operation fz.var.score fz.variable.integer /= 3600 fz.variable.integer - -## 运行事件 -function #fz:game_event/player/on_play_one_hour \ No newline at end of file diff --git a/data/fz/functions/game_event/player/on_took_damage.mcfunction b/data/fz/functions/game_event/player/on_took_damage.mcfunction deleted file mode 100644 index 54cfac8..0000000 --- a/data/fz/functions/game_event/player/on_took_damage.mcfunction +++ /dev/null @@ -1,9 +0,0 @@ -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "事件已触发:玩家"}, {"selector": "@s"}, {"text": "受到了伤害"}] - -## 将事件数据缓存 -scoreboard players operation fz.var.score fz.variable.integer = @s fz.event.damage_taken -scoreboard players operation fz.var.score fz.variable.integer /= 10 fz.variable.integer - -## 运行事件 -function #fz:game_event/player/on_took_damage \ No newline at end of file diff --git a/data/fz/functions/game_event/player/on_used_tool.mcfunction b/data/fz/functions/game_event/player/on_used_tool.mcfunction deleted file mode 100644 index 5245a78..0000000 --- a/data/fz/functions/game_event/player/on_used_tool.mcfunction +++ /dev/null @@ -1,5 +0,0 @@ -## 详细 -execute if score fz.logger.level fz.variable.integer matches ..300 run tellraw @a [{"nbt": "fz.level.fine", "interpret": true, "storage": "fz:logger"}, {"text": "事件已触发:玩家"}, {"selector": "@s"}, {"text": "使用了工具"}] - -## 运行事件 -function #fz:game_event/player/on_used_tool \ No newline at end of file diff --git a/data/fz/functions/game_event/player/on_used_tool/reset_used_tool.mcfunction b/data/fz/functions/game_event/player/on_used_tool/reset_used_tool.mcfunction deleted file mode 100644 index 15d4440..0000000 --- a/data/fz/functions/game_event/player/on_used_tool/reset_used_tool.mcfunction +++ /dev/null @@ -1,35 +0,0 @@ -scoreboard players set @s fz.event.used_tool.offset 0 -scoreboard players set @s fz.event.used_tool.diamond_axe 0 -scoreboard players set @s fz.event.used_tool.diamond_hoe 0 -scoreboard players set @s fz.event.used_tool.diamond_pickaxe 0 -scoreboard players set @s fz.event.used_tool.diamond_shovel 0 -scoreboard players set @s fz.event.used_tool.diamond_sword 0 -scoreboard players set @s fz.event.used_tool.golden_axe 0 -scoreboard players set @s fz.event.used_tool.golden_hoe 0 -scoreboard players set @s fz.event.used_tool.golden_pickaxe 0 -scoreboard players set @s fz.event.used_tool.golden_shovel 0 -scoreboard players set @s fz.event.used_tool.golden_sword 0 -scoreboard players set @s fz.event.used_tool.iron_axe 0 -scoreboard players set @s fz.event.used_tool.iron_hoe 0 -scoreboard players set @s fz.event.used_tool.iron_pickaxe 0 -scoreboard players set @s fz.event.used_tool.iron_shovel 0 -scoreboard players set @s fz.event.used_tool.iron_sword 0 -scoreboard players set @s fz.event.used_tool.netherite_axe 0 -scoreboard players set @s fz.event.used_tool.netherite_hoe 0 -scoreboard players set @s fz.event.used_tool.netherite_pickaxe 0 -scoreboard players set @s fz.event.used_tool.netherite_shovel 0 -scoreboard players set @s fz.event.used_tool.netherite_sword 0 -scoreboard players set @s fz.event.used_tool.shears 0 -scoreboard players set @s fz.event.used_tool.stone_axe 0 -scoreboard players set @s fz.event.used_tool.stone_hoe 0 -scoreboard players set @s fz.event.used_tool.stone_pickaxe 0 -scoreboard players set @s fz.event.used_tool.stone_shovel 0 -scoreboard players set @s fz.event.used_tool.stone_sword 0 -scoreboard players set @s fz.event.used_tool.wooden_axe 0 -scoreboard players set @s fz.event.used_tool.wooden_hoe 0 -scoreboard players set @s fz.event.used_tool.wooden_pickaxe 0 -scoreboard players set @s fz.event.used_tool.wooden_shovel 0 -scoreboard players set @s fz.event.used_tool.wooden_sword 0 - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "重置了玩家"}, {"selector": "@s"}, {"text": "的used_tool计分板"}] \ No newline at end of file diff --git a/data/fz/functions/game_event/uninstall.mcfunction b/data/fz/functions/game_event/uninstall.mcfunction deleted file mode 100644 index 3221720..0000000 --- a/data/fz/functions/game_event/uninstall.mcfunction +++ /dev/null @@ -1,47 +0,0 @@ -## 事件触发 -scoreboard objectives remove fz.event.aviating_distance -scoreboard objectives remove fz.event.damage_taken -scoreboard objectives remove fz.event.death_count -scoreboard objectives remove fz.event.leave_game -scoreboard objectives remove fz.event.play_ticks -scoreboard objectives remove fz.event.villager_trade - -## 使用工具 -scoreboard objectives remove fz.event.used_tool.dig_offset -scoreboard objectives remove fz.event.used_tool.iron_axe -scoreboard objectives remove fz.event.used_tool.stone_axe -scoreboard objectives remove fz.event.used_tool.golden_axe -scoreboard objectives remove fz.event.used_tool.wooden_axe -scoreboard objectives remove fz.event.used_tool.diamond_axe -scoreboard objectives remove fz.event.used_tool.netherite_axe -scoreboard objectives remove fz.event.used_tool.iron_hoe -scoreboard objectives remove fz.event.used_tool.stone_hoe -scoreboard objectives remove fz.event.used_tool.golden_hoe -scoreboard objectives remove fz.event.used_tool.wooden_hoe -scoreboard objectives remove fz.event.used_tool.diamond_hoe -scoreboard objectives remove fz.event.used_tool.netherite_hoe -scoreboard objectives remove fz.event.used_tool.iron_pickaxe -scoreboard objectives remove fz.event.used_tool.stone_pickaxe -scoreboard objectives remove fz.event.used_tool.golden_pickaxe -scoreboard objectives remove fz.event.used_tool.wooden_pickaxe -scoreboard objectives remove fz.event.used_tool.diamond_pickaxe -scoreboard objectives remove fz.event.used_tool.netherite_pickaxe -scoreboard objectives remove fz.event.used_tool.shears -scoreboard objectives remove fz.event.used_tool.iron_shovel -scoreboard objectives remove fz.event.used_tool.stone_shovel -scoreboard objectives remove fz.event.used_tool.golden_shovel -scoreboard objectives remove fz.event.used_tool.wooden_shovel -scoreboard objectives remove fz.event.used_tool.diamond_shovel -scoreboard objectives remove fz.event.used_tool.netherite_shovel -scoreboard objectives remove fz.event.used_tool.iron_sword -scoreboard objectives remove fz.event.used_tool.stone_sword -scoreboard objectives remove fz.event.used_tool.golden_sword -scoreboard objectives remove fz.event.used_tool.wooden_sword -scoreboard objectives remove fz.event.used_tool.diamond_sword -scoreboard objectives remove fz.event.used_tool.netherite_sword - -## 删除安装标记 -data remove storage fz:installed fz.event - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "已卸载系统组件:游戏事件"}] \ No newline at end of file diff --git a/data/fz/functions/logger/clear_data.mcfunction b/data/fz/functions/logger/clear_data.mcfunction deleted file mode 100644 index 5b4bbfd..0000000 --- a/data/fz/functions/logger/clear_data.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -# 调用者:fz:logger/uninstall - -## 日志 -tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已删除日志配置!"}] - -data remove storage fz:logger fz \ No newline at end of file diff --git a/data/fz/functions/logger/install.mcfunction b/data/fz/functions/logger/install.mcfunction deleted file mode 100644 index 05b87a1..0000000 --- a/data/fz/functions/logger/install.mcfunction +++ /dev/null @@ -1,31 +0,0 @@ -##### 使用方式,形如:tellraw @a [{"nbt": "fz.exception.load_without_install_exception", "interpret": true, "storage": "fz:logger"}, {"text": "计分板"}] - -## 根 -data modify storage fz:logger fz.root set value '[{"text": "", "color": "white"}, {"text": "[", "color": "dark_gray"}, {"text": "FZD", "color": "gold"}, {"text": "]", "color": "dark_gray"}]' - -## 不同日志等级 -### error 800 -data modify storage fz:logger fz.level.error set value '[{"text": "", "color": "red"}, {"nbt": "root", "interpret": true, "storage": "fz:logger"}, {"text": "[错误]"}]' -### alert 600 -data modify storage fz:logger fz.level.alert set value '[{"text": "", "color": "yellow"}, {"nbt": "fz.root", "interpret": true, "storage": "fz:logger"}, {"text": "[提醒]"}]' -### info 500 -data modify storage fz:logger fz.level.info set value '[{"text": "", "color": "green"}, {"nbt": "fz.root", "interpret": true, "storage": "fz:logger"}, {"text": "[信息]"}]' -### debug 400 -data modify storage fz:logger fz.level.debug set value '[{"text": "", "color": "dark_aqua"}, {"nbt": "fz.root", "interpret": true, "storage": "fz:logger"}, {"text": "[调试]"}]' -### fine 300 -data modify storage fz:logger fz.level.fine set value '[{"text": "", "color": "gray"}, {"nbt": "fz.root", "interpret": true, "storage": "fz:logger"}, {"text": "[详细]"}]' - -## 异常 -data modify storage fz:logger fz.exception.load_without_install_exception set value '[{"nbt": "fz.level.error", "interpret": true, "storage": "fz:logger"}, {"text": "模块在未安装时被加载:"}]' - -## 首次安装时日志等级默认为一般消息 -execute unless data storage fz:logger fz.levels.current run data modify storage fz:logger fz.levels.current set value 500 - -## 读取日志等级存入缓存 -execute store result score fz.logger.level fz.variable.integer run data get storage fz:logger fz.levels.current - -## 标记为已安装 -data modify storage fz:installed fz.logger set value 1b - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "已安装系统组件:日志"}] \ No newline at end of file diff --git a/data/fz/functions/logger/level/debug.mcfunction b/data/fz/functions/logger/level/debug.mcfunction deleted file mode 100644 index ec797cf..0000000 --- a/data/fz/functions/logger/level/debug.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ - -## debug 400 -data modify storage fz:logger fz.levels.current set value 400 -execute store result score fz.logger.level fz.variable.integer run data get storage fz:logger fz.levels.current - -## 日志 -tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "日志等级设为调试"}] \ No newline at end of file diff --git a/data/fz/functions/logger/level/fine.mcfunction b/data/fz/functions/logger/level/fine.mcfunction deleted file mode 100644 index 59daab0..0000000 --- a/data/fz/functions/logger/level/fine.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ - -## fine 300 -data modify storage fz:logger fz.levels.current set value 300 -execute store result score fz.logger.level fz.variable.integer run data get storage fz:logger fz.levels.current - -## 日志 -tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "日志等级设为详细"}] \ No newline at end of file diff --git a/data/fz/functions/logger/level/info.mcfunction b/data/fz/functions/logger/level/info.mcfunction deleted file mode 100644 index d97f0d1..0000000 --- a/data/fz/functions/logger/level/info.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ - -## info 500 -data modify storage fz:logger fz.levels.current set value 500 -execute store result score fz.logger.level fz.variable.integer run data get storage fz:logger fz.levels.current - -## 日志 -tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "日志等级设为一般信息"}] \ No newline at end of file diff --git a/data/fz/functions/logger/load.mcfunction b/data/fz/functions/logger/load.mcfunction deleted file mode 100644 index f5730cb..0000000 --- a/data/fz/functions/logger/load.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:logger/init - -## 读取日志等级存入缓存 -execute store result score fz.logger.level fz.variable.integer run data get storage fz:logger fz.levels.current - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "已加载系统组件:日志"}] \ No newline at end of file diff --git a/data/fz/functions/logger/uninstall.mcfunction b/data/fz/functions/logger/uninstall.mcfunction deleted file mode 100644 index 220d086..0000000 --- a/data/fz/functions/logger/uninstall.mcfunction +++ /dev/null @@ -1,10 +0,0 @@ -## 调用者:#fz:logger/uninstall - -## 删除安装标记 -data remove storage fz:installed fz.logger - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "已卸载系统组件:日志"}] - -## 询问是否清除数据 -execute if score fz.logger.level fz.variable.integer matches ..600 run tellraw @s [{"nbt": "fz.level.alert", "interpret": true, "storage": "fz:logger"}, {"text": "您要删除日志配置吗,它将会永久失去!(真的很久!)"}, {"text": "[确定]", "color": "dark_red", "clickEvent": {"action": "suggest_command", "value": "/function #fz:logger/clear_data"}, "hoverEvent": {"action": "show_text", "contents": {"text": "将命令填入聊天框"}}}] \ No newline at end of file diff --git a/data/fz/functions/module/health/install.mcfunction b/data/fz/functions/module/health/install.mcfunction deleted file mode 100644 index c85138a..0000000 --- a/data/fz/functions/module/health/install.mcfunction +++ /dev/null @@ -1,5 +0,0 @@ -scoreboard objectives add fz.module.health health -scoreboard objectives modify fz.module.health rendertype hearts - -## 标记为已安装 -data modify storage fz:installed fz.module.health set value 1b \ No newline at end of file diff --git a/data/fz/functions/module/health/load.mcfunction b/data/fz/functions/module/health/load.mcfunction deleted file mode 100644 index a3033cb..0000000 --- a/data/fz/functions/module/health/load.mcfunction +++ /dev/null @@ -1,4 +0,0 @@ -execute unless data storage fz:config fz.module.health.display{below_name: 0b} run scoreboard objectives setdisplay belowName fz.module.health -execute if data storage fz:config fz.module.health.display{below_name: 0b} run scoreboard objectives setdisplay belowName -execute unless data storage fz:config fz.module.health.display{list: 0b} run scoreboard objectives setdisplay list fz.module.health -execute if data storage fz:config fz.module.health.display{list: 0b} run scoreboard objectives setdisplay list \ No newline at end of file diff --git a/data/fz/functions/module/health/set_health_name/default.mcfunction b/data/fz/functions/module/health/set_health_name/default.mcfunction deleted file mode 100644 index 080be29..0000000 --- a/data/fz/functions/module/health/set_health_name/default.mcfunction +++ /dev/null @@ -1 +0,0 @@ -scoreboard objectives modify fz.module.health displayname {"text": "血量", "color": "red"} \ No newline at end of file diff --git a/data/fz/functions/module/health/set_health_name/preset_1.mcfunction b/data/fz/functions/module/health/set_health_name/preset_1.mcfunction deleted file mode 100644 index 5d61093..0000000 --- a/data/fz/functions/module/health/set_health_name/preset_1.mcfunction +++ /dev/null @@ -1 +0,0 @@ -scoreboard objectives modify fz.module.health displayname {"text": "HP"} \ No newline at end of file diff --git a/data/fz/functions/module/health/set_health_name/preset_2.mcfunction b/data/fz/functions/module/health/set_health_name/preset_2.mcfunction deleted file mode 100644 index 56d2dee..0000000 --- a/data/fz/functions/module/health/set_health_name/preset_2.mcfunction +++ /dev/null @@ -1 +0,0 @@ -scoreboard objectives modify fz.module.health displayname {"text": "厘米", "color": "gold"} \ No newline at end of file diff --git a/data/fz/functions/module/health/set_health_name/preset_3.mcfunction b/data/fz/functions/module/health/set_health_name/preset_3.mcfunction deleted file mode 100644 index 7d6817e..0000000 --- a/data/fz/functions/module/health/set_health_name/preset_3.mcfunction +++ /dev/null @@ -1 +0,0 @@ -scoreboard objectives modify fz.module.health displayname {"text": "cm", "color": "gold"} \ No newline at end of file diff --git a/data/fz/functions/module/health/set_health_name/preset_4.mcfunction b/data/fz/functions/module/health/set_health_name/preset_4.mcfunction deleted file mode 100644 index 7019d51..0000000 --- a/data/fz/functions/module/health/set_health_name/preset_4.mcfunction +++ /dev/null @@ -1 +0,0 @@ -scoreboard objectives modify fz.module.health displayname {"text": "节操值", "color": "green"} \ No newline at end of file diff --git a/data/fz/functions/module/health/set_health_name/preset_5.mcfunction b/data/fz/functions/module/health/set_health_name/preset_5.mcfunction deleted file mode 100644 index a5c8fec..0000000 --- a/data/fz/functions/module/health/set_health_name/preset_5.mcfunction +++ /dev/null @@ -1 +0,0 @@ -scoreboard objectives modify fz.module.health displayname {"text": "沙雕值", "color": "yellow"} \ No newline at end of file diff --git a/data/fz/functions/module/health/uninstall.mcfunction b/data/fz/functions/module/health/uninstall.mcfunction deleted file mode 100644 index 7f0bf35..0000000 --- a/data/fz/functions/module/health/uninstall.mcfunction +++ /dev/null @@ -1,5 +0,0 @@ -scoreboard objectives remove fz.module.health -data remove storage fz:config fz.module.health - -## 标记为已卸载 -data modify storage fz:installed fz.module.health set value 0b \ No newline at end of file diff --git a/data/fz/functions/module/here/get_dimension_message/if_overworld.mcfunction b/data/fz/functions/module/here/get_dimension_message/if_overworld.mcfunction deleted file mode 100644 index bd29d7d..0000000 --- a/data/fz/functions/module/here/get_dimension_message/if_overworld.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -data modify storage fz:here fz.nether_pos set value [0, 0] -execute store result storage fz:here fz.nether.x int 0.125 run data get entity @s Pos[0] -execute store result storage fz:here fz.nether.z int 0.125 run data get entity @s Pos[2] -data modify storage fz:global fz.api.dimension.id set value "minecraft:the_nether" -function #fz:api/get_dimension_name -data modify storage fz:here fz.message[2] set value '[{"text": ",对应", "color": "white"}, {"nbt": "fz.api.dimension.name", "interpret": true, "storage": "fz:global"}, [{"text": "[", "color": "green"}, {"nbt": "fz.nether.x", "storage": "fz:here"}, {"text": ", "}, {"nbt": "fz.nether.z", "storage": "fz:here"}, {"text": "]"}]]' \ No newline at end of file diff --git a/data/fz/functions/module/here/get_dimension_message/if_the_nether.mcfunction b/data/fz/functions/module/here/get_dimension_message/if_the_nether.mcfunction deleted file mode 100644 index 18c9531..0000000 --- a/data/fz/functions/module/here/get_dimension_message/if_the_nether.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -data modify storage fz:here fz.overworld_pos set value [0, 0] -execute store result storage fz:here fz.overworld.x int 8 run data get entity @s Pos[0] -execute store result storage fz:here fz.overworld.z int 8 run data get entity @s Pos[2] -data modify storage fz:global fz.api.dimension.id set value "minecraft:overworld" -function #fz:api/get_dimension_name -data modify storage fz:here fz.message[2] set value '[{"text": ",对应", "color": "white"}, {"nbt": "fz.api.dimension.name", "interpret": true, "storage": "fz:global"}, [{"text": "[", "color": "green"}, {"nbt": "fz.overworld.x", "storage": "fz:here"}, {"text": ", "}, {"nbt": "fz.overworld.z", "storage": "fz:here"}, {"text": "]"}]]' \ No newline at end of file diff --git a/data/fz/functions/module/here/get_dimension_message/overworld.mcfunction b/data/fz/functions/module/here/get_dimension_message/overworld.mcfunction deleted file mode 100644 index 9bf5a51..0000000 --- a/data/fz/functions/module/here/get_dimension_message/overworld.mcfunction +++ /dev/null @@ -1 +0,0 @@ -execute if data storage fz:global fz.api.dimension{id:"minecraft:overworld"} run function fz:module/here/get_dimension_message/if_overworld \ No newline at end of file diff --git a/data/fz/functions/module/here/get_dimension_message/the_nether.mcfunction b/data/fz/functions/module/here/get_dimension_message/the_nether.mcfunction deleted file mode 100644 index d7c517e..0000000 --- a/data/fz/functions/module/here/get_dimension_message/the_nether.mcfunction +++ /dev/null @@ -1 +0,0 @@ -execute if data storage fz:global fz.api.dimension{id:"minecraft:the_nether"} run function fz:module/here/get_dimension_message/if_the_nether \ No newline at end of file diff --git a/data/fz/functions/module/here/get_message.mcfunction b/data/fz/functions/module/here/get_message.mcfunction deleted file mode 100644 index 0b8d771..0000000 --- a/data/fz/functions/module/here/get_message.mcfunction +++ /dev/null @@ -1,10 +0,0 @@ -## fz.cache.pos已在install中初始化 -execute store result storage fz:here fz.x int 1 run data get entity @s Pos[0] -execute store result storage fz:here fz.y int 1 run data get entity @s Pos[1] -execute store result storage fz:here fz.z int 1 run data get entity @s Pos[2] -data modify storage fz:here fz.message.dimension set from storage fz:global fz.api.dimension.name -data modify storage fz:here fz.message.position set value '[{"text": "[", "color": "green"}, {"nbt": "fz.x", "storage": "fz:here"}, {"text": ", "}, {"nbt": "fz.y", "storage": "fz:here"}, {"text": ", "}, {"nbt": "fz.z", "storage": "fz:here"}, {"text": "]"}]' -data modify storage fz:here fz.message.append set value '' - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "玩家"}, {"selector": "@s"}, {"text": "获取了位置信息"}] \ No newline at end of file diff --git a/data/fz/functions/module/here/global_message.mcfunction b/data/fz/functions/module/here/global_message.mcfunction deleted file mode 100644 index cd82c77..0000000 --- a/data/fz/functions/module/here/global_message.mcfunction +++ /dev/null @@ -1 +0,0 @@ -tellraw @a [{"text": "", "color": "white"}, {"selector": "@s"}, {"text": "说:"}, {"text": "我在"}, {"nbt": "fz.message.dimension", "interpret": true, "storage": "fz:here"}, {"nbt": "fz.message.position", "interpret": true, "storage": "fz:here"}, {"nbt": "fz.message.append", "interpret": true, "storage": "fz:here"}] \ No newline at end of file diff --git a/data/fz/functions/module/here/install.mcfunction b/data/fz/functions/module/here/install.mcfunction deleted file mode 100644 index 91ecaff..0000000 --- a/data/fz/functions/module/here/install.mcfunction +++ /dev/null @@ -1,5 +0,0 @@ -## 标记为已安装 -data modify storage fz:installed fz.module.here set value 1b - -## 日志 -execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已安装组件:玩家位置"}] \ No newline at end of file diff --git a/data/fz/functions/module/here/interactor/display.mcfunction b/data/fz/functions/module/here/interactor/display.mcfunction deleted file mode 100644 index ac9eddb..0000000 --- a/data/fz/functions/module/here/interactor/display.mcfunction +++ /dev/null @@ -1 +0,0 @@ -execute if data storage fz:installed fz.module{last_nether_portal:1b} run tellraw @s [{"text": "获取位置:"},[{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "发送给:自己"}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 2000"}},{"text": "私信", "color": "aqua"},{"text": "]"}], [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "发送给:所有人"}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 2010"}},{"text": "广播", "color": "aqua"},{"text": "]"}]] \ No newline at end of file diff --git a/data/fz/functions/module/here/interactor/on_click.mcfunction b/data/fz/functions/module/here/interactor/on_click.mcfunction deleted file mode 100644 index 61464ee..0000000 --- a/data/fz/functions/module/here/interactor/on_click.mcfunction +++ /dev/null @@ -1,2 +0,0 @@ -execute if score @s fz.module.interactor.trigger matches 2000 run function #fz:module/here/private_message -execute if score @s fz.module.interactor.trigger matches 2010 run function #fz:module/here/global_message diff --git a/data/fz/functions/module/here/private_message.mcfunction b/data/fz/functions/module/here/private_message.mcfunction deleted file mode 100644 index bbad748..0000000 --- a/data/fz/functions/module/here/private_message.mcfunction +++ /dev/null @@ -1 +0,0 @@ -tellraw @s [{"text": "你在", "color": "white"}, {"nbt": "fz.message.dimension", "interpret": true, "storage": "fz:here"}, {"nbt": "fz.message.position", "interpret": true, "storage": "fz:here"}, {"nbt": "fz.message.append", "interpret": true, "storage": "fz:here"}] \ No newline at end of file diff --git a/data/fz/functions/module/here/uninstall.mcfunction b/data/fz/functions/module/here/uninstall.mcfunction deleted file mode 100644 index 91b4a13..0000000 --- a/data/fz/functions/module/here/uninstall.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -data remove storage fz:here fz - -## 标记为已卸载 -data modify storage fz:installed fz.module.here set value 0b - -## 日志 -execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已卸载组件:玩家位置"}] \ No newline at end of file diff --git a/data/fz/functions/module/interactor/event/on_click.mcfunction b/data/fz/functions/module/interactor/event/on_click.mcfunction deleted file mode 100644 index 5d10279..0000000 --- a/data/fz/functions/module/interactor/event/on_click.mcfunction +++ /dev/null @@ -1,5 +0,0 @@ -## 运行事件 -function #fz:module/interactor/event/on_click/on_click - -## 重置进度 -advancement revoke @s only fz:module/interactor/on_click \ No newline at end of file diff --git a/data/fz/functions/module/interactor/event/on_unsneak/on_unsneak.mcfunction b/data/fz/functions/module/interactor/event/on_unsneak/on_unsneak.mcfunction deleted file mode 100644 index 4ec8363..0000000 --- a/data/fz/functions/module/interactor/event/on_unsneak/on_unsneak.mcfunction +++ /dev/null @@ -1,3 +0,0 @@ -# 本目录用于存放向事件中注册的函数,并不用来新建事件 - -execute unless score @s fz.module.interactor.player.config matches -1 if entity @s[x_rotation = -90] run function #fz:module/interactor/display \ No newline at end of file diff --git a/data/fz/functions/module/interactor/event/reset_advancements.mcfunction b/data/fz/functions/module/interactor/event/reset_advancements.mcfunction deleted file mode 100644 index cfdab22..0000000 --- a/data/fz/functions/module/interactor/event/reset_advancements.mcfunction +++ /dev/null @@ -1,4 +0,0 @@ -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "玩家"}, {"selector": "@s"}, {"text": "重置了交互器事件进度"}] - -advancement revoke @s from fz:module/interactor/on_click \ No newline at end of file diff --git a/data/fz/functions/module/interactor/install.mcfunction b/data/fz/functions/module/interactor/install.mcfunction deleted file mode 100644 index 1ca6478..0000000 --- a/data/fz/functions/module/interactor/install.mcfunction +++ /dev/null @@ -1,8 +0,0 @@ -scoreboard objectives add fz.module.interactor.trigger trigger -scoreboard objectives add fz.module.interactor.player.config dummy - -## 标记为已安装 -data modify storage fz:installed fz.module.interactor set value 1b - -## 日志 -execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已安装组件:配置"}] \ No newline at end of file diff --git a/data/fz/functions/module/interactor/interactor/display.mcfunction b/data/fz/functions/module/interactor/interactor/display.mcfunction deleted file mode 100644 index d6b43ca..0000000 --- a/data/fz/functions/module/interactor/interactor/display.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "向玩家"}, {"selector": "@s"}, {"text": "显示了交互器"}] - -execute if data storage fz:installed fz.module{last_death:1b} run tellraw @s {"text": "交互器打开方式:"} - -execute if data storage fz:installed fz.module{last_death:1b} unless score @s fz.module.interactor.player.config matches -1 run tellraw @s [{"text": "- 抬头+蹲起:"}, [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "点击关闭"}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 900"}},{"text": "已开启", "color": "green"},{"text": "]"}]] -execute if data storage fz:installed fz.module{last_death:1b} if score @s fz.module.interactor.player.config matches -1 run tellraw @s [{"text": "- 抬头+蹲起:"}, [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "点击开启"}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 910"}},{"text": "已关闭", "color": "red"},{"text": "]"}]] \ No newline at end of file diff --git a/data/fz/functions/module/interactor/interactor/on_click.mcfunction b/data/fz/functions/module/interactor/interactor/on_click.mcfunction deleted file mode 100644 index 4a69e86..0000000 --- a/data/fz/functions/module/interactor/interactor/on_click.mcfunction +++ /dev/null @@ -1,8 +0,0 @@ -# 调用者:#fz:module/interactor/on_click - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "玩家"}, {"selector": "@s"}, {"text": "的交互器分数为:"}, {"score": {"name": "@s", "objective": "fz.module.interactor.trigger"}}] - -execute if score @s fz.module.interactor.trigger matches 900 run scoreboard players set @s fz.module.interactor.player.config -1 - -execute if score @s fz.module.interactor.trigger matches 910 run scoreboard players set @s fz.module.interactor.player.config 0 \ No newline at end of file diff --git a/data/fz/functions/module/interactor/load.mcfunction b/data/fz/functions/module/interactor/load.mcfunction deleted file mode 100644 index 1d910dd..0000000 --- a/data/fz/functions/module/interactor/load.mcfunction +++ /dev/null @@ -1,4 +0,0 @@ -execute as @a run function #fz:module/interactor/reset_trigger - -## 日志 -execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已加载组件:配置"}] \ No newline at end of file diff --git a/data/fz/functions/module/interactor/reset_trigger.mcfunction b/data/fz/functions/module/interactor/reset_trigger.mcfunction deleted file mode 100644 index 1e0912f..0000000 --- a/data/fz/functions/module/interactor/reset_trigger.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/interactor/reset_trigger - -scoreboard players set @s fz.module.interactor.trigger 0 -scoreboard players enable @s fz.module.interactor.trigger - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "已重置玩家"}, {"selector": "@s"}, {"text": "的触发器分数"}] \ No newline at end of file diff --git a/data/fz/functions/module/interactor/uninstall.mcfunction b/data/fz/functions/module/interactor/uninstall.mcfunction deleted file mode 100644 index ad88273..0000000 --- a/data/fz/functions/module/interactor/uninstall.mcfunction +++ /dev/null @@ -1,9 +0,0 @@ -schedule clear fz:module/interactor/loop - -scoreboard objectives remove fz.module.interactor.trigger - -## 标记为已卸载 -data modify storage fz:installed fz.module.interactor set value 0b - -## 日志 -execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已卸载组件:配置"}] \ No newline at end of file diff --git a/data/fz/functions/module/last_death/get_death_point.mcfunction b/data/fz/functions/module/last_death/get_death_point.mcfunction deleted file mode 100644 index 458baf8..0000000 --- a/data/fz/functions/module/last_death/get_death_point.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -data modify storage fz:global fz.api.dimension.id set from entity @s LastDeathLocation.dimension -execute store result storage fz:last_death fz.x int 1 run data get entity @s LastDeathLocation.pos[0] -execute store result storage fz:last_death fz.y int 1 run data get entity @s LastDeathLocation.pos[1] -execute store result storage fz:last_death fz.z int 1 run data get entity @s LastDeathLocation.pos[2] - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "玩家"}, {"selector": "@s"}, {"text": "获取了死亡点"}] \ No newline at end of file diff --git a/data/fz/functions/module/last_death/install.mcfunction b/data/fz/functions/module/last_death/install.mcfunction deleted file mode 100644 index a4e251d..0000000 --- a/data/fz/functions/module/last_death/install.mcfunction +++ /dev/null @@ -1,5 +0,0 @@ -## 标记为已安装 -data modify storage fz:installed fz.module.last_death set value 1b - -## 日志 -execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已安装组件:上一死亡点"}] \ No newline at end of file diff --git a/data/fz/functions/module/last_death/interactor/display.mcfunction b/data/fz/functions/module/last_death/interactor/display.mcfunction deleted file mode 100644 index 2969798..0000000 --- a/data/fz/functions/module/last_death/interactor/display.mcfunction +++ /dev/null @@ -1 +0,0 @@ -execute if data storage fz:installed fz.module{last_death:1b} run tellraw @s [{"text": "获取上一死亡点:"},[{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "发送给:自己"}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 2100"}},{"text": "私信", "color": "aqua"},{"text": "]"}]] \ No newline at end of file diff --git a/data/fz/functions/module/last_death/interactor/on_click.mcfunction b/data/fz/functions/module/last_death/interactor/on_click.mcfunction deleted file mode 100644 index 688b99d..0000000 --- a/data/fz/functions/module/last_death/interactor/on_click.mcfunction +++ /dev/null @@ -1 +0,0 @@ -execute if score @s fz.module.interactor.trigger matches 2100 run function #fz:module/last_death/private_message \ No newline at end of file diff --git a/data/fz/functions/module/last_death/private_message.mcfunction b/data/fz/functions/module/last_death/private_message.mcfunction deleted file mode 100644 index 0ff87a6..0000000 --- a/data/fz/functions/module/last_death/private_message.mcfunction +++ /dev/null @@ -1,2 +0,0 @@ -execute if data entity @s LastDeathLocation run tellraw @s [{"text": "你上次死亡于"}, {"nbt": "fz.api.dimension.name", "interpret": true, "storage": "fz:global"}, [{"text": "[", "color": "green"}, {"nbt": "fz.x", "storage": "fz:last_death"}, {"text": ", "}, {"nbt": "fz.y", "storage": "fz:last_death"}, {"text": ", "}, {"nbt": "fz.z", "storage": "fz:last_death"}, {"text": "]"}]] -execute unless data entity @s LastDeathLocation run tellraw @s {"text": "你从未死亡!"} \ No newline at end of file diff --git a/data/fz/functions/module/last_death/uninstall.mcfunction b/data/fz/functions/module/last_death/uninstall.mcfunction deleted file mode 100644 index 2df5e1b..0000000 --- a/data/fz/functions/module/last_death/uninstall.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -data remove storage fz:last_death fz - -## 标记为已卸载 -data modify storage fz:installed fz.module.last_death set value 0b - -## 日志 -execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已卸载组件:上一死亡点"}] \ No newline at end of file diff --git a/data/fz/functions/module/last_nether_portal/event/on_entered_nether_portal.mcfunction b/data/fz/functions/module/last_nether_portal/event/on_entered_nether_portal.mcfunction deleted file mode 100644 index 6d76d42..0000000 --- a/data/fz/functions/module/last_nether_portal/event/on_entered_nether_portal.mcfunction +++ /dev/null @@ -1,5 +0,0 @@ -execute if predicate fz:in_dimension_overworld run scoreboard players set @s fz.module.last_nether_portal.dimension 0 -execute if predicate fz:in_dimension_the_nether run scoreboard players set @s fz.module.last_nether_portal.dimension -1 -execute store result score @s fz.module.last_nether_portal.x run data get entity @s Pos[0] -execute store result score @s fz.module.last_nether_portal.y run data get entity @s Pos[1] -execute store result score @s fz.module.last_nether_portal.z run data get entity @s Pos[2] \ No newline at end of file diff --git a/data/fz/functions/module/last_nether_portal/get_message.mcfunction b/data/fz/functions/module/last_nether_portal/get_message.mcfunction deleted file mode 100644 index 62169fb..0000000 --- a/data/fz/functions/module/last_nether_portal/get_message.mcfunction +++ /dev/null @@ -1,5 +0,0 @@ -execute if score @s fz.module.last_nether_portal.dimension matches 0 run data modify storage fz:global fz.api.dimension.id set value "minecraft:overworld" -execute if score @s fz.module.last_nether_portal.dimension matches -1 run data modify storage fz:global fz.api.dimension.id set value "minecraft:the_nether" - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "玩家"}, {"selector": "@s"}, {"text": "获取了上次穿出的地狱门"}] \ No newline at end of file diff --git a/data/fz/functions/module/last_nether_portal/global_message.mcfunction b/data/fz/functions/module/last_nether_portal/global_message.mcfunction deleted file mode 100644 index 4c30da2..0000000 --- a/data/fz/functions/module/last_nether_portal/global_message.mcfunction +++ /dev/null @@ -1,2 +0,0 @@ -execute if score @s fz.module.last_nether_portal.dimension matches -2147483648..2147483647 run tellraw @a [{"selector": "@s"}, [{"text": "说:我上次穿出的下界传送门位于", "color": "white"}, {"nbt": "fz.message", "interpret": true, "storage": "fz:last_nether_portal"}]] -execute unless score @s fz.module.last_nether_portal.dimension matches -2147483648..2147483647 run tellraw @s {"text": "你从未穿出过下界传送门!"} \ No newline at end of file diff --git a/data/fz/functions/module/last_nether_portal/install.mcfunction b/data/fz/functions/module/last_nether_portal/install.mcfunction deleted file mode 100644 index f20030b..0000000 --- a/data/fz/functions/module/last_nether_portal/install.mcfunction +++ /dev/null @@ -1,11 +0,0 @@ -scoreboard objectives add fz.module.last_nether_portal.dimension dummy -scoreboard objectives add fz.module.last_nether_portal.x dummy -scoreboard objectives add fz.module.last_nether_portal.y dummy -scoreboard objectives add fz.module.last_nether_portal.z dummy -data modify storage fz:last_nether_portal fz.message set value '[{"nbt": "fz.api.dimension.name", "interpret": true, "storage": "fz:global"}, [{"text": "[", "color": "green"}, {"score": {"name": "@s", "objective": "fz.module.last_nether_portal.x"}}, {"text": ", "}, {"score": {"name": "@s", "objective": "fz.module.last_nether_portal.z"}}, {"text": ", "}, {"score": {"name": "@s", "objective": "fz.module.last_nether_portal.z"}}, {"text": "]"}]]' - -## 标记为已安装 -data modify storage fz:installed fz.module.last_nether_portal set value 1b - -## 日志 -execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已安装组件:上次穿出的下界传送门"}] \ No newline at end of file diff --git a/data/fz/functions/module/last_nether_portal/interactor/display.mcfunction b/data/fz/functions/module/last_nether_portal/interactor/display.mcfunction deleted file mode 100644 index 3972ec6..0000000 --- a/data/fz/functions/module/last_nether_portal/interactor/display.mcfunction +++ /dev/null @@ -1 +0,0 @@ -execute if data storage fz:installed fz.module{last_nether_portal:1b} run tellraw @s [{"text": "获取上次穿出的下界传送门:"},[{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "发送给:自己"}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 2200"}},{"text": "私信", "color": "aqua"},{"text": "]"}], [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "发送给:所有人"}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 2210"}},{"text": "广播", "color": "aqua"},{"text": "]"}]] \ No newline at end of file diff --git a/data/fz/functions/module/last_nether_portal/interactor/on_click.mcfunction b/data/fz/functions/module/last_nether_portal/interactor/on_click.mcfunction deleted file mode 100644 index 60015ea..0000000 --- a/data/fz/functions/module/last_nether_portal/interactor/on_click.mcfunction +++ /dev/null @@ -1,2 +0,0 @@ -execute if score @s fz.module.interactor.trigger matches 2200 run function #fz:module/last_nether_portal/private_message -execute if score @s fz.module.interactor.trigger matches 2210 run function #fz:module/last_nether_portal/global_message \ No newline at end of file diff --git a/data/fz/functions/module/last_nether_portal/private_message.mcfunction b/data/fz/functions/module/last_nether_portal/private_message.mcfunction deleted file mode 100644 index 4bc988b..0000000 --- a/data/fz/functions/module/last_nether_portal/private_message.mcfunction +++ /dev/null @@ -1,2 +0,0 @@ -execute if score @s fz.module.last_nether_portal.dimension matches -2147483648..2147483647 run tellraw @s [{"text": "你上次穿出的下界传送门位于"}, {"nbt": "fz.message", "interpret": true, "storage": "fz:last_nether_portal"}] -execute unless score @s fz.module.last_nether_portal.dimension matches -2147483648..2147483647 run tellraw @s {"text": "你从未穿出过下界传送门!"} \ No newline at end of file diff --git a/data/fz/functions/module/last_nether_portal/uninstall.mcfunction b/data/fz/functions/module/last_nether_portal/uninstall.mcfunction deleted file mode 100644 index ed698f8..0000000 --- a/data/fz/functions/module/last_nether_portal/uninstall.mcfunction +++ /dev/null @@ -1,11 +0,0 @@ -scoreboard objectives remove fz.module.last_nether_portal.dimension -scoreboard objectives remove fz.module.last_nether_portal.x -scoreboard objectives remove fz.module.last_nether_portal.y -scoreboard objectives remove fz.module.last_nether_portal.z -data remove storage fz:last_nether_portal fz - -## 标记为已安装 -data modify storage fz:installed fz.module.last_nether_portal set value 0b - -## 日志 -execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已卸载组件:上次穿出的下界传送门"}] \ No newline at end of file diff --git a/data/fz/functions/module/last_spawn_point/get_spawn_point.mcfunction b/data/fz/functions/module/last_spawn_point/get_spawn_point.mcfunction deleted file mode 100644 index 920596e..0000000 --- a/data/fz/functions/module/last_spawn_point/get_spawn_point.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -data modify storage fz:global fz.api.dimension.id set from entity @s SpawnDimension -data modify storage fz:last_spawn_point fz.x set from entity @s SpawnX -data modify storage fz:last_spawn_point fz.y set from entity @s SpawnY -data modify storage fz:last_spawn_point fz.z set from entity @s SpawnZ - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "玩家"}, {"selector": "@s"}, {"text": "获取了出生点"}] \ No newline at end of file diff --git a/data/fz/functions/module/last_spawn_point/install.mcfunction b/data/fz/functions/module/last_spawn_point/install.mcfunction deleted file mode 100644 index e723239..0000000 --- a/data/fz/functions/module/last_spawn_point/install.mcfunction +++ /dev/null @@ -1,5 +0,0 @@ -## 标记为已安装 -data modify storage fz:installed fz.module.last_spawn_point set value 1b - -## 日志 -execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已安装组件:上一出生点"}] \ No newline at end of file diff --git a/data/fz/functions/module/last_spawn_point/interactor/display.mcfunction b/data/fz/functions/module/last_spawn_point/interactor/display.mcfunction deleted file mode 100644 index 4ef8152..0000000 --- a/data/fz/functions/module/last_spawn_point/interactor/display.mcfunction +++ /dev/null @@ -1 +0,0 @@ -execute if data storage fz:installed fz.module{last_spawn_point:1b} run tellraw @s [{"text": "获取上一出生点:"},[{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "发送给:自己"}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 2300"}},{"text": "私信", "color": "aqua"},{"text": "]"}]] \ No newline at end of file diff --git a/data/fz/functions/module/last_spawn_point/interactor/on_click.mcfunction b/data/fz/functions/module/last_spawn_point/interactor/on_click.mcfunction deleted file mode 100644 index 614c37c..0000000 --- a/data/fz/functions/module/last_spawn_point/interactor/on_click.mcfunction +++ /dev/null @@ -1 +0,0 @@ -execute if score @s fz.module.interactor.trigger matches 2300 run function #fz:module/last_spawn_point/private_message \ No newline at end of file diff --git a/data/fz/functions/module/last_spawn_point/private_message.mcfunction b/data/fz/functions/module/last_spawn_point/private_message.mcfunction deleted file mode 100644 index d77e1f0..0000000 --- a/data/fz/functions/module/last_spawn_point/private_message.mcfunction +++ /dev/null @@ -1,2 +0,0 @@ -execute if data entity @s SpawnDimension run tellraw @s [{"text": "你的上个出生点位于"}, {"nbt": "fz.api.dimension.name", "interpret": true, "storage": "fz:global"}, [{"text": "[x: ", "color": "green"}, {"nbt": "fz.x", "storage": "fz:last_spawn_point"}, {"text": ", y: "}, {"nbt": "fz.y", "storage": "fz:last_spawn_point"}, {"text": ", z: "}, {"nbt": "fz.z", "storage": "fz:last_spawn_point"}, {"text": "]"}]] -execute unless data entity @s SpawnDimension run tellraw @s {"text": "你从未设置过出生点!"} \ No newline at end of file diff --git a/data/fz/functions/module/last_spawn_point/uninstall.mcfunction b/data/fz/functions/module/last_spawn_point/uninstall.mcfunction deleted file mode 100644 index 523dfc7..0000000 --- a/data/fz/functions/module/last_spawn_point/uninstall.mcfunction +++ /dev/null @@ -1,5 +0,0 @@ -## 标记为已安装 -data modify storage fz:installed fz.module.last_spawn_point set value 0b - -## 日志 -execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已卸载组件:上一出生点"}] \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/assign/scoreboard/activation.mcfunction b/data/fz/functions/module/scoreboard/assign/scoreboard/activation.mcfunction deleted file mode 100644 index db7e219..0000000 --- a/data/fz/functions/module/scoreboard/assign/scoreboard/activation.mcfunction +++ /dev/null @@ -1,2 +0,0 @@ -scoreboard players add @s fz.module.scoreboard.display.activation 1 -scoreboard players add fz.module.scoreboard.total.activation fz.module.scoreboard.assign.general 1 \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/assign/scoreboard/aviating_distance.mcfunction b/data/fz/functions/module/scoreboard/assign/scoreboard/aviating_distance.mcfunction deleted file mode 100644 index a07113b..0000000 --- a/data/fz/functions/module/scoreboard/assign/scoreboard/aviating_distance.mcfunction +++ /dev/null @@ -1,2 +0,0 @@ -scoreboard players operation @s fz.module.scoreboard.display.aviating_distance += fz.var.score fz.variable.integer -scoreboard players operation fz.module.scoreboard.total.aviating_distance fz.module.scoreboard.assign.general += fz.var.score fz.variable.integer \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/assign/scoreboard/damage_taken.mcfunction b/data/fz/functions/module/scoreboard/assign/scoreboard/damage_taken.mcfunction deleted file mode 100644 index 5048651..0000000 --- a/data/fz/functions/module/scoreboard/assign/scoreboard/damage_taken.mcfunction +++ /dev/null @@ -1,2 +0,0 @@ -scoreboard players operation @s fz.module.scoreboard.display.damage_taken += fz.var.score fz.variable.integer -scoreboard players operation fz.module.scoreboard.total.damage_taken fz.module.scoreboard.assign.general += fz.var.score fz.variable.integer \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/assign/scoreboard/death_count.mcfunction b/data/fz/functions/module/scoreboard/assign/scoreboard/death_count.mcfunction deleted file mode 100644 index ae84c17..0000000 --- a/data/fz/functions/module/scoreboard/assign/scoreboard/death_count.mcfunction +++ /dev/null @@ -1,2 +0,0 @@ -scoreboard players add @s fz.module.scoreboard.display.death_count 1 -scoreboard players add fz.module.scoreboard.total.death_count fz.module.scoreboard.assign.general 1 \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/assign/scoreboard/dig_count.mcfunction b/data/fz/functions/module/scoreboard/assign/scoreboard/dig_count.mcfunction deleted file mode 100644 index 1a6f884..0000000 --- a/data/fz/functions/module/scoreboard/assign/scoreboard/dig_count.mcfunction +++ /dev/null @@ -1,2 +0,0 @@ -scoreboard players operation @s fz.module.scoreboard.display.dig_count += fz.var.score fz.variable.integer -scoreboard players operation fz.module.scoreboard.total.dig_count fz.module.scoreboard.assign.general += fz.var.score fz.variable.integer \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/assign/scoreboard/fishing_count.mcfunction b/data/fz/functions/module/scoreboard/assign/scoreboard/fishing_count.mcfunction deleted file mode 100644 index 07e4703..0000000 --- a/data/fz/functions/module/scoreboard/assign/scoreboard/fishing_count.mcfunction +++ /dev/null @@ -1,2 +0,0 @@ -scoreboard players add @s fz.module.scoreboard.display.fishing_count 1 -scoreboard players add fz.module.scoreboard.total.fishing_count fz.module.scoreboard.assign.general 1 \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/assign/scoreboard/general/activation.mcfunction b/data/fz/functions/module/scoreboard/assign/scoreboard/general/activation.mcfunction deleted file mode 100644 index 89a1875..0000000 --- a/data/fz/functions/module/scoreboard/assign/scoreboard/general/activation.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -## 为了扩展性,尽量想把这种硬编码的字段写在同一个文件里方便覆盖 -## 但为了实现这一目标,在此处除了每次添加一次队伍以外,暂时没有找到其他好方法,不知道性能如何 -team join fz.module.scoreboard.display.activation 总活跃时间 - -scoreboard players operation 总活跃时间 fz.module.scoreboard.display.general = fz.module.scoreboard.total.activation fz.module.scoreboard.assign.general -scoreboard players operation 总活跃时间 fz.module.scoreboard.display.activation = fz.module.scoreboard.total.activation fz.module.scoreboard.assign.general \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/assign/scoreboard/general/aviating_distance.mcfunction b/data/fz/functions/module/scoreboard/assign/scoreboard/general/aviating_distance.mcfunction deleted file mode 100644 index f142a70..0000000 --- a/data/fz/functions/module/scoreboard/assign/scoreboard/general/aviating_distance.mcfunction +++ /dev/null @@ -1,4 +0,0 @@ -team join fz.module.scoreboard.display.aviating_distance 总飞行距离 - -scoreboard players operation 总飞行距离 fz.module.scoreboard.display.general = fz.module.scoreboard.total.aviating_distance fz.module.scoreboard.assign.general -scoreboard players operation 总飞行距离 fz.module.scoreboard.display.aviating_distance = fz.module.scoreboard.total.aviating_distance fz.module.scoreboard.assign.general \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/assign/scoreboard/general/damage_taken.mcfunction b/data/fz/functions/module/scoreboard/assign/scoreboard/general/damage_taken.mcfunction deleted file mode 100644 index 15a593e..0000000 --- a/data/fz/functions/module/scoreboard/assign/scoreboard/general/damage_taken.mcfunction +++ /dev/null @@ -1,4 +0,0 @@ -team join fz.module.scoreboard.display.damage_taken 总受伤害量 - -scoreboard players operation 总受伤害量 fz.module.scoreboard.display.general = fz.module.scoreboard.total.damage_taken fz.module.scoreboard.assign.general -scoreboard players operation 总受伤害量 fz.module.scoreboard.display.damage_taken = fz.module.scoreboard.total.damage_taken fz.module.scoreboard.assign.general \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/assign/scoreboard/general/death_count.mcfunction b/data/fz/functions/module/scoreboard/assign/scoreboard/general/death_count.mcfunction deleted file mode 100644 index 75903ef..0000000 --- a/data/fz/functions/module/scoreboard/assign/scoreboard/general/death_count.mcfunction +++ /dev/null @@ -1,4 +0,0 @@ -team join fz.module.scoreboard.display.death_count 总死亡次数 - -scoreboard players operation 总死亡次数 fz.module.scoreboard.display.general = fz.module.scoreboard.total.death_count fz.module.scoreboard.assign.general -scoreboard players operation 总死亡次数 fz.module.scoreboard.display.death_count = fz.module.scoreboard.total.death_count fz.module.scoreboard.assign.general \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/assign/scoreboard/general/dig_count.mcfunction b/data/fz/functions/module/scoreboard/assign/scoreboard/general/dig_count.mcfunction deleted file mode 100644 index 8cae03f..0000000 --- a/data/fz/functions/module/scoreboard/assign/scoreboard/general/dig_count.mcfunction +++ /dev/null @@ -1,4 +0,0 @@ -team join fz.module.scoreboard.display.dig_count 总挖掘量 - -scoreboard players operation 总挖掘量 fz.module.scoreboard.display.general = fz.module.scoreboard.total.dig_count fz.module.scoreboard.assign.general -scoreboard players operation 总挖掘量 fz.module.scoreboard.display.dig_count = fz.module.scoreboard.total.dig_count fz.module.scoreboard.assign.general \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/assign/scoreboard/general/fishing_count.mcfunction b/data/fz/functions/module/scoreboard/assign/scoreboard/general/fishing_count.mcfunction deleted file mode 100644 index 216f7b6..0000000 --- a/data/fz/functions/module/scoreboard/assign/scoreboard/general/fishing_count.mcfunction +++ /dev/null @@ -1,4 +0,0 @@ -team join fz.module.scoreboard.display.fishing_count 总钓鱼数 - -scoreboard players operation 总钓鱼数 fz.module.scoreboard.display.general = fz.module.scoreboard.total.fishing_count fz.module.scoreboard.assign.general -scoreboard players operation 总钓鱼数 fz.module.scoreboard.display.fishing_count = fz.module.scoreboard.total.fishing_count fz.module.scoreboard.assign.general \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/assign/scoreboard/general/kill_count.mcfunction b/data/fz/functions/module/scoreboard/assign/scoreboard/general/kill_count.mcfunction deleted file mode 100644 index 34bdd30..0000000 --- a/data/fz/functions/module/scoreboard/assign/scoreboard/general/kill_count.mcfunction +++ /dev/null @@ -1,4 +0,0 @@ -team join fz.module.scoreboard.display.kill_count 总击杀数 - -scoreboard players operation 总击杀数 fz.module.scoreboard.display.general = fz.module.scoreboard.total.kill_count fz.module.scoreboard.assign.general -scoreboard players operation 总击杀数 fz.module.scoreboard.display.kill_count = fz.module.scoreboard.total.kill_count fz.module.scoreboard.assign.general \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/assign/scoreboard/general/placement_count.mcfunction b/data/fz/functions/module/scoreboard/assign/scoreboard/general/placement_count.mcfunction deleted file mode 100644 index e6291b9..0000000 --- a/data/fz/functions/module/scoreboard/assign/scoreboard/general/placement_count.mcfunction +++ /dev/null @@ -1,4 +0,0 @@ -team join fz.module.scoreboard.display.placement_count 总放置方块数 - -scoreboard players operation 总放置方块数 fz.module.scoreboard.display.general = fz.module.scoreboard.total.placement_count fz.module.scoreboard.assign.general -scoreboard players operation 总放置方块数 fz.module.scoreboard.display.placement_count = fz.module.scoreboard.total.placement_count fz.module.scoreboard.assign.general \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/assign/scoreboard/general/trade_count.mcfunction b/data/fz/functions/module/scoreboard/assign/scoreboard/general/trade_count.mcfunction deleted file mode 100644 index cc9db46..0000000 --- a/data/fz/functions/module/scoreboard/assign/scoreboard/general/trade_count.mcfunction +++ /dev/null @@ -1,4 +0,0 @@ -team join fz.module.scoreboard.display.trade_count 总交易量 - -scoreboard players operation 总交易量 fz.module.scoreboard.display.general = fz.module.scoreboard.total.trade_count fz.module.scoreboard.assign.general -scoreboard players operation 总交易量 fz.module.scoreboard.display.trade_count = fz.module.scoreboard.total.trade_count fz.module.scoreboard.assign.general \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/assign/scoreboard/kill_count.mcfunction b/data/fz/functions/module/scoreboard/assign/scoreboard/kill_count.mcfunction deleted file mode 100644 index 0908f09..0000000 --- a/data/fz/functions/module/scoreboard/assign/scoreboard/kill_count.mcfunction +++ /dev/null @@ -1,2 +0,0 @@ -scoreboard players add @s fz.module.scoreboard.display.kill_count 1 -scoreboard players add fz.module.scoreboard.total.kill_count fz.module.scoreboard.assign.general 1 \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/assign/scoreboard/placement_count.mcfunction b/data/fz/functions/module/scoreboard/assign/scoreboard/placement_count.mcfunction deleted file mode 100644 index e7d83d3..0000000 --- a/data/fz/functions/module/scoreboard/assign/scoreboard/placement_count.mcfunction +++ /dev/null @@ -1,2 +0,0 @@ -scoreboard players add @s fz.module.scoreboard.display.placement_count 1 -scoreboard players add fz.module.scoreboard.total.placement_count fz.module.scoreboard.assign.general 1 \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/assign/scoreboard/trade_count.mcfunction b/data/fz/functions/module/scoreboard/assign/scoreboard/trade_count.mcfunction deleted file mode 100644 index 102b451..0000000 --- a/data/fz/functions/module/scoreboard/assign/scoreboard/trade_count.mcfunction +++ /dev/null @@ -1,2 +0,0 @@ -scoreboard players add @s fz.module.scoreboard.display.trade_count 1 -scoreboard players add fz.module.scoreboard.total.trade_count fz.module.scoreboard.assign.general 1 \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/clear_data.mcfunction b/data/fz/functions/module/scoreboard/clear_data.mcfunction deleted file mode 100644 index 0c2ca39..0000000 --- a/data/fz/functions/module/scoreboard/clear_data.mcfunction +++ /dev/null @@ -1,46 +0,0 @@ -# 调用者:#fz:module/scoreboard/clear_data - -## 删除计分板 -### 总榜 -scoreboard objectives remove fz.module.scoreboard.display.general -### 活跃度 -scoreboard objectives remove fz.module.scoreboard.display.activation -### 飞行距离 -scoreboard objectives remove fz.module.scoreboard.display.aviating_distance -### 受伤害榜 -scoreboard objectives remove fz.module.scoreboard.display.damage_taken -### 死亡榜 -scoreboard objectives remove fz.module.scoreboard.display.death_count -### 挖掘榜 -scoreboard objectives remove fz.module.scoreboard.display.dig_count -### 钓鱼榜 -scoreboard objectives remove fz.module.scoreboard.display.fishing_count -### 击杀榜 -scoreboard objectives remove fz.module.scoreboard.display.kill_count -### 交易榜 -scoreboard objectives remove fz.module.scoreboard.display.trade_count - -## 清除队伍 -### 轮播 -team remove fz.module.scoreboard.display.carousel -### 总榜 -team remove fz.module.scoreboard.display.general -### 活跃度 -team remove fz.module.scoreboard.display.activation -### 飞行距离 -team remove fz.module.scoreboard.display.aviating_distance -### 受伤害榜 -team remove fz.module.scoreboard.display.damage_taken -### 死亡榜 -team remove fz.module.scoreboard.display.death_count -### 挖掘榜 -team remove fz.module.scoreboard.display.dig_count -### 钓鱼榜 -team remove fz.module.scoreboard.display.fishing_count -### 击杀榜 -team remove fz.module.scoreboard.display.kill_count -### 交易榜 -team remove fz.module.scoreboard.display.trade_count - -## 日志 -execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已删除计分板数据!"}] \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/carousel/loop.mcfunction b/data/fz/functions/module/scoreboard/display/carousel/loop.mcfunction deleted file mode 100644 index 997f756..0000000 --- a/data/fz/functions/module/scoreboard/display/carousel/loop.mcfunction +++ /dev/null @@ -1,10 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/carousel_controller/loop - -function #fz:module/scoreboard/display/carousel/try_display - -schedule function fz:module/scoreboard/display/carousel/loop 10s replace - -## 自增 -scoreboard players add fz.module.scoreboard.display.current_id fz.variable.integer 1 -## 循环 -execute if score fz.module.scoreboard.display.current_id fz.variable.integer > fz.module.scoreboard.display.highest_id fz.variable.integer run scoreboard players set fz.module.scoreboard.display.current_id fz.variable.integer 0 \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/carousel/set_display/activation.mcfunction b/data/fz/functions/module/scoreboard/display/carousel/set_display/activation.mcfunction deleted file mode 100644 index c6d180b..0000000 --- a/data/fz/functions/module/scoreboard/display/carousel/set_display/activation.mcfunction +++ /dev/null @@ -1,22 +0,0 @@ -# 调用者:fz:module/scoreboard/carousel/try_display/~ - -## 判断颜色代码,见:https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81 -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 0 run scoreboard objectives setdisplay sidebar.team.black fz.module.scoreboard.display.activation -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 1 run scoreboard objectives setdisplay sidebar.team.dark_blue fz.module.scoreboard.display.activation -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 2 run scoreboard objectives setdisplay sidebar.team.dark_green fz.module.scoreboard.display.activation -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 3 run scoreboard objectives setdisplay sidebar.team.dark_aqua fz.module.scoreboard.display.activation -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 4 run scoreboard objectives setdisplay sidebar.team.dark_red fz.module.scoreboard.display.activation -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 5 run scoreboard objectives setdisplay sidebar.team.dark_purple fz.module.scoreboard.display.activation -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 6 run scoreboard objectives setdisplay sidebar.team.gold fz.module.scoreboard.display.activation -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 7 run scoreboard objectives setdisplay sidebar.team.gray fz.module.scoreboard.display.activation -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 8 run scoreboard objectives setdisplay sidebar.team.dark_gray fz.module.scoreboard.display.activation -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 9 run scoreboard objectives setdisplay sidebar.team.blue fz.module.scoreboard.display.activation -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 10 run scoreboard objectives setdisplay sidebar.team.green fz.module.scoreboard.display.activation -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 11 run scoreboard objectives setdisplay sidebar.team.aqua fz.module.scoreboard.display.activation -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 12 run scoreboard objectives setdisplay sidebar.team.red fz.module.scoreboard.display.activation -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 13 run scoreboard objectives setdisplay sidebar.team.light_purple fz.module.scoreboard.display.activation -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 14 run scoreboard objectives setdisplay sidebar.team.yellow fz.module.scoreboard.display.activation -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 15 run scoreboard objectives setdisplay sidebar.team.white fz.module.scoreboard.display.activation - -## 详细 -execute if score fz.logger.level fz.variable.integer matches ..300 run tellraw @a [{"nbt": "fz.level.fine", "interpret": true, "storage": "fz:logger"}, {"text": "已为队伍"}, {"nbt": "fz.scoreboard.text.carousel", "interpret": true, "storage": "fz:module"}, {"text": "显示"}, {"nbt": "fz.scoreboard.text.activation", "interpret": true, "storage": "fz:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/carousel/set_display/aviating_distance.mcfunction b/data/fz/functions/module/scoreboard/display/carousel/set_display/aviating_distance.mcfunction deleted file mode 100644 index ba0e513..0000000 --- a/data/fz/functions/module/scoreboard/display/carousel/set_display/aviating_distance.mcfunction +++ /dev/null @@ -1,22 +0,0 @@ -# 调用者:fz:module/scoreboard/carousel/try_display/~ - -## 判断颜色代码,见:https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81 -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 0 run scoreboard objectives setdisplay sidebar.team.black fz.module.scoreboard.display.aviating_distance -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 1 run scoreboard objectives setdisplay sidebar.team.dark_blue fz.module.scoreboard.display.aviating_distance -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 2 run scoreboard objectives setdisplay sidebar.team.dark_green fz.module.scoreboard.display.aviating_distance -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 3 run scoreboard objectives setdisplay sidebar.team.dark_aqua fz.module.scoreboard.display.aviating_distance -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 4 run scoreboard objectives setdisplay sidebar.team.dark_red fz.module.scoreboard.display.aviating_distance -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 5 run scoreboard objectives setdisplay sidebar.team.dark_purple fz.module.scoreboard.display.aviating_distance -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 6 run scoreboard objectives setdisplay sidebar.team.gold fz.module.scoreboard.display.aviating_distance -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 7 run scoreboard objectives setdisplay sidebar.team.gray fz.module.scoreboard.display.aviating_distance -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 8 run scoreboard objectives setdisplay sidebar.team.dark_gray fz.module.scoreboard.display.aviating_distance -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 9 run scoreboard objectives setdisplay sidebar.team.blue fz.module.scoreboard.display.aviating_distance -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 10 run scoreboard objectives setdisplay sidebar.team.green fz.module.scoreboard.display.aviating_distance -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 11 run scoreboard objectives setdisplay sidebar.team.aqua fz.module.scoreboard.display.aviating_distance -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 12 run scoreboard objectives setdisplay sidebar.team.red fz.module.scoreboard.display.aviating_distance -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 13 run scoreboard objectives setdisplay sidebar.team.light_purple fz.module.scoreboard.display.aviating_distance -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 14 run scoreboard objectives setdisplay sidebar.team.yellow fz.module.scoreboard.display.aviating_distance -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 15 run scoreboard objectives setdisplay sidebar.team.white fz.module.scoreboard.display.aviating_distance - -## 详细 -execute if score fz.logger.level fz.variable.integer matches ..300 run tellraw @a [{"nbt": "fz.level.fine", "interpret": true, "storage": "fz:logger"}, {"text": "已为队伍"}, {"nbt": "fz.scoreboard.text.carousel", "interpret": true, "storage": "fz:module"}, {"text": "显示"}, {"nbt": "fz.scoreboard.text.aviating_distance", "interpret": true, "storage": "fz:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/carousel/set_display/damage_taken.mcfunction b/data/fz/functions/module/scoreboard/display/carousel/set_display/damage_taken.mcfunction deleted file mode 100644 index 15af4e8..0000000 --- a/data/fz/functions/module/scoreboard/display/carousel/set_display/damage_taken.mcfunction +++ /dev/null @@ -1,22 +0,0 @@ -# 调用者:fz:module/scoreboard/carousel/try_display/~ - -## 判断颜色代码,见:https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81 -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 0 run scoreboard objectives setdisplay sidebar.team.black fz.module.scoreboard.display.damage_taken -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 1 run scoreboard objectives setdisplay sidebar.team.dark_blue fz.module.scoreboard.display.damage_taken -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 2 run scoreboard objectives setdisplay sidebar.team.dark_green fz.module.scoreboard.display.damage_taken -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 3 run scoreboard objectives setdisplay sidebar.team.dark_aqua fz.module.scoreboard.display.damage_taken -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 4 run scoreboard objectives setdisplay sidebar.team.dark_red fz.module.scoreboard.display.damage_taken -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 5 run scoreboard objectives setdisplay sidebar.team.dark_purple fz.module.scoreboard.display.damage_taken -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 6 run scoreboard objectives setdisplay sidebar.team.gold fz.module.scoreboard.display.damage_taken -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 7 run scoreboard objectives setdisplay sidebar.team.gray fz.module.scoreboard.display.damage_taken -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 8 run scoreboard objectives setdisplay sidebar.team.dark_gray fz.module.scoreboard.display.damage_taken -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 9 run scoreboard objectives setdisplay sidebar.team.blue fz.module.scoreboard.display.damage_taken -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 10 run scoreboard objectives setdisplay sidebar.team.green fz.module.scoreboard.display.damage_taken -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 11 run scoreboard objectives setdisplay sidebar.team.aqua fz.module.scoreboard.display.damage_taken -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 12 run scoreboard objectives setdisplay sidebar.team.red fz.module.scoreboard.display.damage_taken -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 13 run scoreboard objectives setdisplay sidebar.team.light_purple fz.module.scoreboard.display.damage_taken -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 14 run scoreboard objectives setdisplay sidebar.team.yellow fz.module.scoreboard.display.damage_taken -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 15 run scoreboard objectives setdisplay sidebar.team.white fz.module.scoreboard.display.damage_taken - -## 详细 -execute if score fz.logger.level fz.variable.integer matches ..300 run tellraw @a [{"nbt": "fz.level.fine", "interpret": true, "storage": "fz:logger"}, {"text": "已为队伍"}, {"nbt": "fz.scoreboard.text.carousel", "interpret": true, "storage": "fz:module"}, {"text": "显示"}, {"nbt": "fz.scoreboard.text.damage_taken", "interpret": true, "storage": "fz:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/carousel/set_display/death_count.mcfunction b/data/fz/functions/module/scoreboard/display/carousel/set_display/death_count.mcfunction deleted file mode 100644 index c09b5ca..0000000 --- a/data/fz/functions/module/scoreboard/display/carousel/set_display/death_count.mcfunction +++ /dev/null @@ -1,22 +0,0 @@ -# 调用者:fz:module/scoreboard/carousel/try_display/~ - -## 判断颜色代码,见:https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81 -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 0 run scoreboard objectives setdisplay sidebar.team.black fz.module.scoreboard.display.death_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 1 run scoreboard objectives setdisplay sidebar.team.dark_blue fz.module.scoreboard.display.death_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 2 run scoreboard objectives setdisplay sidebar.team.dark_green fz.module.scoreboard.display.death_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 3 run scoreboard objectives setdisplay sidebar.team.dark_aqua fz.module.scoreboard.display.death_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 4 run scoreboard objectives setdisplay sidebar.team.dark_red fz.module.scoreboard.display.death_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 5 run scoreboard objectives setdisplay sidebar.team.dark_purple fz.module.scoreboard.display.death_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 6 run scoreboard objectives setdisplay sidebar.team.gold fz.module.scoreboard.display.death_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 7 run scoreboard objectives setdisplay sidebar.team.gray fz.module.scoreboard.display.death_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 8 run scoreboard objectives setdisplay sidebar.team.dark_gray fz.module.scoreboard.display.death_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 9 run scoreboard objectives setdisplay sidebar.team.blue fz.module.scoreboard.display.death_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 10 run scoreboard objectives setdisplay sidebar.team.green fz.module.scoreboard.display.death_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 11 run scoreboard objectives setdisplay sidebar.team.aqua fz.module.scoreboard.display.death_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 12 run scoreboard objectives setdisplay sidebar.team.red fz.module.scoreboard.display.death_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 13 run scoreboard objectives setdisplay sidebar.team.light_purple fz.module.scoreboard.display.death_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 14 run scoreboard objectives setdisplay sidebar.team.yellow fz.module.scoreboard.display.death_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 15 run scoreboard objectives setdisplay sidebar.team.white fz.module.scoreboard.display.death_count - -## 详细 -execute if score fz.logger.level fz.variable.integer matches ..300 run tellraw @a [{"nbt": "fz.level.fine", "interpret": true, "storage": "fz:logger"}, {"text": "已为队伍"}, {"nbt": "fz.scoreboard.text.carousel", "interpret": true, "storage": "fz:module"}, {"text": "显示"}, {"nbt": "fz.scoreboard.text.death_count", "interpret": true, "storage": "fz:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/carousel/set_display/dig_count.mcfunction b/data/fz/functions/module/scoreboard/display/carousel/set_display/dig_count.mcfunction deleted file mode 100644 index 47bf207..0000000 --- a/data/fz/functions/module/scoreboard/display/carousel/set_display/dig_count.mcfunction +++ /dev/null @@ -1,22 +0,0 @@ -# 调用者:fz:module/scoreboard/carousel/try_display/~ - -## 判断颜色代码,见:https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81 -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 0 run scoreboard objectives setdisplay sidebar.team.black fz.module.scoreboard.display.dig_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 1 run scoreboard objectives setdisplay sidebar.team.dark_blue fz.module.scoreboard.display.dig_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 2 run scoreboard objectives setdisplay sidebar.team.dark_green fz.module.scoreboard.display.dig_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 3 run scoreboard objectives setdisplay sidebar.team.dark_aqua fz.module.scoreboard.display.dig_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 4 run scoreboard objectives setdisplay sidebar.team.dark_red fz.module.scoreboard.display.dig_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 5 run scoreboard objectives setdisplay sidebar.team.dark_purple fz.module.scoreboard.display.dig_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 6 run scoreboard objectives setdisplay sidebar.team.gold fz.module.scoreboard.display.dig_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 7 run scoreboard objectives setdisplay sidebar.team.gray fz.module.scoreboard.display.dig_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 8 run scoreboard objectives setdisplay sidebar.team.dark_gray fz.module.scoreboard.display.dig_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 9 run scoreboard objectives setdisplay sidebar.team.blue fz.module.scoreboard.display.dig_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 10 run scoreboard objectives setdisplay sidebar.team.green fz.module.scoreboard.display.dig_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 11 run scoreboard objectives setdisplay sidebar.team.aqua fz.module.scoreboard.display.dig_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 12 run scoreboard objectives setdisplay sidebar.team.red fz.module.scoreboard.display.dig_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 13 run scoreboard objectives setdisplay sidebar.team.light_purple fz.module.scoreboard.display.dig_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 14 run scoreboard objectives setdisplay sidebar.team.yellow fz.module.scoreboard.display.dig_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 15 run scoreboard objectives setdisplay sidebar.team.white fz.module.scoreboard.display.dig_count - -## 详细 -execute if score fz.logger.level fz.variable.integer matches ..300 run tellraw @a [{"nbt": "fz.level.fine", "interpret": true, "storage": "fz:logger"}, {"text": "已为队伍"}, {"nbt": "fz.scoreboard.text.carousel", "interpret": true, "storage": "fz:module"}, {"text": "显示"}, {"nbt": "fz.scoreboard.text.dig_count", "interpret": true, "storage": "fz:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/carousel/set_display/fishing_count.mcfunction b/data/fz/functions/module/scoreboard/display/carousel/set_display/fishing_count.mcfunction deleted file mode 100644 index e41cca4..0000000 --- a/data/fz/functions/module/scoreboard/display/carousel/set_display/fishing_count.mcfunction +++ /dev/null @@ -1,22 +0,0 @@ -# 调用者:fz:module/scoreboard/carousel/try_display/~ - -## 判断颜色代码,见:https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81 -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 0 run scoreboard objectives setdisplay sidebar.team.black fz.module.scoreboard.display.fishing_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 1 run scoreboard objectives setdisplay sidebar.team.dark_blue fz.module.scoreboard.display.fishing_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 2 run scoreboard objectives setdisplay sidebar.team.dark_green fz.module.scoreboard.display.fishing_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 3 run scoreboard objectives setdisplay sidebar.team.dark_aqua fz.module.scoreboard.display.fishing_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 4 run scoreboard objectives setdisplay sidebar.team.dark_red fz.module.scoreboard.display.fishing_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 5 run scoreboard objectives setdisplay sidebar.team.dark_purple fz.module.scoreboard.display.fishing_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 6 run scoreboard objectives setdisplay sidebar.team.gold fz.module.scoreboard.display.fishing_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 7 run scoreboard objectives setdisplay sidebar.team.gray fz.module.scoreboard.display.fishing_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 8 run scoreboard objectives setdisplay sidebar.team.dark_gray fz.module.scoreboard.display.fishing_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 9 run scoreboard objectives setdisplay sidebar.team.blue fz.module.scoreboard.display.fishing_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 10 run scoreboard objectives setdisplay sidebar.team.green fz.module.scoreboard.display.fishing_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 11 run scoreboard objectives setdisplay sidebar.team.aqua fz.module.scoreboard.display.fishing_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 12 run scoreboard objectives setdisplay sidebar.team.red fz.module.scoreboard.display.fishing_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 13 run scoreboard objectives setdisplay sidebar.team.light_purple fz.module.scoreboard.display.fishing_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 14 run scoreboard objectives setdisplay sidebar.team.yellow fz.module.scoreboard.display.fishing_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 15 run scoreboard objectives setdisplay sidebar.team.white fz.module.scoreboard.display.fishing_count - -## 详细 -execute if score fz.logger.level fz.variable.integer matches ..300 run tellraw @a [{"nbt": "fz.level.fine", "interpret": true, "storage": "fz:logger"}, {"text": "已为队伍"}, {"nbt": "fz.scoreboard.text.carousel", "interpret": true, "storage": "fz:module"}, {"text": "显示"}, {"nbt": "fz.scoreboard.text.fishing_count", "interpret": true, "storage": "fz:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/carousel/set_display/general.mcfunction b/data/fz/functions/module/scoreboard/display/carousel/set_display/general.mcfunction deleted file mode 100644 index ffaa439..0000000 --- a/data/fz/functions/module/scoreboard/display/carousel/set_display/general.mcfunction +++ /dev/null @@ -1,22 +0,0 @@ -# 调用者:fz:module/scoreboard/carousel/try_display/~ - -## 判断颜色代码,见:https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81 -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 0 run scoreboard objectives setdisplay sidebar.team.black fz.module.scoreboard.display.general -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 1 run scoreboard objectives setdisplay sidebar.team.dark_blue fz.module.scoreboard.display.general -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 2 run scoreboard objectives setdisplay sidebar.team.dark_green fz.module.scoreboard.display.general -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 3 run scoreboard objectives setdisplay sidebar.team.dark_aqua fz.module.scoreboard.display.general -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 4 run scoreboard objectives setdisplay sidebar.team.dark_red fz.module.scoreboard.display.general -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 5 run scoreboard objectives setdisplay sidebar.team.dark_purple fz.module.scoreboard.display.general -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 6 run scoreboard objectives setdisplay sidebar.team.gold fz.module.scoreboard.display.general -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 7 run scoreboard objectives setdisplay sidebar.team.gray fz.module.scoreboard.display.general -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 8 run scoreboard objectives setdisplay sidebar.team.dark_gray fz.module.scoreboard.display.general -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 9 run scoreboard objectives setdisplay sidebar.team.blue fz.module.scoreboard.display.general -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 10 run scoreboard objectives setdisplay sidebar.team.green fz.module.scoreboard.display.general -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 11 run scoreboard objectives setdisplay sidebar.team.aqua fz.module.scoreboard.display.general -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 12 run scoreboard objectives setdisplay sidebar.team.red fz.module.scoreboard.display.general -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 13 run scoreboard objectives setdisplay sidebar.team.light_purple fz.module.scoreboard.display.general -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 14 run scoreboard objectives setdisplay sidebar.team.yellow fz.module.scoreboard.display.general -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 15 run scoreboard objectives setdisplay sidebar.team.white fz.module.scoreboard.display.general - -## 详细 -execute if score fz.logger.level fz.variable.integer matches ..300 run tellraw @a [{"nbt": "fz.level.fine", "interpret": true, "storage": "fz:logger"}, {"text": "已为队伍"}, {"nbt": "fz.scoreboard.text.carousel", "interpret": true, "storage": "fz:module"}, {"text": "显示"}, {"nbt": "fz.scoreboard.text.general", "interpret": true, "storage": "fz:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/carousel/set_display/kill_count.mcfunction b/data/fz/functions/module/scoreboard/display/carousel/set_display/kill_count.mcfunction deleted file mode 100644 index fe2d058..0000000 --- a/data/fz/functions/module/scoreboard/display/carousel/set_display/kill_count.mcfunction +++ /dev/null @@ -1,22 +0,0 @@ -# 调用者:fz:module/scoreboard/carousel/try_display/~ - -## 判断颜色代码,见:https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81 -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 0 run scoreboard objectives setdisplay sidebar.team.black fz.module.scoreboard.display.kill_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 1 run scoreboard objectives setdisplay sidebar.team.dark_blue fz.module.scoreboard.display.kill_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 2 run scoreboard objectives setdisplay sidebar.team.dark_green fz.module.scoreboard.display.kill_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 3 run scoreboard objectives setdisplay sidebar.team.dark_aqua fz.module.scoreboard.display.kill_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 4 run scoreboard objectives setdisplay sidebar.team.dark_red fz.module.scoreboard.display.kill_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 5 run scoreboard objectives setdisplay sidebar.team.dark_purple fz.module.scoreboard.display.kill_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 6 run scoreboard objectives setdisplay sidebar.team.gold fz.module.scoreboard.display.kill_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 7 run scoreboard objectives setdisplay sidebar.team.gray fz.module.scoreboard.display.kill_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 8 run scoreboard objectives setdisplay sidebar.team.dark_gray fz.module.scoreboard.display.kill_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 9 run scoreboard objectives setdisplay sidebar.team.blue fz.module.scoreboard.display.kill_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 10 run scoreboard objectives setdisplay sidebar.team.green fz.module.scoreboard.display.kill_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 11 run scoreboard objectives setdisplay sidebar.team.aqua fz.module.scoreboard.display.kill_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 12 run scoreboard objectives setdisplay sidebar.team.red fz.module.scoreboard.display.kill_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 13 run scoreboard objectives setdisplay sidebar.team.light_purple fz.module.scoreboard.display.kill_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 14 run scoreboard objectives setdisplay sidebar.team.yellow fz.module.scoreboard.display.kill_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 15 run scoreboard objectives setdisplay sidebar.team.white fz.module.scoreboard.display.kill_count - -## 详细 -execute if score fz.logger.level fz.variable.integer matches ..300 run tellraw @a [{"nbt": "fz.level.fine", "interpret": true, "storage": "fz:logger"}, {"text": "已为队伍"}, {"nbt": "fz.scoreboard.text.carousel", "interpret": true, "storage": "fz:module"}, {"text": "显示"}, {"nbt": "fz.scoreboard.text.kill_count", "interpret": true, "storage": "fz:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/carousel/set_display/placement_count.mcfunction b/data/fz/functions/module/scoreboard/display/carousel/set_display/placement_count.mcfunction deleted file mode 100644 index ab84018..0000000 --- a/data/fz/functions/module/scoreboard/display/carousel/set_display/placement_count.mcfunction +++ /dev/null @@ -1,22 +0,0 @@ -# 调用者:fz:module/scoreboard/carousel/try_display/~ - -## 判断颜色代码,见:https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81 -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 0 run scoreboard objectives setdisplay sidebar.team.black fz.module.scoreboard.display.placement_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 1 run scoreboard objectives setdisplay sidebar.team.dark_blue fz.module.scoreboard.display.placement_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 2 run scoreboard objectives setdisplay sidebar.team.dark_green fz.module.scoreboard.display.placement_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 3 run scoreboard objectives setdisplay sidebar.team.dark_aqua fz.module.scoreboard.display.placement_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 4 run scoreboard objectives setdisplay sidebar.team.dark_red fz.module.scoreboard.display.placement_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 5 run scoreboard objectives setdisplay sidebar.team.dark_purple fz.module.scoreboard.display.placement_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 6 run scoreboard objectives setdisplay sidebar.team.gold fz.module.scoreboard.display.placement_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 7 run scoreboard objectives setdisplay sidebar.team.gray fz.module.scoreboard.display.placement_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 8 run scoreboard objectives setdisplay sidebar.team.dark_gray fz.module.scoreboard.display.placement_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 9 run scoreboard objectives setdisplay sidebar.team.blue fz.module.scoreboard.display.placement_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 10 run scoreboard objectives setdisplay sidebar.team.green fz.module.scoreboard.display.placement_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 11 run scoreboard objectives setdisplay sidebar.team.aqua fz.module.scoreboard.display.placement_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 12 run scoreboard objectives setdisplay sidebar.team.red fz.module.scoreboard.display.placement_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 13 run scoreboard objectives setdisplay sidebar.team.light_purple fz.module.scoreboard.display.placement_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 14 run scoreboard objectives setdisplay sidebar.team.yellow fz.module.scoreboard.display.placement_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 15 run scoreboard objectives setdisplay sidebar.team.white fz.module.scoreboard.display.placement_count - -## 详细 -execute if score fz.logger.level fz.variable.integer matches ..300 run tellraw @a [{"nbt": "fz.level.fine", "interpret": true, "storage": "fz:logger"}, {"text": "已为队伍"}, {"nbt": "fz.scoreboard.text.carousel", "interpret": true, "storage": "fz:module"}, {"text": "显示"}, {"nbt": "fz.scoreboard.text.placement_count", "interpret": true, "storage": "fz:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/carousel/set_display/trade_count.mcfunction b/data/fz/functions/module/scoreboard/display/carousel/set_display/trade_count.mcfunction deleted file mode 100644 index 6386a6b..0000000 --- a/data/fz/functions/module/scoreboard/display/carousel/set_display/trade_count.mcfunction +++ /dev/null @@ -1,22 +0,0 @@ -# 调用者:fz:module/scoreboard/carousel/try_display/~ - -## 判断颜色代码,见:https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81 -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 0 run scoreboard objectives setdisplay sidebar.team.black fz.module.scoreboard.display.trade_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 1 run scoreboard objectives setdisplay sidebar.team.dark_blue fz.module.scoreboard.display.trade_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 2 run scoreboard objectives setdisplay sidebar.team.dark_green fz.module.scoreboard.display.trade_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 3 run scoreboard objectives setdisplay sidebar.team.dark_aqua fz.module.scoreboard.display.trade_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 4 run scoreboard objectives setdisplay sidebar.team.dark_red fz.module.scoreboard.display.trade_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 5 run scoreboard objectives setdisplay sidebar.team.dark_purple fz.module.scoreboard.display.trade_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 6 run scoreboard objectives setdisplay sidebar.team.gold fz.module.scoreboard.display.trade_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 7 run scoreboard objectives setdisplay sidebar.team.gray fz.module.scoreboard.display.trade_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 8 run scoreboard objectives setdisplay sidebar.team.dark_gray fz.module.scoreboard.display.trade_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 9 run scoreboard objectives setdisplay sidebar.team.blue fz.module.scoreboard.display.trade_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 10 run scoreboard objectives setdisplay sidebar.team.green fz.module.scoreboard.display.trade_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 11 run scoreboard objectives setdisplay sidebar.team.aqua fz.module.scoreboard.display.trade_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 12 run scoreboard objectives setdisplay sidebar.team.red fz.module.scoreboard.display.trade_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 13 run scoreboard objectives setdisplay sidebar.team.light_purple fz.module.scoreboard.display.trade_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 14 run scoreboard objectives setdisplay sidebar.team.yellow fz.module.scoreboard.display.trade_count -execute if score fz.module.scoreboard.carousel.color fz.variable.integer matches 15 run scoreboard objectives setdisplay sidebar.team.white fz.module.scoreboard.display.trade_count - -## 详细 -execute if score fz.logger.level fz.variable.integer matches ..300 run tellraw @a [{"nbt": "fz.level.fine", "interpret": true, "storage": "fz:logger"}, {"text": "已为队伍"}, {"nbt": "fz.scoreboard.text.carousel", "interpret": true, "storage": "fz:module"}, {"text": "显示"}, {"nbt": "fz.scoreboard.text.trade_count", "interpret": true, "storage": "fz:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/carousel/try_display/activation.mcfunction b/data/fz/functions/module/scoreboard/display/carousel/try_display/activation.mcfunction deleted file mode 100644 index 4eb94dd..0000000 --- a/data/fz/functions/module/scoreboard/display/carousel/try_display/activation.mcfunction +++ /dev/null @@ -1 +0,0 @@ -execute if score fz.module.scoreboard.display.current_id fz.variable.integer = fz.module.scoreboard.display.id.activation fz.variable.integer run function fz:module/scoreboard/display/carousel/set_display/activation \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/carousel/try_display/aviating_distance.mcfunction b/data/fz/functions/module/scoreboard/display/carousel/try_display/aviating_distance.mcfunction deleted file mode 100644 index 5bb2d31..0000000 --- a/data/fz/functions/module/scoreboard/display/carousel/try_display/aviating_distance.mcfunction +++ /dev/null @@ -1 +0,0 @@ -execute if score fz.module.scoreboard.display.current_id fz.variable.integer = fz.module.scoreboard.display.id.aviating_distance fz.variable.integer run function fz:module/scoreboard/display/carousel/set_display/aviating_distance \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/carousel/try_display/damage_taken.mcfunction b/data/fz/functions/module/scoreboard/display/carousel/try_display/damage_taken.mcfunction deleted file mode 100644 index c72d90f..0000000 --- a/data/fz/functions/module/scoreboard/display/carousel/try_display/damage_taken.mcfunction +++ /dev/null @@ -1 +0,0 @@ -execute if score fz.module.scoreboard.display.current_id fz.variable.integer = fz.module.scoreboard.display.id.damage_taken fz.variable.integer run function fz:module/scoreboard/display/carousel/set_display/damage_taken \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/carousel/try_display/death_count.mcfunction b/data/fz/functions/module/scoreboard/display/carousel/try_display/death_count.mcfunction deleted file mode 100644 index 32b810d..0000000 --- a/data/fz/functions/module/scoreboard/display/carousel/try_display/death_count.mcfunction +++ /dev/null @@ -1 +0,0 @@ -execute if score fz.module.scoreboard.display.current_id fz.variable.integer = fz.module.scoreboard.display.id.death_count fz.variable.integer run function fz:module/scoreboard/display/carousel/set_display/death_count \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/carousel/try_display/dig_count.mcfunction b/data/fz/functions/module/scoreboard/display/carousel/try_display/dig_count.mcfunction deleted file mode 100644 index 025d1d8..0000000 --- a/data/fz/functions/module/scoreboard/display/carousel/try_display/dig_count.mcfunction +++ /dev/null @@ -1 +0,0 @@ -execute if score fz.module.scoreboard.display.current_id fz.variable.integer = fz.module.scoreboard.display.id.dig_count fz.variable.integer run function fz:module/scoreboard/display/carousel/set_display/dig_count \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/carousel/try_display/fishing_count.mcfunction b/data/fz/functions/module/scoreboard/display/carousel/try_display/fishing_count.mcfunction deleted file mode 100644 index 221fc1e..0000000 --- a/data/fz/functions/module/scoreboard/display/carousel/try_display/fishing_count.mcfunction +++ /dev/null @@ -1 +0,0 @@ -execute if score fz.module.scoreboard.display.current_id fz.variable.integer = fz.module.scoreboard.display.id.fishing_count fz.variable.integer run function fz:module/scoreboard/display/carousel/set_display/fishing_count \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/carousel/try_display/general.mcfunction b/data/fz/functions/module/scoreboard/display/carousel/try_display/general.mcfunction deleted file mode 100644 index 979c511..0000000 --- a/data/fz/functions/module/scoreboard/display/carousel/try_display/general.mcfunction +++ /dev/null @@ -1 +0,0 @@ -execute if score fz.module.scoreboard.display.current_id fz.variable.integer = fz.module.scoreboard.display.id.general fz.variable.integer run function fz:module/scoreboard/display/carousel/set_display/general \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/carousel/try_display/kill_count.mcfunction b/data/fz/functions/module/scoreboard/display/carousel/try_display/kill_count.mcfunction deleted file mode 100644 index c16769c..0000000 --- a/data/fz/functions/module/scoreboard/display/carousel/try_display/kill_count.mcfunction +++ /dev/null @@ -1 +0,0 @@ -execute if score fz.module.scoreboard.display.current_id fz.variable.integer = fz.module.scoreboard.display.id.kill_count fz.variable.integer run function fz:module/scoreboard/display/carousel/set_display/kill_count \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/carousel/try_display/placement_count.mcfunction b/data/fz/functions/module/scoreboard/display/carousel/try_display/placement_count.mcfunction deleted file mode 100644 index ec5f923..0000000 --- a/data/fz/functions/module/scoreboard/display/carousel/try_display/placement_count.mcfunction +++ /dev/null @@ -1 +0,0 @@ -execute if score fz.module.scoreboard.display.current_id fz.variable.integer = fz.module.scoreboard.display.id.placement_count fz.variable.integer run function fz:module/scoreboard/display/carousel/set_display/placement_count \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/carousel/try_display/trade_count.mcfunction b/data/fz/functions/module/scoreboard/display/carousel/try_display/trade_count.mcfunction deleted file mode 100644 index ad4e86b..0000000 --- a/data/fz/functions/module/scoreboard/display/carousel/try_display/trade_count.mcfunction +++ /dev/null @@ -1 +0,0 @@ -execute if score fz.module.scoreboard.display.current_id fz.variable.integer = fz.module.scoreboard.display.id.trade_count fz.variable.integer run function fz:module/scoreboard/display/carousel/set_display/trade_count \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/highest_id_add_1.mcfunction b/data/fz/functions/module/scoreboard/display/highest_id_add_1.mcfunction deleted file mode 100644 index 4b63708..0000000 --- a/data/fz/functions/module/scoreboard/display/highest_id_add_1.mcfunction +++ /dev/null @@ -1 +0,0 @@ -scoreboard players add fz.module.scoreboard.display.highest_id fz.variable.integer 1 \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/register_id.mcfunction b/data/fz/functions/module/scoreboard/display/register_id.mcfunction deleted file mode 100644 index 9e368e2..0000000 --- a/data/fz/functions/module/scoreboard/display/register_id.mcfunction +++ /dev/null @@ -1,39 +0,0 @@ -#### 注册活跃度计分板id -function #fz:calculation/highest_id_add_1 -scoreboard players operation fz.module.scoreboard.display.id.activation fz.variable.integer = fz.module.scoreboard.display.highest_id fz.variable.integer - -#### 注册飞行距离计分板id -function #fz:calculation/highest_id_add_1 -scoreboard players operation fz.module.scoreboard.display.id.aviating_distance fz.variable.integer = fz.module.scoreboard.display.highest_id fz.variable.integer - -#### 注册抖M榜计分板id -function #fz:calculation/highest_id_add_1 -scoreboard players operation fz.module.scoreboard.display.id.damage_taken fz.variable.integer = fz.module.scoreboard.display.highest_id fz.variable.integer - -#### 注册死亡榜计分板id -function #fz:calculation/highest_id_add_1 -scoreboard players operation fz.module.scoreboard.display.id.death_count fz.variable.integer = fz.module.scoreboard.display.highest_id fz.variable.integer - -#### 注册挖掘榜计分板id -function #fz:calculation/highest_id_add_1 -scoreboard players operation fz.module.scoreboard.display.id.dig_count fz.variable.integer = fz.module.scoreboard.display.highest_id fz.variable.integer - -#### 注册钓鱼榜计分板id -function #fz:calculation/highest_id_add_1 -scoreboard players operation fz.module.scoreboard.display.id.fishing_count fz.variable.integer = fz.module.scoreboard.display.highest_id fz.variable.integer - -#### 注册总榜计分板id -function #fz:calculation/highest_id_add_1 -scoreboard players operation fz.module.scoreboard.display.id.general fz.variable.integer = fz.module.scoreboard.display.highest_id fz.variable.integer - -#### 注册击杀榜计分板id -function #fz:calculation/highest_id_add_1 -scoreboard players operation fz.module.scoreboard.display.id.kill_count fz.variable.integer = fz.module.scoreboard.display.highest_id fz.variable.integer - -#### 注册交易榜计分板id -function #fz:calculation/highest_id_add_1 -scoreboard players operation fz.module.scoreboard.display.id.trade_count fz.variable.integer = fz.module.scoreboard.display.highest_id fz.variable.integer - -#### 注册放置榜计分板id -function #fz:calculation/highest_id_add_1 -scoreboard players operation fz.module.scoreboard.display.id.placement_count fz.variable.integer = fz.module.scoreboard.display.highest_id fz.variable.integer \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/reset_id.mcfunction b/data/fz/functions/module/scoreboard/display/reset_id.mcfunction deleted file mode 100644 index 12c0382..0000000 --- a/data/fz/functions/module/scoreboard/display/reset_id.mcfunction +++ /dev/null @@ -1,4 +0,0 @@ -## 重置计分板最大id计数 -scoreboard players set fz.module.scoreboard.display.highest_id fz.variable.integer -1 -### 重置轮播计分板ID -scoreboard players set fz.module.scoreboard.display.current_id fz.variable.integer 0 \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/activation/aqua.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/activation/aqua.mcfunction deleted file mode 100644 index 162524b..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/activation/aqua.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/activation - -data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "aqua"}' -scoreboard objectives setdisplay sidebar.team.aqua fz.module.scoreboard.display.activation -scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "aqua"} -team modify fz.module.scoreboard.display.activation color aqua -team modify fz.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "aqua"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/activation/black.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/activation/black.mcfunction deleted file mode 100644 index 895b73c..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/activation/black.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/activation - -data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "black"}' -scoreboard objectives setdisplay sidebar.team.black fz.module.scoreboard.display.activation -scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "black"} -team modify fz.module.scoreboard.display.activation color black -team modify fz.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "black"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/activation/blue.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/activation/blue.mcfunction deleted file mode 100644 index e3cf232..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/activation/blue.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/activation - -data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "blue"}' -scoreboard objectives setdisplay sidebar.team.blue fz.module.scoreboard.display.activation -scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "blue"} -team modify fz.module.scoreboard.display.activation color blue -team modify fz.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "blue"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/activation/dark_aqua.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/activation/dark_aqua.mcfunction deleted file mode 100644 index f834939..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/activation/dark_aqua.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/activation - -data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "dark_aqua"}' -scoreboard objectives setdisplay sidebar.team.dark_aqua fz.module.scoreboard.display.activation -scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "dark_aqua"} -team modify fz.module.scoreboard.display.activation color dark_aqua -team modify fz.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "dark_aqua"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/activation/dark_blue.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/activation/dark_blue.mcfunction deleted file mode 100644 index b34c5e3..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/activation/dark_blue.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/activation - -data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "dark_blue"}' -scoreboard objectives setdisplay sidebar.team.dark_blue fz.module.scoreboard.display.activation -scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "dark_blue"} -team modify fz.module.scoreboard.display.activation color dark_blue -team modify fz.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "dark_blue"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/activation/dark_gray.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/activation/dark_gray.mcfunction deleted file mode 100644 index bd4ef2a..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/activation/dark_gray.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/activation - -data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "dark_gray"}' -scoreboard objectives setdisplay sidebar.team.dark_gray fz.module.scoreboard.display.activation -scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "dark_gray"} -team modify fz.module.scoreboard.display.activation color dark_gray -team modify fz.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "dark_gray"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/activation/dark_green.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/activation/dark_green.mcfunction deleted file mode 100644 index 35f1de8..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/activation/dark_green.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/activation - -data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "dark_green"}' -scoreboard objectives setdisplay sidebar.team.dark_green fz.module.scoreboard.display.activation -scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "dark_green"} -team modify fz.module.scoreboard.display.activation color dark_green -team modify fz.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "dark_green"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/activation/dark_purple.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/activation/dark_purple.mcfunction deleted file mode 100644 index 279f6f8..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/activation/dark_purple.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/activation - -data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "dark_purple"}' -scoreboard objectives setdisplay sidebar.team.dark_purple fz.module.scoreboard.display.activation -scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "dark_purple"} -team modify fz.module.scoreboard.display.activation color dark_purple -team modify fz.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "dark_purple"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/activation/dark_red.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/activation/dark_red.mcfunction deleted file mode 100644 index 50b4f75..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/activation/dark_red.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/activation - -data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "dark_red"}' -scoreboard objectives setdisplay sidebar.team.dark_red fz.module.scoreboard.display.activation -scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "dark_red"} -team modify fz.module.scoreboard.display.activation color dark_red -team modify fz.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "dark_red"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/activation/gold.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/activation/gold.mcfunction deleted file mode 100644 index 6c846fe..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/activation/gold.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/activation - -data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "gold"}' -scoreboard objectives setdisplay sidebar.team.gold fz.module.scoreboard.display.activation -scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "gold"} -team modify fz.module.scoreboard.display.activation color gold -team modify fz.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "gold"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/activation/gray.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/activation/gray.mcfunction deleted file mode 100644 index c48a57c..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/activation/gray.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/activation - -data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "gray"}' -scoreboard objectives setdisplay sidebar.team.gray fz.module.scoreboard.display.activation -scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "gray"} -team modify fz.module.scoreboard.display.activation color gray -team modify fz.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "gray"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/activation/green.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/activation/green.mcfunction deleted file mode 100644 index 15d86b4..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/activation/green.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/activation - -data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "green"}' -scoreboard objectives setdisplay sidebar.team.green fz.module.scoreboard.display.activation -scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "green"} -team modify fz.module.scoreboard.display.activation color green -team modify fz.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "green"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/activation/light_purple.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/activation/light_purple.mcfunction deleted file mode 100644 index e19c0ae..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/activation/light_purple.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/activation - -data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "light_purple"}' -scoreboard objectives setdisplay sidebar.team.light_purple fz.module.scoreboard.display.activation -scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "light_purple"} -team modify fz.module.scoreboard.display.activation color light_purple -team modify fz.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "light_purple"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/activation/red.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/activation/red.mcfunction deleted file mode 100644 index dd30bb0..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/activation/red.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/activation - -data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "red"}' -scoreboard objectives setdisplay sidebar.team.red fz.module.scoreboard.display.activation -scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "red"} -team modify fz.module.scoreboard.display.activation color red -team modify fz.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "red"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/activation/white.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/activation/white.mcfunction deleted file mode 100644 index a2c448d..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/activation/white.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/activation - -data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "white"}' -scoreboard objectives setdisplay sidebar.team.white fz.module.scoreboard.display.activation -scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "white"} -team modify fz.module.scoreboard.display.activation color white -team modify fz.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "white"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/activation/yellow.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/activation/yellow.mcfunction deleted file mode 100644 index 6c6e95f..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/activation/yellow.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/activation - -data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "yellow"}' -scoreboard objectives setdisplay sidebar.team.yellow fz.module.scoreboard.display.activation -scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "yellow"} -team modify fz.module.scoreboard.display.activation color yellow -team modify fz.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "yellow"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/aqua.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/aqua.mcfunction deleted file mode 100644 index 551fe11..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/aqua.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/aviating_distance - -data modify storage fz:module fz.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "aqua"}' -scoreboard objectives setdisplay sidebar.team.aqua fz.module.scoreboard.display.aviating_distance -scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "aqua"} -team modify fz.module.scoreboard.display.aviating_distance color aqua -team modify fz.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "aqua"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/black.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/black.mcfunction deleted file mode 100644 index 3be3986..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/black.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/aviating_distance - -data modify storage fz:module fz.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "black"}' -scoreboard objectives setdisplay sidebar.team.black fz.module.scoreboard.display.aviating_distance -scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "black"} -team modify fz.module.scoreboard.display.aviating_distance color black -team modify fz.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "black"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/blue.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/blue.mcfunction deleted file mode 100644 index 93ddf30..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/blue.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/aviating_distance - -data modify storage fz:module fz.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "blue"}' -scoreboard objectives setdisplay sidebar.team.blue fz.module.scoreboard.display.aviating_distance -scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "blue"} -team modify fz.module.scoreboard.display.aviating_distance color blue -team modify fz.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "blue"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/dark_aqua.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/dark_aqua.mcfunction deleted file mode 100644 index 3e94620..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/dark_aqua.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/aviating_distance - -data modify storage fz:module fz.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "dark_aqua"}' -scoreboard objectives setdisplay sidebar.team.dark_aqua fz.module.scoreboard.display.aviating_distance -scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "dark_aqua"} -team modify fz.module.scoreboard.display.aviating_distance color dark_aqua -team modify fz.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "dark_aqua"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/dark_blue.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/dark_blue.mcfunction deleted file mode 100644 index 91b8f6f..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/dark_blue.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/aviating_distance - -data modify storage fz:module fz.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "dark_blue"}' -scoreboard objectives setdisplay sidebar.team.dark_blue fz.module.scoreboard.display.aviating_distance -scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "dark_blue"} -team modify fz.module.scoreboard.display.aviating_distance color dark_blue -team modify fz.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "dark_blue"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/dark_gray.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/dark_gray.mcfunction deleted file mode 100644 index 550d2a0..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/dark_gray.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/aviating_distance - -data modify storage fz:module fz.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "dark_gray"}' -scoreboard objectives setdisplay sidebar.team.dark_gray fz.module.scoreboard.display.aviating_distance -scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "dark_gray"} -team modify fz.module.scoreboard.display.aviating_distance color dark_gray -team modify fz.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "dark_gray"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/dark_green.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/dark_green.mcfunction deleted file mode 100644 index e1a9f7e..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/dark_green.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/aviating_distance - -data modify storage fz:module fz.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "dark_green"}' -scoreboard objectives setdisplay sidebar.team.dark_green fz.module.scoreboard.display.aviating_distance -scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "dark_green"} -team modify fz.module.scoreboard.display.aviating_distance color dark_green -team modify fz.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "dark_green"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/dark_purple.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/dark_purple.mcfunction deleted file mode 100644 index 3f2b570..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/dark_purple.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/aviating_distance - -data modify storage fz:module fz.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "dark_purple"}' -scoreboard objectives setdisplay sidebar.team.dark_purple fz.module.scoreboard.display.aviating_distance -scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "dark_purple"} -team modify fz.module.scoreboard.display.aviating_distance color dark_purple -team modify fz.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "dark_purple"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/dark_red.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/dark_red.mcfunction deleted file mode 100644 index 773a49f..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/dark_red.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/aviating_distance - -data modify storage fz:module fz.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "dark_red"}' -scoreboard objectives setdisplay sidebar.team.dark_red fz.module.scoreboard.display.aviating_distance -scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "dark_red"} -team modify fz.module.scoreboard.display.aviating_distance color dark_red -team modify fz.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "dark_red"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/gold.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/gold.mcfunction deleted file mode 100644 index d35be01..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/gold.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/aviating_distance - -data modify storage fz:module fz.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "gold"}' -scoreboard objectives setdisplay sidebar.team.gold fz.module.scoreboard.display.aviating_distance -scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "gold"} -team modify fz.module.scoreboard.display.aviating_distance color gold -team modify fz.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "gold"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/gray.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/gray.mcfunction deleted file mode 100644 index 2589e74..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/gray.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/aviating_distance - -data modify storage fz:module fz.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "gray"}' -scoreboard objectives setdisplay sidebar.team.gray fz.module.scoreboard.display.aviating_distance -scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "gray"} -team modify fz.module.scoreboard.display.aviating_distance color gray -team modify fz.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "gray"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/green.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/green.mcfunction deleted file mode 100644 index 2f6791c..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/green.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/aviating_distance - -data modify storage fz:module fz.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "green"}' -scoreboard objectives setdisplay sidebar.team.green fz.module.scoreboard.display.aviating_distance -scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "green"} -team modify fz.module.scoreboard.display.aviating_distance color green -team modify fz.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "green"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/light_purple.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/light_purple.mcfunction deleted file mode 100644 index 403e44d..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/light_purple.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/aviating_distance - -data modify storage fz:module fz.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "light_purple"}' -scoreboard objectives setdisplay sidebar.team.light_purple fz.module.scoreboard.display.aviating_distance -scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "light_purple"} -team modify fz.module.scoreboard.display.aviating_distance color light_purple -team modify fz.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "light_purple"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/red.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/red.mcfunction deleted file mode 100644 index 8c1e939..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/red.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/aviating_distance - -data modify storage fz:module fz.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "red"}' -scoreboard objectives setdisplay sidebar.team.red fz.module.scoreboard.display.aviating_distance -scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "red"} -team modify fz.module.scoreboard.display.aviating_distance color red -team modify fz.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "red"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/white.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/white.mcfunction deleted file mode 100644 index 3a7d40a..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/white.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/aviating_distance - -data modify storage fz:module fz.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "white"}' -scoreboard objectives setdisplay sidebar.team.white fz.module.scoreboard.display.aviating_distance -scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "white"} -team modify fz.module.scoreboard.display.aviating_distance color white -team modify fz.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "white"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/yellow.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/yellow.mcfunction deleted file mode 100644 index a70d80c..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/aviating_distance/yellow.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/aviating_distance - -data modify storage fz:module fz.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "yellow"}' -scoreboard objectives setdisplay sidebar.team.yellow fz.module.scoreboard.display.aviating_distance -scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "yellow"} -team modify fz.module.scoreboard.display.aviating_distance color yellow -team modify fz.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "yellow"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/carousel/aqua.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/carousel/aqua.mcfunction deleted file mode 100644 index c35fc0a..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/carousel/aqua.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/carousel - -data modify storage fz:module fz.scoreboard.text.carousel set value '{"text": "轮播", "color": "aqua"}' -team modify fz.module.scoreboard.display.carousel color aqua -team modify fz.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "aqua"} -scoreboard players set fz.module.scoreboard.carousel.color fz.variable.integer 11 \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/carousel/black.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/carousel/black.mcfunction deleted file mode 100644 index b26f43d..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/carousel/black.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/carousel - -data modify storage fz:module fz.scoreboard.text.carousel set value '{"text": "轮播", "color": "black"}' -team modify fz.module.scoreboard.display.carousel color black -team modify fz.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "black"} -scoreboard players set fz.module.scoreboard.carousel.color fz.variable.integer 0 \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/carousel/blue.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/carousel/blue.mcfunction deleted file mode 100644 index e589909..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/carousel/blue.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/carousel - -data modify storage fz:module fz.scoreboard.text.carousel set value '{"text": "轮播", "color": "blue"}' -team modify fz.module.scoreboard.display.carousel color blue -team modify fz.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "blue"} -scoreboard players set fz.module.scoreboard.carousel.color fz.variable.integer 9 \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/carousel/dark_aqua.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/carousel/dark_aqua.mcfunction deleted file mode 100644 index 87bc8ca..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/carousel/dark_aqua.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/carousel - -data modify storage fz:module fz.scoreboard.text.carousel set value '{"text": "轮播", "color": "dark_aqua"}' -team modify fz.module.scoreboard.display.carousel color dark_aqua -team modify fz.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "dark_aqua"} -scoreboard players set fz.module.scoreboard.carousel.color fz.variable.integer 3 \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/carousel/dark_blue.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/carousel/dark_blue.mcfunction deleted file mode 100644 index 8a960d9..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/carousel/dark_blue.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/carousel - -data modify storage fz:module fz.scoreboard.text.carousel set value '{"text": "轮播", "color": "dark_blue"}' -team modify fz.module.scoreboard.display.carousel color dark_blue -team modify fz.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "dark_blue"} -scoreboard players set fz.module.scoreboard.carousel.color fz.variable.integer 1 \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/carousel/dark_gray.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/carousel/dark_gray.mcfunction deleted file mode 100644 index 74769ef..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/carousel/dark_gray.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/carousel - -data modify storage fz:module fz.scoreboard.text.carousel set value '{"text": "轮播", "color": "dark_gray"}' -team modify fz.module.scoreboard.display.carousel color dark_gray -team modify fz.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "dark_gray"} -scoreboard players set fz.module.scoreboard.carousel.color fz.variable.integer 8 \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/carousel/dark_green.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/carousel/dark_green.mcfunction deleted file mode 100644 index ccb032b..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/carousel/dark_green.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/carousel - -data modify storage fz:module fz.scoreboard.text.carousel set value '{"text": "轮播", "color": "dark_green"}' -team modify fz.module.scoreboard.display.carousel color dark_green -team modify fz.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "dark_green"} -scoreboard players set fz.module.scoreboard.carousel.color fz.variable.integer 2 \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/carousel/dark_purple.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/carousel/dark_purple.mcfunction deleted file mode 100644 index 0ff229e..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/carousel/dark_purple.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/carousel - -data modify storage fz:module fz.scoreboard.text.carousel set value '{"text": "轮播", "color": "dark_purple"}' -team modify fz.module.scoreboard.display.carousel color dark_purple -team modify fz.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "dark_purple"} -scoreboard players set fz.module.scoreboard.carousel.color fz.variable.integer 5 \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/carousel/dark_red.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/carousel/dark_red.mcfunction deleted file mode 100644 index b8beed6..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/carousel/dark_red.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/carousel - -data modify storage fz:module fz.scoreboard.text.carousel set value '{"text": "轮播", "color": "dark_red"}' -team modify fz.module.scoreboard.display.carousel color dark_red -team modify fz.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "dark_red"} -scoreboard players set fz.module.scoreboard.carousel.color fz.variable.integer 4 \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/carousel/gold.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/carousel/gold.mcfunction deleted file mode 100644 index 4ebd468..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/carousel/gold.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/carousel - -data modify storage fz:module fz.scoreboard.text.carousel set value '{"text": "轮播", "color": "gold"}' -team modify fz.module.scoreboard.display.carousel color gold -team modify fz.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "gold"} -scoreboard players set fz.module.scoreboard.carousel.color fz.variable.integer 6 \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/carousel/gray.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/carousel/gray.mcfunction deleted file mode 100644 index ac4e3b2..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/carousel/gray.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/carousel - -data modify storage fz:module fz.scoreboard.text.carousel set value '{"text": "轮播", "color": "gray"}' -team modify fz.module.scoreboard.display.carousel color gray -team modify fz.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "gray"} -scoreboard players set fz.module.scoreboard.carousel.color fz.variable.integer 7 \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/carousel/green.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/carousel/green.mcfunction deleted file mode 100644 index 66796b1..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/carousel/green.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/carousel - -data modify storage fz:module fz.scoreboard.text.carousel set value '{"text": "轮播", "color": "green"}' -team modify fz.module.scoreboard.display.carousel color green -team modify fz.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "green"} -scoreboard players set fz.module.scoreboard.carousel.color fz.variable.integer 10 \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/carousel/light_purple.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/carousel/light_purple.mcfunction deleted file mode 100644 index 11a45a6..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/carousel/light_purple.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/carousel - -data modify storage fz:module fz.scoreboard.text.carousel set value '{"text": "轮播", "color": "light_purple"}' -team modify fz.module.scoreboard.display.carousel color light_purple -team modify fz.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "light_purple"} -scoreboard players set fz.module.scoreboard.carousel.color fz.variable.integer 13 \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/carousel/red.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/carousel/red.mcfunction deleted file mode 100644 index c0d64a0..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/carousel/red.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/carousel - -data modify storage fz:module fz.scoreboard.text.carousel set value '{"text": "轮播", "color": "red"}' -team modify fz.module.scoreboard.display.carousel color red -team modify fz.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "red"} -scoreboard players set fz.module.scoreboard.carousel.color fz.variable.integer 12 \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/carousel/white.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/carousel/white.mcfunction deleted file mode 100644 index 2300b13..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/carousel/white.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/carousel - -data modify storage fz:module fz.scoreboard.text.carousel set value '{"text": "轮播", "color": "white"}' -team modify fz.module.scoreboard.display.carousel color white -team modify fz.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "white"} -scoreboard players set fz.module.scoreboard.carousel.color fz.variable.integer 15 \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/carousel/yellow.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/carousel/yellow.mcfunction deleted file mode 100644 index 1138261..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/carousel/yellow.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/carousel - -data modify storage fz:module fz.scoreboard.text.carousel set value '{"text": "轮播", "color": "yellow"}' -team modify fz.module.scoreboard.display.carousel color yellow -team modify fz.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "yellow"} -scoreboard players set fz.module.scoreboard.carousel.color fz.variable.integer 14 \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/aqua.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/damage_taken/aqua.mcfunction deleted file mode 100644 index 75624bf..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/aqua.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/damage_taken - -data modify storage fz:module fz.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "aqua"}' -scoreboard objectives setdisplay sidebar.team.aqua fz.module.scoreboard.display.damage_taken -scoreboard objectives modify fz.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "aqua"} -team modify fz.module.scoreboard.display.damage_taken color aqua -team modify fz.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "aqua"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/black.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/damage_taken/black.mcfunction deleted file mode 100644 index d7e28a8..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/black.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/damage_taken - -data modify storage fz:module fz.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "black"}' -scoreboard objectives setdisplay sidebar.team.black fz.module.scoreboard.display.damage_taken -scoreboard objectives modify fz.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "black"} -team modify fz.module.scoreboard.display.damage_taken color black -team modify fz.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "black"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/blue.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/damage_taken/blue.mcfunction deleted file mode 100644 index 9179dab..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/blue.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/damage_taken - -data modify storage fz:module fz.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "blue"}' -scoreboard objectives setdisplay sidebar.team.blue fz.module.scoreboard.display.damage_taken -scoreboard objectives modify fz.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "blue"} -team modify fz.module.scoreboard.display.damage_taken color blue -team modify fz.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "blue"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/dark_aqua.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/damage_taken/dark_aqua.mcfunction deleted file mode 100644 index de59cb7..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/dark_aqua.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/damage_taken - -data modify storage fz:module fz.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "dark_aqua"}' -scoreboard objectives setdisplay sidebar.team.dark_aqua fz.module.scoreboard.display.damage_taken -scoreboard objectives modify fz.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "dark_aqua"} -team modify fz.module.scoreboard.display.damage_taken color dark_aqua -team modify fz.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "dark_aqua"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/dark_blue.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/damage_taken/dark_blue.mcfunction deleted file mode 100644 index aa3c483..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/dark_blue.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/damage_taken - -data modify storage fz:module fz.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "dark_blue"}' -scoreboard objectives setdisplay sidebar.team.dark_blue fz.module.scoreboard.display.damage_taken -scoreboard objectives modify fz.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "dark_blue"} -team modify fz.module.scoreboard.display.damage_taken color dark_blue -team modify fz.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "dark_blue"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/dark_gray.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/damage_taken/dark_gray.mcfunction deleted file mode 100644 index e2ccb5f..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/dark_gray.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/damage_taken - -data modify storage fz:module fz.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "dark_gray"}' -scoreboard objectives setdisplay sidebar.team.dark_gray fz.module.scoreboard.display.damage_taken -scoreboard objectives modify fz.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "dark_gray"} -team modify fz.module.scoreboard.display.damage_taken color dark_gray -team modify fz.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "dark_gray"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/dark_green.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/damage_taken/dark_green.mcfunction deleted file mode 100644 index 0106750..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/dark_green.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/damage_taken - -data modify storage fz:module fz.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "dark_green"}' -scoreboard objectives setdisplay sidebar.team.dark_green fz.module.scoreboard.display.damage_taken -scoreboard objectives modify fz.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "dark_green"} -team modify fz.module.scoreboard.display.damage_taken color dark_green -team modify fz.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "dark_green"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/dark_purple.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/damage_taken/dark_purple.mcfunction deleted file mode 100644 index 0319a54..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/dark_purple.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/damage_taken - -data modify storage fz:module fz.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "dark_purple"}' -scoreboard objectives setdisplay sidebar.team.dark_purple fz.module.scoreboard.display.damage_taken -scoreboard objectives modify fz.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "dark_purple"} -team modify fz.module.scoreboard.display.damage_taken color dark_purple -team modify fz.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "dark_purple"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/dark_red.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/damage_taken/dark_red.mcfunction deleted file mode 100644 index 910a74c..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/dark_red.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/damage_taken - -data modify storage fz:module fz.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "dark_red"}' -scoreboard objectives setdisplay sidebar.team.dark_red fz.module.scoreboard.display.damage_taken -scoreboard objectives modify fz.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "dark_red"} -team modify fz.module.scoreboard.display.damage_taken color dark_red -team modify fz.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "dark_red"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/gold.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/damage_taken/gold.mcfunction deleted file mode 100644 index 8ce4370..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/gold.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/damage_taken - -data modify storage fz:module fz.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "gold"}' -scoreboard objectives setdisplay sidebar.team.gold fz.module.scoreboard.display.damage_taken -scoreboard objectives modify fz.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "gold"} -team modify fz.module.scoreboard.display.damage_taken color gold -team modify fz.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "gold"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/gray.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/damage_taken/gray.mcfunction deleted file mode 100644 index 12bf8f9..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/gray.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/damage_taken - -data modify storage fz:module fz.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "gray"}' -scoreboard objectives setdisplay sidebar.team.gray fz.module.scoreboard.display.damage_taken -scoreboard objectives modify fz.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "gray"} -team modify fz.module.scoreboard.display.damage_taken color gray -team modify fz.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "gray"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/green.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/damage_taken/green.mcfunction deleted file mode 100644 index a832d55..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/green.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/damage_taken - -data modify storage fz:module fz.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "green"}' -scoreboard objectives setdisplay sidebar.team.green fz.module.scoreboard.display.damage_taken -scoreboard objectives modify fz.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "green"} -team modify fz.module.scoreboard.display.damage_taken color green -team modify fz.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "green"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/light_purple.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/damage_taken/light_purple.mcfunction deleted file mode 100644 index d0135f4..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/light_purple.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/damage_taken - -data modify storage fz:module fz.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "light_purple"}' -scoreboard objectives setdisplay sidebar.team.light_purple fz.module.scoreboard.display.damage_taken -scoreboard objectives modify fz.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "light_purple"} -team modify fz.module.scoreboard.display.damage_taken color light_purple -team modify fz.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "light_purple"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/red.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/damage_taken/red.mcfunction deleted file mode 100644 index 87ded86..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/red.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/damage_taken - -data modify storage fz:module fz.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "red"}' -scoreboard objectives setdisplay sidebar.team.red fz.module.scoreboard.display.damage_taken -scoreboard objectives modify fz.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "red"} -team modify fz.module.scoreboard.display.damage_taken color red -team modify fz.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "red"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/white.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/damage_taken/white.mcfunction deleted file mode 100644 index 7e2152d..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/white.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/damage_taken - -data modify storage fz:module fz.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "white"}' -scoreboard objectives setdisplay sidebar.team.white fz.module.scoreboard.display.damage_taken -scoreboard objectives modify fz.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "white"} -team modify fz.module.scoreboard.display.damage_taken color white -team modify fz.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "white"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/yellow.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/damage_taken/yellow.mcfunction deleted file mode 100644 index 8eac128..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/damage_taken/yellow.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/damage_taken - -data modify storage fz:module fz.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "yellow"}' -scoreboard objectives setdisplay sidebar.team.yellow fz.module.scoreboard.display.damage_taken -scoreboard objectives modify fz.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "yellow"} -team modify fz.module.scoreboard.display.damage_taken color yellow -team modify fz.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "yellow"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/death_count/aqua.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/death_count/aqua.mcfunction deleted file mode 100644 index ed703b1..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/death_count/aqua.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/death_count - -data modify storage fz:module fz.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "aqua"}' -scoreboard objectives setdisplay sidebar.team.aqua fz.module.scoreboard.display.death_count -scoreboard objectives modify fz.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "aqua"} -team modify fz.module.scoreboard.display.death_count color aqua -team modify fz.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "aqua"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/death_count/black.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/death_count/black.mcfunction deleted file mode 100644 index 8dda847..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/death_count/black.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/death_count - -data modify storage fz:module fz.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "black"}' -scoreboard objectives setdisplay sidebar.team.black fz.module.scoreboard.display.death_count -scoreboard objectives modify fz.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "black"} -team modify fz.module.scoreboard.display.death_count color black -team modify fz.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "black"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/death_count/blue.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/death_count/blue.mcfunction deleted file mode 100644 index f746072..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/death_count/blue.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/death_count - -data modify storage fz:module fz.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "blue"}' -scoreboard objectives setdisplay sidebar.team.blue fz.module.scoreboard.display.death_count -scoreboard objectives modify fz.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "blue"} -team modify fz.module.scoreboard.display.death_count color blue -team modify fz.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "blue"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/death_count/dark_aqua.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/death_count/dark_aqua.mcfunction deleted file mode 100644 index ae8e1c9..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/death_count/dark_aqua.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/death_count - -data modify storage fz:module fz.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "dark_aqua"}' -scoreboard objectives setdisplay sidebar.team.dark_aqua fz.module.scoreboard.display.death_count -scoreboard objectives modify fz.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "dark_aqua"} -team modify fz.module.scoreboard.display.death_count color dark_aqua -team modify fz.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "dark_aqua"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/death_count/dark_blue.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/death_count/dark_blue.mcfunction deleted file mode 100644 index 109e179..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/death_count/dark_blue.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/death_count - -data modify storage fz:module fz.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "dark_blue"}' -scoreboard objectives setdisplay sidebar.team.dark_blue fz.module.scoreboard.display.death_count -scoreboard objectives modify fz.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "dark_blue"} -team modify fz.module.scoreboard.display.death_count color dark_blue -team modify fz.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "dark_blue"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/death_count/dark_gray.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/death_count/dark_gray.mcfunction deleted file mode 100644 index 90ebf0b..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/death_count/dark_gray.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/death_count - -data modify storage fz:module fz.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "dark_gray"}' -scoreboard objectives setdisplay sidebar.team.dark_gray fz.module.scoreboard.display.death_count -scoreboard objectives modify fz.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "dark_gray"} -team modify fz.module.scoreboard.display.death_count color dark_gray -team modify fz.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "dark_gray"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/death_count/dark_green.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/death_count/dark_green.mcfunction deleted file mode 100644 index a924e19..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/death_count/dark_green.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/death_count - -data modify storage fz:module fz.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "dark_green"}' -scoreboard objectives setdisplay sidebar.team.dark_green fz.module.scoreboard.display.death_count -scoreboard objectives modify fz.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "dark_green"} -team modify fz.module.scoreboard.display.death_count color dark_green -team modify fz.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "dark_green"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/death_count/dark_purple.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/death_count/dark_purple.mcfunction deleted file mode 100644 index b4a6bfb..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/death_count/dark_purple.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/death_count - -data modify storage fz:module fz.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "dark_purple"}' -scoreboard objectives setdisplay sidebar.team.dark_purple fz.module.scoreboard.display.death_count -scoreboard objectives modify fz.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "dark_purple"} -team modify fz.module.scoreboard.display.death_count color dark_purple -team modify fz.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "dark_purple"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/death_count/dark_red.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/death_count/dark_red.mcfunction deleted file mode 100644 index ede1f38..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/death_count/dark_red.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/death_count - -data modify storage fz:module fz.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "dark_red"}' -scoreboard objectives setdisplay sidebar.team.dark_red fz.module.scoreboard.display.death_count -scoreboard objectives modify fz.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "dark_red"} -team modify fz.module.scoreboard.display.death_count color dark_red -team modify fz.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "dark_red"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/death_count/gold.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/death_count/gold.mcfunction deleted file mode 100644 index 03a5820..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/death_count/gold.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/death_count - -data modify storage fz:module fz.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "gold"}' -scoreboard objectives setdisplay sidebar.team.gold fz.module.scoreboard.display.death_count -scoreboard objectives modify fz.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "gold"} -team modify fz.module.scoreboard.display.death_count color gold -team modify fz.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "gold"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/death_count/gray.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/death_count/gray.mcfunction deleted file mode 100644 index 1012be5..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/death_count/gray.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/death_count - -data modify storage fz:module fz.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "gray"}' -scoreboard objectives setdisplay sidebar.team.gray fz.module.scoreboard.display.death_count -scoreboard objectives modify fz.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "gray"} -team modify fz.module.scoreboard.display.death_count color gray -team modify fz.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "gray"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/death_count/green.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/death_count/green.mcfunction deleted file mode 100644 index 1129dfe..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/death_count/green.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/death_count - -data modify storage fz:module fz.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "green"}' -scoreboard objectives setdisplay sidebar.team.green fz.module.scoreboard.display.death_count -scoreboard objectives modify fz.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "green"} -team modify fz.module.scoreboard.display.death_count color green -team modify fz.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "green"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/death_count/light_purple.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/death_count/light_purple.mcfunction deleted file mode 100644 index fb65af3..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/death_count/light_purple.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/death_count - -data modify storage fz:module fz.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "light_purple"}' -scoreboard objectives setdisplay sidebar.team.light_purple fz.module.scoreboard.display.death_count -scoreboard objectives modify fz.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "light_purple"} -team modify fz.module.scoreboard.display.death_count color light_purple -team modify fz.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "light_purple"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/death_count/red.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/death_count/red.mcfunction deleted file mode 100644 index 25f35da..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/death_count/red.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/death_count - -data modify storage fz:module fz.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "red"}' -scoreboard objectives setdisplay sidebar.team.red fz.module.scoreboard.display.death_count -scoreboard objectives modify fz.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "red"} -team modify fz.module.scoreboard.display.death_count color red -team modify fz.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "red"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/death_count/white.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/death_count/white.mcfunction deleted file mode 100644 index 9512254..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/death_count/white.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/death_count - -data modify storage fz:module fz.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "white"}' -scoreboard objectives setdisplay sidebar.team.white fz.module.scoreboard.display.death_count -scoreboard objectives modify fz.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "white"} -team modify fz.module.scoreboard.display.death_count color white -team modify fz.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "white"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/death_count/yellow.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/death_count/yellow.mcfunction deleted file mode 100644 index 83ab7e8..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/death_count/yellow.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/death_count - -data modify storage fz:module fz.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "yellow"}' -scoreboard objectives setdisplay sidebar.team.yellow fz.module.scoreboard.display.death_count -scoreboard objectives modify fz.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "yellow"} -team modify fz.module.scoreboard.display.death_count color yellow -team modify fz.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "yellow"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/dig_count/aqua.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/dig_count/aqua.mcfunction deleted file mode 100644 index 1470b83..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/dig_count/aqua.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/dig_count - -data modify storage fz:module fz.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "aqua"}' -scoreboard objectives setdisplay sidebar.team.aqua fz.module.scoreboard.display.dig_count -scoreboard objectives modify fz.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "aqua"} -team modify fz.module.scoreboard.display.dig_count color aqua -team modify fz.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "aqua"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/dig_count/black.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/dig_count/black.mcfunction deleted file mode 100644 index e90e523..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/dig_count/black.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/dig_count - -data modify storage fz:module fz.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "black"}' -scoreboard objectives setdisplay sidebar.team.black fz.module.scoreboard.display.dig_count -scoreboard objectives modify fz.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "black"} -team modify fz.module.scoreboard.display.dig_count color black -team modify fz.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "black"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/dig_count/blue.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/dig_count/blue.mcfunction deleted file mode 100644 index 8831a7c..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/dig_count/blue.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/dig_count - -data modify storage fz:module fz.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "blue"}' -scoreboard objectives setdisplay sidebar.team.blue fz.module.scoreboard.display.dig_count -scoreboard objectives modify fz.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "blue"} -team modify fz.module.scoreboard.display.dig_count color blue -team modify fz.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "blue"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/dig_count/dark_aqua.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/dig_count/dark_aqua.mcfunction deleted file mode 100644 index f4582e2..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/dig_count/dark_aqua.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/dig_count - -data modify storage fz:module fz.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "dark_aqua"}' -scoreboard objectives setdisplay sidebar.team.dark_aqua fz.module.scoreboard.display.dig_count -scoreboard objectives modify fz.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "dark_aqua"} -team modify fz.module.scoreboard.display.dig_count color dark_aqua -team modify fz.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "dark_aqua"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/dig_count/dark_blue.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/dig_count/dark_blue.mcfunction deleted file mode 100644 index a94db67..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/dig_count/dark_blue.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/dig_count - -data modify storage fz:module fz.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "dark_blue"}' -scoreboard objectives setdisplay sidebar.team.dark_blue fz.module.scoreboard.display.dig_count -scoreboard objectives modify fz.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "dark_blue"} -team modify fz.module.scoreboard.display.dig_count color dark_blue -team modify fz.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "dark_blue"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/dig_count/dark_gray.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/dig_count/dark_gray.mcfunction deleted file mode 100644 index e817851..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/dig_count/dark_gray.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/dig_count - -data modify storage fz:module fz.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "dark_gray"}' -scoreboard objectives setdisplay sidebar.team.dark_gray fz.module.scoreboard.display.dig_count -scoreboard objectives modify fz.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "dark_gray"} -team modify fz.module.scoreboard.display.dig_count color dark_gray -team modify fz.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "dark_gray"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/dig_count/dark_green.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/dig_count/dark_green.mcfunction deleted file mode 100644 index 88754a6..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/dig_count/dark_green.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/dig_count - -data modify storage fz:module fz.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "dark_green"}' -scoreboard objectives setdisplay sidebar.team.dark_green fz.module.scoreboard.display.dig_count -scoreboard objectives modify fz.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "dark_green"} -team modify fz.module.scoreboard.display.dig_count color dark_green -team modify fz.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "dark_green"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/dig_count/dark_purple.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/dig_count/dark_purple.mcfunction deleted file mode 100644 index 13451b4..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/dig_count/dark_purple.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/dig_count - -data modify storage fz:module fz.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "dark_purple"}' -scoreboard objectives setdisplay sidebar.team.dark_purple fz.module.scoreboard.display.dig_count -scoreboard objectives modify fz.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "dark_purple"} -team modify fz.module.scoreboard.display.dig_count color dark_purple -team modify fz.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "dark_purple"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/dig_count/dark_red.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/dig_count/dark_red.mcfunction deleted file mode 100644 index 033bfd0..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/dig_count/dark_red.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/dig_count - -data modify storage fz:module fz.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "dark_red"}' -scoreboard objectives setdisplay sidebar.team.dark_red fz.module.scoreboard.display.dig_count -scoreboard objectives modify fz.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "dark_red"} -team modify fz.module.scoreboard.display.dig_count color dark_red -team modify fz.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "dark_red"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/dig_count/gold.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/dig_count/gold.mcfunction deleted file mode 100644 index a0109cc..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/dig_count/gold.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/dig_count - -data modify storage fz:module fz.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "gold"}' -scoreboard objectives setdisplay sidebar.team.gold fz.module.scoreboard.display.dig_count -scoreboard objectives modify fz.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "gold"} -team modify fz.module.scoreboard.display.dig_count color gold -team modify fz.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "gold"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/dig_count/gray.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/dig_count/gray.mcfunction deleted file mode 100644 index cd86902..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/dig_count/gray.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/dig_count - -data modify storage fz:module fz.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "gray"}' -scoreboard objectives setdisplay sidebar.team.gray fz.module.scoreboard.display.dig_count -scoreboard objectives modify fz.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "gray"} -team modify fz.module.scoreboard.display.dig_count color gray -team modify fz.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "gray"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/dig_count/green.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/dig_count/green.mcfunction deleted file mode 100644 index c63e5a2..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/dig_count/green.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/dig_count - -data modify storage fz:module fz.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "green"}' -scoreboard objectives setdisplay sidebar.team.green fz.module.scoreboard.display.dig_count -scoreboard objectives modify fz.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "green"} -team modify fz.module.scoreboard.display.dig_count color green -team modify fz.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "green"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/dig_count/light_purple.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/dig_count/light_purple.mcfunction deleted file mode 100644 index 5995d83..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/dig_count/light_purple.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/dig_count - -data modify storage fz:module fz.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "light_purple"}' -scoreboard objectives setdisplay sidebar.team.light_purple fz.module.scoreboard.display.dig_count -scoreboard objectives modify fz.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "light_purple"} -team modify fz.module.scoreboard.display.dig_count color light_purple -team modify fz.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "light_purple"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/dig_count/red.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/dig_count/red.mcfunction deleted file mode 100644 index 5068b45..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/dig_count/red.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/dig_count - -data modify storage fz:module fz.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "red"}' -scoreboard objectives setdisplay sidebar.team.red fz.module.scoreboard.display.dig_count -scoreboard objectives modify fz.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "red"} -team modify fz.module.scoreboard.display.dig_count color red -team modify fz.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "red"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/dig_count/white.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/dig_count/white.mcfunction deleted file mode 100644 index d1f3f62..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/dig_count/white.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/dig_count - -data modify storage fz:module fz.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "white"}' -scoreboard objectives setdisplay sidebar.team.white fz.module.scoreboard.display.dig_count -scoreboard objectives modify fz.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "white"} -team modify fz.module.scoreboard.display.dig_count color white -team modify fz.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "white"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/dig_count/yellow.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/dig_count/yellow.mcfunction deleted file mode 100644 index 7d1424d..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/dig_count/yellow.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/dig_count - -data modify storage fz:module fz.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "yellow"}' -scoreboard objectives setdisplay sidebar.team.yellow fz.module.scoreboard.display.dig_count -scoreboard objectives modify fz.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "yellow"} -team modify fz.module.scoreboard.display.dig_count color yellow -team modify fz.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "yellow"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/aqua.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/fishing_count/aqua.mcfunction deleted file mode 100644 index d280d9d..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/aqua.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/fishing_count - -data modify storage fz:module fz.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "aqua"}' -scoreboard objectives setdisplay sidebar.team.aqua fz.module.scoreboard.display.fishing_count -scoreboard objectives modify fz.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "aqua"} -team modify fz.module.scoreboard.display.fishing_count color aqua -team modify fz.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "aqua"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/black.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/fishing_count/black.mcfunction deleted file mode 100644 index e99d735..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/black.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/fishing_count - -data modify storage fz:module fz.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "black"}' -scoreboard objectives setdisplay sidebar.team.black fz.module.scoreboard.display.fishing_count -scoreboard objectives modify fz.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "black"} -team modify fz.module.scoreboard.display.fishing_count color black -team modify fz.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "black"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/blue.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/fishing_count/blue.mcfunction deleted file mode 100644 index 10b49bd..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/blue.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/fishing_count - -data modify storage fz:module fz.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "blue"}' -scoreboard objectives setdisplay sidebar.team.blue fz.module.scoreboard.display.fishing_count -scoreboard objectives modify fz.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "blue"} -team modify fz.module.scoreboard.display.fishing_count color blue -team modify fz.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "blue"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/dark_aqua.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/fishing_count/dark_aqua.mcfunction deleted file mode 100644 index 3bec16f..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/dark_aqua.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/fishing_count - -data modify storage fz:module fz.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "dark_aqua"}' -scoreboard objectives setdisplay sidebar.team.dark_aqua fz.module.scoreboard.display.fishing_count -scoreboard objectives modify fz.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "dark_aqua"} -team modify fz.module.scoreboard.display.fishing_count color dark_aqua -team modify fz.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "dark_aqua"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/dark_blue.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/fishing_count/dark_blue.mcfunction deleted file mode 100644 index 2d1bfef..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/dark_blue.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/fishing_count - -data modify storage fz:module fz.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "dark_blue"}' -scoreboard objectives setdisplay sidebar.team.dark_blue fz.module.scoreboard.display.fishing_count -scoreboard objectives modify fz.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "dark_blue"} -team modify fz.module.scoreboard.display.fishing_count color dark_blue -team modify fz.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "dark_blue"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/dark_gray.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/fishing_count/dark_gray.mcfunction deleted file mode 100644 index fe979ff..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/dark_gray.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/fishing_count - -data modify storage fz:module fz.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "dark_gray"}' -scoreboard objectives setdisplay sidebar.team.dark_gray fz.module.scoreboard.display.fishing_count -scoreboard objectives modify fz.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "dark_gray"} -team modify fz.module.scoreboard.display.fishing_count color dark_gray -team modify fz.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "dark_gray"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/dark_green.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/fishing_count/dark_green.mcfunction deleted file mode 100644 index a3fcc8b..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/dark_green.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/fishing_count - -data modify storage fz:module fz.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "dark_green"}' -scoreboard objectives setdisplay sidebar.team.dark_green fz.module.scoreboard.display.fishing_count -scoreboard objectives modify fz.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "dark_green"} -team modify fz.module.scoreboard.display.fishing_count color dark_green -team modify fz.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "dark_green"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/dark_purple.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/fishing_count/dark_purple.mcfunction deleted file mode 100644 index 4abc526..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/dark_purple.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/fishing_count - -data modify storage fz:module fz.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "dark_purple"}' -scoreboard objectives setdisplay sidebar.team.dark_purple fz.module.scoreboard.display.fishing_count -scoreboard objectives modify fz.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "dark_purple"} -team modify fz.module.scoreboard.display.fishing_count color dark_purple -team modify fz.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "dark_purple"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/dark_red.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/fishing_count/dark_red.mcfunction deleted file mode 100644 index f649c7a..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/dark_red.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/fishing_count - -data modify storage fz:module fz.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "dark_red"}' -scoreboard objectives setdisplay sidebar.team.dark_red fz.module.scoreboard.display.fishing_count -scoreboard objectives modify fz.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "dark_red"} -team modify fz.module.scoreboard.display.fishing_count color dark_red -team modify fz.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "dark_red"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/gold.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/fishing_count/gold.mcfunction deleted file mode 100644 index d021616..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/gold.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/fishing_count - -data modify storage fz:module fz.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "gold"}' -scoreboard objectives setdisplay sidebar.team.gold fz.module.scoreboard.display.fishing_count -scoreboard objectives modify fz.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "gold"} -team modify fz.module.scoreboard.display.fishing_count color gold -team modify fz.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "gold"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/gray.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/fishing_count/gray.mcfunction deleted file mode 100644 index 639f061..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/gray.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/fishing_count - -data modify storage fz:module fz.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "gray"}' -scoreboard objectives setdisplay sidebar.team.gray fz.module.scoreboard.display.fishing_count -scoreboard objectives modify fz.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "gray"} -team modify fz.module.scoreboard.display.fishing_count color gray -team modify fz.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "gray"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/green.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/fishing_count/green.mcfunction deleted file mode 100644 index 1806c02..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/green.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/fishing_count - -data modify storage fz:module fz.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "green"}' -scoreboard objectives setdisplay sidebar.team.green fz.module.scoreboard.display.fishing_count -scoreboard objectives modify fz.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "green"} -team modify fz.module.scoreboard.display.fishing_count color green -team modify fz.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "green"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/light_purple.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/fishing_count/light_purple.mcfunction deleted file mode 100644 index cd3224d..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/light_purple.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/fishing_count - -data modify storage fz:module fz.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "light_purple"}' -scoreboard objectives setdisplay sidebar.team.light_purple fz.module.scoreboard.display.fishing_count -scoreboard objectives modify fz.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "light_purple"} -team modify fz.module.scoreboard.display.fishing_count color light_purple -team modify fz.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "light_purple"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/red.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/fishing_count/red.mcfunction deleted file mode 100644 index 2e12c95..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/red.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/fishing_count - -data modify storage fz:module fz.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "red"}' -scoreboard objectives setdisplay sidebar.team.red fz.module.scoreboard.display.fishing_count -scoreboard objectives modify fz.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "red"} -team modify fz.module.scoreboard.display.fishing_count color red -team modify fz.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "red"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/white.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/fishing_count/white.mcfunction deleted file mode 100644 index 5d370fb..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/white.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/fishing_count - -data modify storage fz:module fz.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "white"}' -scoreboard objectives setdisplay sidebar.team.white fz.module.scoreboard.display.fishing_count -scoreboard objectives modify fz.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "white"} -team modify fz.module.scoreboard.display.fishing_count color white -team modify fz.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "white"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/yellow.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/fishing_count/yellow.mcfunction deleted file mode 100644 index c34e778..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/fishing_count/yellow.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/fishing_count - -data modify storage fz:module fz.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "yellow"}' -scoreboard objectives setdisplay sidebar.team.yellow fz.module.scoreboard.display.fishing_count -scoreboard objectives modify fz.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "yellow"} -team modify fz.module.scoreboard.display.fishing_count color yellow -team modify fz.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "yellow"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/general/aqua.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/general/aqua.mcfunction deleted file mode 100644 index 65bce2f..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/general/aqua.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/general - -data modify storage fz:module fz.scoreboard.text.general set value '{"text": "总榜", "color": "aqua"}' -scoreboard objectives setdisplay sidebar.team.aqua fz.module.scoreboard.display.general -scoreboard objectives modify fz.module.scoreboard.display.general displayname {"text": "总榜", "color": "aqua"} -team modify fz.module.scoreboard.display.general color aqua -team modify fz.module.scoreboard.display.general displayName {"text": "总榜", "color": "aqua"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/general/black.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/general/black.mcfunction deleted file mode 100644 index 591411b..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/general/black.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/general - -data modify storage fz:module fz.scoreboard.text.general set value '{"text": "总榜", "color": "black"}' -scoreboard objectives setdisplay sidebar.team.black fz.module.scoreboard.display.general -scoreboard objectives modify fz.module.scoreboard.display.general displayname {"text": "总榜", "color": "black"} -team modify fz.module.scoreboard.display.general color black -team modify fz.module.scoreboard.display.general displayName {"text": "总榜", "color": "black"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/general/blue.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/general/blue.mcfunction deleted file mode 100644 index 50e6fd0..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/general/blue.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/general - -data modify storage fz:module fz.scoreboard.text.general set value '{"text": "总榜", "color": "blue"}' -scoreboard objectives setdisplay sidebar.team.blue fz.module.scoreboard.display.general -scoreboard objectives modify fz.module.scoreboard.display.general displayname {"text": "总榜", "color": "blue"} -team modify fz.module.scoreboard.display.general color blue -team modify fz.module.scoreboard.display.general displayName {"text": "总榜", "color": "blue"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/general/dark_aqua.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/general/dark_aqua.mcfunction deleted file mode 100644 index 41bb4be..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/general/dark_aqua.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/general - -data modify storage fz:module fz.scoreboard.text.general set value '{"text": "总榜", "color": "dark_aqua"}' -scoreboard objectives setdisplay sidebar.team.dark_aqua fz.module.scoreboard.display.general -scoreboard objectives modify fz.module.scoreboard.display.general displayname {"text": "总榜", "color": "dark_aqua"} -team modify fz.module.scoreboard.display.general color dark_aqua -team modify fz.module.scoreboard.display.general displayName {"text": "总榜", "color": "dark_aqua"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/general/dark_blue.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/general/dark_blue.mcfunction deleted file mode 100644 index 19f727c..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/general/dark_blue.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/general - -data modify storage fz:module fz.scoreboard.text.general set value '{"text": "总榜", "color": "dark_blue"}' -scoreboard objectives setdisplay sidebar.team.dark_blue fz.module.scoreboard.display.general -scoreboard objectives modify fz.module.scoreboard.display.general displayname {"text": "总榜", "color": "dark_blue"} -team modify fz.module.scoreboard.display.general color dark_blue -team modify fz.module.scoreboard.display.general displayName {"text": "总榜", "color": "dark_blue"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/general/dark_gray.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/general/dark_gray.mcfunction deleted file mode 100644 index 5c2303c..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/general/dark_gray.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/general - -data modify storage fz:module fz.scoreboard.text.general set value '{"text": "总榜", "color": "dark_gray"}' -scoreboard objectives setdisplay sidebar.team.dark_gray fz.module.scoreboard.display.general -scoreboard objectives modify fz.module.scoreboard.display.general displayname {"text": "总榜", "color": "dark_gray"} -team modify fz.module.scoreboard.display.general color dark_gray -team modify fz.module.scoreboard.display.general displayName {"text": "总榜", "color": "dark_gray"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/general/dark_green.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/general/dark_green.mcfunction deleted file mode 100644 index 7a71cee..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/general/dark_green.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/general - -data modify storage fz:module fz.scoreboard.text.general set value '{"text": "总榜", "color": "dark_green"}' -scoreboard objectives setdisplay sidebar.team.dark_green fz.module.scoreboard.display.general -scoreboard objectives modify fz.module.scoreboard.display.general displayname {"text": "总榜", "color": "dark_green"} -team modify fz.module.scoreboard.display.general color dark_green -team modify fz.module.scoreboard.display.general displayName {"text": "总榜", "color": "dark_green"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/general/dark_purple.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/general/dark_purple.mcfunction deleted file mode 100644 index 6c5d672..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/general/dark_purple.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/general - -data modify storage fz:module fz.scoreboard.text.general set value '{"text": "总榜", "color": "dark_purple"}' -scoreboard objectives setdisplay sidebar.team.dark_purple fz.module.scoreboard.display.general -scoreboard objectives modify fz.module.scoreboard.display.general displayname {"text": "总榜", "color": "dark_purple"} -team modify fz.module.scoreboard.display.general color dark_purple -team modify fz.module.scoreboard.display.general displayName {"text": "总榜", "color": "dark_purple"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/general/dark_red.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/general/dark_red.mcfunction deleted file mode 100644 index 10ec5e0..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/general/dark_red.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/general - -data modify storage fz:module fz.scoreboard.text.general set value '{"text": "总榜", "color": "dark_red"}' -scoreboard objectives setdisplay sidebar.team.dark_red fz.module.scoreboard.display.general -scoreboard objectives modify fz.module.scoreboard.display.general displayname {"text": "总榜", "color": "dark_red"} -team modify fz.module.scoreboard.display.general color dark_red -team modify fz.module.scoreboard.display.general displayName {"text": "总榜", "color": "dark_red"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/general/gold.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/general/gold.mcfunction deleted file mode 100644 index aebf0a8..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/general/gold.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/general - -data modify storage fz:module fz.scoreboard.text.general set value '{"text": "总榜", "color": "gold"}' -scoreboard objectives setdisplay sidebar.team.gold fz.module.scoreboard.display.general -scoreboard objectives modify fz.module.scoreboard.display.general displayname {"text": "总榜", "color": "gold"} -team modify fz.module.scoreboard.display.general color gold -team modify fz.module.scoreboard.display.general displayName {"text": "总榜", "color": "gold"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/general/gray.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/general/gray.mcfunction deleted file mode 100644 index ad007e6..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/general/gray.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/general - -data modify storage fz:module fz.scoreboard.text.general set value '{"text": "总榜", "color": "gray"}' -scoreboard objectives setdisplay sidebar.team.gray fz.module.scoreboard.display.general -scoreboard objectives modify fz.module.scoreboard.display.general displayname {"text": "总榜", "color": "gray"} -team modify fz.module.scoreboard.display.general color gray -team modify fz.module.scoreboard.display.general displayName {"text": "总榜", "color": "gray"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/general/green.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/general/green.mcfunction deleted file mode 100644 index 154fbb2..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/general/green.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/general - -data modify storage fz:module fz.scoreboard.text.general set value '{"text": "总榜", "color": "green"}' -scoreboard objectives setdisplay sidebar.team.green fz.module.scoreboard.display.general -scoreboard objectives modify fz.module.scoreboard.display.general displayname {"text": "总榜", "color": "green"} -team modify fz.module.scoreboard.display.general color green -team modify fz.module.scoreboard.display.general displayName {"text": "总榜", "color": "green"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/general/light_purple.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/general/light_purple.mcfunction deleted file mode 100644 index bcfe088..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/general/light_purple.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/general - -data modify storage fz:module fz.scoreboard.text.general set value '{"text": "总榜", "color": "light_purple"}' -scoreboard objectives setdisplay sidebar.team.light_purple fz.module.scoreboard.display.general -scoreboard objectives modify fz.module.scoreboard.display.general displayname {"text": "总榜", "color": "light_purple"} -team modify fz.module.scoreboard.display.general color light_purple -team modify fz.module.scoreboard.display.general displayName {"text": "总榜", "color": "light_purple"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/general/red.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/general/red.mcfunction deleted file mode 100644 index 9fd00af..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/general/red.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/general - -data modify storage fz:module fz.scoreboard.text.general set value '{"text": "总榜", "color": "red"}' -scoreboard objectives setdisplay sidebar.team.red fz.module.scoreboard.display.general -scoreboard objectives modify fz.module.scoreboard.display.general displayname {"text": "总榜", "color": "red"} -team modify fz.module.scoreboard.display.general color red -team modify fz.module.scoreboard.display.general displayName {"text": "总榜", "color": "red"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/general/white.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/general/white.mcfunction deleted file mode 100644 index 949424c..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/general/white.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/general - -data modify storage fz:module fz.scoreboard.text.general set value '{"text": "总榜", "color": "white"}' -scoreboard objectives setdisplay sidebar.team.white fz.module.scoreboard.display.general -scoreboard objectives modify fz.module.scoreboard.display.general displayname {"text": "总榜", "color": "white"} -team modify fz.module.scoreboard.display.general color white -team modify fz.module.scoreboard.display.general displayName {"text": "总榜", "color": "white"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/general/yellow.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/general/yellow.mcfunction deleted file mode 100644 index 4677298..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/general/yellow.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/general - -data modify storage fz:module fz.scoreboard.text.general set value '{"text": "总榜", "color": "yellow"}' -scoreboard objectives setdisplay sidebar.team.yellow fz.module.scoreboard.display.general -scoreboard objectives modify fz.module.scoreboard.display.general displayname {"text": "总榜", "color": "yellow"} -team modify fz.module.scoreboard.display.general color yellow -team modify fz.module.scoreboard.display.general displayName {"text": "总榜", "color": "yellow"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/kill_count/aqua.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/kill_count/aqua.mcfunction deleted file mode 100644 index 7b39a5e..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/kill_count/aqua.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/kill_count - -data modify storage fz:module fz.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "aqua"}' -scoreboard objectives setdisplay sidebar.team.aqua fz.module.scoreboard.display.kill_count -scoreboard objectives modify fz.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "aqua"} -team modify fz.module.scoreboard.display.kill_count color aqua -team modify fz.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "aqua"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/kill_count/black.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/kill_count/black.mcfunction deleted file mode 100644 index fa360ea..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/kill_count/black.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/kill_count - -data modify storage fz:module fz.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "black"}' -scoreboard objectives setdisplay sidebar.team.black fz.module.scoreboard.display.kill_count -scoreboard objectives modify fz.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "black"} -team modify fz.module.scoreboard.display.kill_count color black -team modify fz.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "black"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/kill_count/blue.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/kill_count/blue.mcfunction deleted file mode 100644 index 06a9654..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/kill_count/blue.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/kill_count - -data modify storage fz:module fz.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "blue"}' -scoreboard objectives setdisplay sidebar.team.blue fz.module.scoreboard.display.kill_count -scoreboard objectives modify fz.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "blue"} -team modify fz.module.scoreboard.display.kill_count color blue -team modify fz.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "blue"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/kill_count/dark_aqua.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/kill_count/dark_aqua.mcfunction deleted file mode 100644 index 60db40c..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/kill_count/dark_aqua.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/kill_count - -data modify storage fz:module fz.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "dark_aqua"}' -scoreboard objectives setdisplay sidebar.team.dark_aqua fz.module.scoreboard.display.kill_count -scoreboard objectives modify fz.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "dark_aqua"} -team modify fz.module.scoreboard.display.kill_count color dark_aqua -team modify fz.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "dark_aqua"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/kill_count/dark_blue.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/kill_count/dark_blue.mcfunction deleted file mode 100644 index 61d592b..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/kill_count/dark_blue.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/kill_count - -data modify storage fz:module fz.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "dark_blue"}' -scoreboard objectives setdisplay sidebar.team.dark_blue fz.module.scoreboard.display.kill_count -scoreboard objectives modify fz.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "dark_blue"} -team modify fz.module.scoreboard.display.kill_count color dark_blue -team modify fz.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "dark_blue"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/kill_count/dark_gray.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/kill_count/dark_gray.mcfunction deleted file mode 100644 index 9e4d780..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/kill_count/dark_gray.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/kill_count - -data modify storage fz:module fz.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "dark_gray"}' -scoreboard objectives setdisplay sidebar.team.dark_gray fz.module.scoreboard.display.kill_count -scoreboard objectives modify fz.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "dark_gray"} -team modify fz.module.scoreboard.display.kill_count color dark_gray -team modify fz.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "dark_gray"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/kill_count/dark_green.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/kill_count/dark_green.mcfunction deleted file mode 100644 index eeee147..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/kill_count/dark_green.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/kill_count - -data modify storage fz:module fz.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "dark_green"}' -scoreboard objectives setdisplay sidebar.team.dark_green fz.module.scoreboard.display.kill_count -scoreboard objectives modify fz.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "dark_green"} -team modify fz.module.scoreboard.display.kill_count color dark_green -team modify fz.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "dark_green"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/kill_count/dark_purple.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/kill_count/dark_purple.mcfunction deleted file mode 100644 index 9b60682..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/kill_count/dark_purple.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/kill_count - -data modify storage fz:module fz.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "dark_purple"}' -scoreboard objectives setdisplay sidebar.team.dark_purple fz.module.scoreboard.display.kill_count -scoreboard objectives modify fz.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "dark_purple"} -team modify fz.module.scoreboard.display.kill_count color dark_purple -team modify fz.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "dark_purple"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/kill_count/dark_red.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/kill_count/dark_red.mcfunction deleted file mode 100644 index 5b1e7cc..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/kill_count/dark_red.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/kill_count - -data modify storage fz:module fz.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "dark_red"}' -scoreboard objectives setdisplay sidebar.team.dark_red fz.module.scoreboard.display.kill_count -scoreboard objectives modify fz.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "dark_red"} -team modify fz.module.scoreboard.display.kill_count color dark_red -team modify fz.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "dark_red"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/kill_count/gold.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/kill_count/gold.mcfunction deleted file mode 100644 index 111bd0f..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/kill_count/gold.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/kill_count - -data modify storage fz:module fz.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "gold"}' -scoreboard objectives setdisplay sidebar.team.gold fz.module.scoreboard.display.kill_count -scoreboard objectives modify fz.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "gold"} -team modify fz.module.scoreboard.display.kill_count color gold -team modify fz.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "gold"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/kill_count/gray.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/kill_count/gray.mcfunction deleted file mode 100644 index 04c89b4..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/kill_count/gray.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/kill_count - -data modify storage fz:module fz.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "gray"}' -scoreboard objectives setdisplay sidebar.team.gray fz.module.scoreboard.display.kill_count -scoreboard objectives modify fz.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "gray"} -team modify fz.module.scoreboard.display.kill_count color gray -team modify fz.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "gray"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/kill_count/green.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/kill_count/green.mcfunction deleted file mode 100644 index bebbbaf..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/kill_count/green.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/kill_count - -data modify storage fz:module fz.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "green"}' -scoreboard objectives setdisplay sidebar.team.green fz.module.scoreboard.display.kill_count -scoreboard objectives modify fz.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "green"} -team modify fz.module.scoreboard.display.kill_count color green -team modify fz.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "green"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/kill_count/light_purple.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/kill_count/light_purple.mcfunction deleted file mode 100644 index bf1c9ed..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/kill_count/light_purple.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/kill_count - -data modify storage fz:module fz.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "light_purple"}' -scoreboard objectives setdisplay sidebar.team.light_purple fz.module.scoreboard.display.kill_count -scoreboard objectives modify fz.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "light_purple"} -team modify fz.module.scoreboard.display.kill_count color light_purple -team modify fz.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "light_purple"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/kill_count/red.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/kill_count/red.mcfunction deleted file mode 100644 index c6a07e8..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/kill_count/red.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/kill_count - -data modify storage fz:module fz.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "red"}' -scoreboard objectives setdisplay sidebar.team.red fz.module.scoreboard.display.kill_count -scoreboard objectives modify fz.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "red"} -team modify fz.module.scoreboard.display.kill_count color red -team modify fz.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "red"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/kill_count/white.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/kill_count/white.mcfunction deleted file mode 100644 index 668ef59..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/kill_count/white.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/kill_count - -data modify storage fz:module fz.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "white"}' -scoreboard objectives setdisplay sidebar.team.white fz.module.scoreboard.display.kill_count -scoreboard objectives modify fz.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "white"} -team modify fz.module.scoreboard.display.kill_count color white -team modify fz.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "white"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/kill_count/yellow.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/kill_count/yellow.mcfunction deleted file mode 100644 index ddde8af..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/kill_count/yellow.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/kill_count - -data modify storage fz:module fz.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "yellow"}' -scoreboard objectives setdisplay sidebar.team.yellow fz.module.scoreboard.display.kill_count -scoreboard objectives modify fz.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "yellow"} -team modify fz.module.scoreboard.display.kill_count color yellow -team modify fz.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "yellow"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/placement_count/aqua.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/placement_count/aqua.mcfunction deleted file mode 100644 index 3fd355e..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/placement_count/aqua.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/placement_count - -data modify storage fz:module fz.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "aqua"}' -scoreboard objectives setdisplay sidebar.team.aqua fz.module.scoreboard.display.placement_count -scoreboard objectives modify fz.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "aqua"} -team modify fz.module.scoreboard.display.placement_count color aqua -team modify fz.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "aqua"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/placement_count/black.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/placement_count/black.mcfunction deleted file mode 100644 index 63e5ef3..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/placement_count/black.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/placement_count - -data modify storage fz:module fz.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "black"}' -scoreboard objectives setdisplay sidebar.team.black fz.module.scoreboard.display.placement_count -scoreboard objectives modify fz.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "black"} -team modify fz.module.scoreboard.display.placement_count color black -team modify fz.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "black"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/placement_count/blue.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/placement_count/blue.mcfunction deleted file mode 100644 index 940f1c1..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/placement_count/blue.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/placement_count - -data modify storage fz:module fz.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "blue"}' -scoreboard objectives setdisplay sidebar.team.blue fz.module.scoreboard.display.placement_count -scoreboard objectives modify fz.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "blue"} -team modify fz.module.scoreboard.display.placement_count color blue -team modify fz.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "blue"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/placement_count/dark_aqua.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/placement_count/dark_aqua.mcfunction deleted file mode 100644 index ebe35dc..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/placement_count/dark_aqua.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/placement_count - -data modify storage fz:module fz.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "dark_aqua"}' -scoreboard objectives setdisplay sidebar.team.dark_aqua fz.module.scoreboard.display.placement_count -scoreboard objectives modify fz.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "dark_aqua"} -team modify fz.module.scoreboard.display.placement_count color dark_aqua -team modify fz.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "dark_aqua"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/placement_count/dark_blue.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/placement_count/dark_blue.mcfunction deleted file mode 100644 index cf45c76..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/placement_count/dark_blue.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/placement_count - -data modify storage fz:module fz.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "dark_blue"}' -scoreboard objectives setdisplay sidebar.team.dark_blue fz.module.scoreboard.display.placement_count -scoreboard objectives modify fz.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "dark_blue"} -team modify fz.module.scoreboard.display.placement_count color dark_blue -team modify fz.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "dark_blue"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/placement_count/dark_gray.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/placement_count/dark_gray.mcfunction deleted file mode 100644 index c78095b..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/placement_count/dark_gray.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/placement_count - -data modify storage fz:module fz.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "dark_gray"}' -scoreboard objectives setdisplay sidebar.team.dark_gray fz.module.scoreboard.display.placement_count -scoreboard objectives modify fz.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "dark_gray"} -team modify fz.module.scoreboard.display.placement_count color dark_gray -team modify fz.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "dark_gray"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/placement_count/dark_green.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/placement_count/dark_green.mcfunction deleted file mode 100644 index fb11325..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/placement_count/dark_green.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/placement_count - -data modify storage fz:module fz.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "dark_green"}' -scoreboard objectives setdisplay sidebar.team.dark_green fz.module.scoreboard.display.placement_count -scoreboard objectives modify fz.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "dark_green"} -team modify fz.module.scoreboard.display.placement_count color dark_green -team modify fz.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "dark_green"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/placement_count/dark_purple.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/placement_count/dark_purple.mcfunction deleted file mode 100644 index 4da1ae9..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/placement_count/dark_purple.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/placement_count - -data modify storage fz:module fz.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "dark_purple"}' -scoreboard objectives setdisplay sidebar.team.dark_purple fz.module.scoreboard.display.placement_count -scoreboard objectives modify fz.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "dark_purple"} -team modify fz.module.scoreboard.display.placement_count color dark_purple -team modify fz.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "dark_purple"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/placement_count/dark_red.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/placement_count/dark_red.mcfunction deleted file mode 100644 index 0e8a0f7..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/placement_count/dark_red.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/placement_count - -data modify storage fz:module fz.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "dark_red"}' -scoreboard objectives setdisplay sidebar.team.dark_red fz.module.scoreboard.display.placement_count -scoreboard objectives modify fz.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "dark_red"} -team modify fz.module.scoreboard.display.placement_count color dark_red -team modify fz.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "dark_red"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/placement_count/gold.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/placement_count/gold.mcfunction deleted file mode 100644 index 69e7d5d..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/placement_count/gold.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/placement_count - -data modify storage fz:module fz.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "gold"}' -scoreboard objectives setdisplay sidebar.team.gold fz.module.scoreboard.display.placement_count -scoreboard objectives modify fz.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "gold"} -team modify fz.module.scoreboard.display.placement_count color gold -team modify fz.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "gold"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/placement_count/gray.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/placement_count/gray.mcfunction deleted file mode 100644 index 5d070a6..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/placement_count/gray.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/placement_count - -data modify storage fz:module fz.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "gray"}' -scoreboard objectives setdisplay sidebar.team.gray fz.module.scoreboard.display.placement_count -scoreboard objectives modify fz.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "gray"} -team modify fz.module.scoreboard.display.placement_count color gray -team modify fz.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "gray"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/placement_count/green.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/placement_count/green.mcfunction deleted file mode 100644 index 2dab7e4..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/placement_count/green.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/placement_count - -data modify storage fz:module fz.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "green"}' -scoreboard objectives setdisplay sidebar.team.green fz.module.scoreboard.display.placement_count -scoreboard objectives modify fz.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "green"} -team modify fz.module.scoreboard.display.placement_count color green -team modify fz.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "green"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/placement_count/light_purple.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/placement_count/light_purple.mcfunction deleted file mode 100644 index 2b97571..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/placement_count/light_purple.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/placement_count - -data modify storage fz:module fz.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "light_purple"}' -scoreboard objectives setdisplay sidebar.team.light_purple fz.module.scoreboard.display.placement_count -scoreboard objectives modify fz.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "light_purple"} -team modify fz.module.scoreboard.display.placement_count color light_purple -team modify fz.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "light_purple"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/placement_count/red.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/placement_count/red.mcfunction deleted file mode 100644 index 6efde08..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/placement_count/red.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/placement_count - -data modify storage fz:module fz.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "red"}' -scoreboard objectives setdisplay sidebar.team.red fz.module.scoreboard.display.placement_count -scoreboard objectives modify fz.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "red"} -team modify fz.module.scoreboard.display.placement_count color red -team modify fz.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "red"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/placement_count/white.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/placement_count/white.mcfunction deleted file mode 100644 index 3a73623..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/placement_count/white.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/placement_count - -data modify storage fz:module fz.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "white"}' -scoreboard objectives setdisplay sidebar.team.white fz.module.scoreboard.display.placement_count -scoreboard objectives modify fz.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "white"} -team modify fz.module.scoreboard.display.placement_count color white -team modify fz.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "white"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/placement_count/yellow.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/placement_count/yellow.mcfunction deleted file mode 100644 index ba351ba..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/placement_count/yellow.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/placement_count - -data modify storage fz:module fz.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "yellow"}' -scoreboard objectives setdisplay sidebar.team.yellow fz.module.scoreboard.display.placement_count -scoreboard objectives modify fz.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "yellow"} -team modify fz.module.scoreboard.display.placement_count color yellow -team modify fz.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "yellow"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/trade_count/aqua.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/trade_count/aqua.mcfunction deleted file mode 100644 index 40bda32..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/trade_count/aqua.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/trade_count - -data modify storage fz:module fz.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "aqua"}' -scoreboard objectives setdisplay sidebar.team.aqua fz.module.scoreboard.display.trade_count -scoreboard objectives modify fz.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "aqua"} -team modify fz.module.scoreboard.display.trade_count color aqua -team modify fz.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "aqua"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/trade_count/black.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/trade_count/black.mcfunction deleted file mode 100644 index 305361d..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/trade_count/black.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/trade_count - -data modify storage fz:module fz.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "black"}' -scoreboard objectives setdisplay sidebar.team.black fz.module.scoreboard.display.trade_count -scoreboard objectives modify fz.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "black"} -team modify fz.module.scoreboard.display.trade_count color black -team modify fz.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "black"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/trade_count/blue.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/trade_count/blue.mcfunction deleted file mode 100644 index 2cdcdc5..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/trade_count/blue.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/trade_count - -data modify storage fz:module fz.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "blue"}' -scoreboard objectives setdisplay sidebar.team.blue fz.module.scoreboard.display.trade_count -scoreboard objectives modify fz.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "blue"} -team modify fz.module.scoreboard.display.trade_count color blue -team modify fz.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "blue"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/trade_count/dark_aqua.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/trade_count/dark_aqua.mcfunction deleted file mode 100644 index 30cd856..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/trade_count/dark_aqua.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/trade_count - -data modify storage fz:module fz.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "dark_aqua"}' -scoreboard objectives setdisplay sidebar.team.dark_aqua fz.module.scoreboard.display.trade_count -scoreboard objectives modify fz.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "dark_aqua"} -team modify fz.module.scoreboard.display.trade_count color dark_aqua -team modify fz.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "dark_aqua"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/trade_count/dark_blue.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/trade_count/dark_blue.mcfunction deleted file mode 100644 index 08d3f03..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/trade_count/dark_blue.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/trade_count - -data modify storage fz:module fz.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "dark_blue"}' -scoreboard objectives setdisplay sidebar.team.dark_blue fz.module.scoreboard.display.trade_count -scoreboard objectives modify fz.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "dark_blue"} -team modify fz.module.scoreboard.display.trade_count color dark_blue -team modify fz.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "dark_blue"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/trade_count/dark_gray.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/trade_count/dark_gray.mcfunction deleted file mode 100644 index 680f678..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/trade_count/dark_gray.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/trade_count - -data modify storage fz:module fz.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "dark_gray"}' -scoreboard objectives setdisplay sidebar.team.dark_gray fz.module.scoreboard.display.trade_count -scoreboard objectives modify fz.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "dark_gray"} -team modify fz.module.scoreboard.display.trade_count color dark_gray -team modify fz.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "dark_gray"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/trade_count/dark_green.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/trade_count/dark_green.mcfunction deleted file mode 100644 index 108d3d7..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/trade_count/dark_green.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/trade_count - -data modify storage fz:module fz.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "dark_green"}' -scoreboard objectives setdisplay sidebar.team.dark_green fz.module.scoreboard.display.trade_count -scoreboard objectives modify fz.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "dark_green"} -team modify fz.module.scoreboard.display.trade_count color dark_green -team modify fz.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "dark_green"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/trade_count/dark_purple.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/trade_count/dark_purple.mcfunction deleted file mode 100644 index 2a0e4aa..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/trade_count/dark_purple.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/trade_count - -data modify storage fz:module fz.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "dark_purple"}' -scoreboard objectives setdisplay sidebar.team.dark_purple fz.module.scoreboard.display.trade_count -scoreboard objectives modify fz.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "dark_purple"} -team modify fz.module.scoreboard.display.trade_count color dark_purple -team modify fz.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "dark_purple"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/trade_count/dark_red.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/trade_count/dark_red.mcfunction deleted file mode 100644 index 2af9cd3..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/trade_count/dark_red.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/trade_count - -data modify storage fz:module fz.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "dark_red"}' -scoreboard objectives setdisplay sidebar.team.dark_red fz.module.scoreboard.display.trade_count -scoreboard objectives modify fz.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "dark_red"} -team modify fz.module.scoreboard.display.trade_count color dark_red -team modify fz.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "dark_red"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/trade_count/gold.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/trade_count/gold.mcfunction deleted file mode 100644 index 0403a5e..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/trade_count/gold.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/trade_count - -data modify storage fz:module fz.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "gold"}' -scoreboard objectives setdisplay sidebar.team.gold fz.module.scoreboard.display.trade_count -scoreboard objectives modify fz.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "gold"} -team modify fz.module.scoreboard.display.trade_count color gold -team modify fz.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "gold"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/trade_count/gray.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/trade_count/gray.mcfunction deleted file mode 100644 index 7b3d932..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/trade_count/gray.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/trade_count - -data modify storage fz:module fz.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "gray"}' -scoreboard objectives setdisplay sidebar.team.gray fz.module.scoreboard.display.trade_count -scoreboard objectives modify fz.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "gray"} -team modify fz.module.scoreboard.display.trade_count color gray -team modify fz.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "gray"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/trade_count/green.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/trade_count/green.mcfunction deleted file mode 100644 index bfab079..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/trade_count/green.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/trade_count - -data modify storage fz:module fz.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "green"}' -scoreboard objectives setdisplay sidebar.team.green fz.module.scoreboard.display.trade_count -scoreboard objectives modify fz.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "green"} -team modify fz.module.scoreboard.display.trade_count color green -team modify fz.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "green"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/trade_count/light_purple.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/trade_count/light_purple.mcfunction deleted file mode 100644 index 2778f2d..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/trade_count/light_purple.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/trade_count - -data modify storage fz:module fz.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "light_purple"}' -scoreboard objectives setdisplay sidebar.team.light_purple fz.module.scoreboard.display.trade_count -scoreboard objectives modify fz.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "light_purple"} -team modify fz.module.scoreboard.display.trade_count color light_purple -team modify fz.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "light_purple"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/trade_count/red.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/trade_count/red.mcfunction deleted file mode 100644 index 2eb72ef..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/trade_count/red.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/trade_count - -data modify storage fz:module fz.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "red"}' -scoreboard objectives setdisplay sidebar.team.red fz.module.scoreboard.display.trade_count -scoreboard objectives modify fz.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "red"} -team modify fz.module.scoreboard.display.trade_count color red -team modify fz.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "red"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/trade_count/white.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/trade_count/white.mcfunction deleted file mode 100644 index 2d17ff9..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/trade_count/white.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/trade_count - -data modify storage fz:module fz.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "white"}' -scoreboard objectives setdisplay sidebar.team.white fz.module.scoreboard.display.trade_count -scoreboard objectives modify fz.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "white"} -team modify fz.module.scoreboard.display.trade_count color white -team modify fz.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "white"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/display/set_text/trade_count/yellow.mcfunction b/data/fz/functions/module/scoreboard/display/set_text/trade_count/yellow.mcfunction deleted file mode 100644 index 52e6a30..0000000 --- a/data/fz/functions/module/scoreboard/display/set_text/trade_count/yellow.mcfunction +++ /dev/null @@ -1,7 +0,0 @@ -# 调用者:#fz:module/scoreboard/display/set_text/trade_count - -data modify storage fz:module fz.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "yellow"}' -scoreboard objectives setdisplay sidebar.team.yellow fz.module.scoreboard.display.trade_count -scoreboard objectives modify fz.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "yellow"} -team modify fz.module.scoreboard.display.trade_count color yellow -team modify fz.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "yellow"} \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/install.mcfunction b/data/fz/functions/module/scoreboard/install.mcfunction deleted file mode 100644 index 09f1b24..0000000 --- a/data/fz/functions/module/scoreboard/install.mcfunction +++ /dev/null @@ -1,63 +0,0 @@ -# 调用者:#fz:module/scoreboard/install - -## 源计分板 - -### 总榜 -scoreboard objectives add fz.module.scoreboard.assign.general dummy - -## 轮播 -team add fz.module.scoreboard.display.carousel - -## 创建显示计分板 -###### 判据均为dummy,便于升级维护! - -### 总榜 -scoreboard objectives add fz.module.scoreboard.display.general dummy -team add fz.module.scoreboard.display.general - -### 活跃度 -scoreboard objectives add fz.module.scoreboard.display.activation dummy -team add fz.module.scoreboard.display.activation - -### 飞行距离 -scoreboard objectives add fz.module.scoreboard.display.aviating_distance dummy -team add fz.module.scoreboard.display.aviating_distance - -### 抖M榜 -scoreboard objectives add fz.module.scoreboard.display.damage_taken dummy -team add fz.module.scoreboard.display.damage_taken - -### 死亡榜 -scoreboard objectives add fz.module.scoreboard.display.death_count dummy -team add fz.module.scoreboard.display.death_count - -### 挖掘榜 -scoreboard objectives add fz.module.scoreboard.display.dig_count dummy -team add fz.module.scoreboard.display.dig_count - -### 钓鱼榜 -scoreboard objectives add fz.module.scoreboard.display.fishing_count dummy -team add fz.module.scoreboard.display.fishing_count - -### 击杀榜 -scoreboard objectives add fz.module.scoreboard.display.kill_count dummy -team add fz.module.scoreboard.display.kill_count - -### 放置榜 -scoreboard objectives add fz.module.scoreboard.display.placement_count dummy -team add fz.module.scoreboard.display.placement_count - -### 交易榜 -scoreboard objectives add fz.module.scoreboard.display.trade_count dummy -team add fz.module.scoreboard.display.trade_count - -team add fz.module.scoreboard.fake -team add fz.module.scoreboard.shadow -team modify fz.module.scoreboard.fake prefix {"text": "假的"} -team modify fz.module.scoreboard.shadow prefix {"text": "挂机"} - -## 标记为已安装 -data modify storage fz:installed fz.module.scoreboard set value 1b - -## 日志 -execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已安装组件:计分板"}] \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/interactor/display.mcfunction b/data/fz/functions/module/scoreboard/interactor/display.mcfunction deleted file mode 100644 index 61ee2e9..0000000 --- a/data/fz/functions/module/scoreboard/interactor/display.mcfunction +++ /dev/null @@ -1,5 +0,0 @@ -# 调用者:#fz:module/scoreboard/interactor/display - -execute if data storage fz:installed fz.module{scoreboard:1b} run tellraw @s {"text": "计分板:"} - -execute if data storage fz:installed fz.module{scoreboard:1b} run tellraw @s [[{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "contents": {"text": "关", "color": "dark_red"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 1000"}}, {"text": "关", "color": "dark_red"}, {"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fz.scoreboard.text.carousel", "interpret": true, "storage": "fz:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 1010"}}, {"nbt": "fz.scoreboard.text.carousel", "interpret": true, "storage": "fz:module"}, {"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fz.scoreboard.text.general", "interpret": true, "storage": "fz:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 1020"}}, {"nbt": "fz.scoreboard.text.general", "interpret": true, "storage": "fz:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fz.scoreboard.text.activation", "interpret": true, "storage": "fz:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 1030"}}, {"nbt": "fz.scoreboard.text.activation", "interpret": true, "storage": "fz:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fz.scoreboard.text.aviating_distance", "interpret": true, "storage": "fz:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 1040"}}, {"nbt": "fz.scoreboard.text.aviating_distance", "interpret": true, "storage": "fz:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fz.scoreboard.text.damage_taken", "interpret": true, "storage": "fz:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 1050"}}, {"nbt": "fz.scoreboard.text.damage_taken", "interpret": true, "storage": "fz:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fz.scoreboard.text.death_count", "interpret": true, "storage": "fz:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 1060"}}, {"nbt": "fz.scoreboard.text.death_count", "interpret": true, "storage": "fz:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fz.scoreboard.text.dig_count", "interpret": true, "storage": "fz:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 1070"}}, {"nbt": "fz.scoreboard.text.dig_count", "interpret": true, "storage": "fz:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fz.scoreboard.text.fishing_count", "interpret": true, "storage": "fz:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 1080"}}, {"nbt": "fz.scoreboard.text.fishing_count", "interpret": true, "storage": "fz:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fz.scoreboard.text.kill_count", "interpret": true, "storage": "fz:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 1090"}}, {"nbt": "fz.scoreboard.text.kill_count", "interpret": true, "storage": "fz:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fz.scoreboard.text.trade_count", "interpret": true, "storage": "fz:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 1100"}}, {"nbt": "fz.scoreboard.text.trade_count", "interpret": true, "storage": "fz:module"}, {"text": "]"}]] \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/interactor/on_click.mcfunction b/data/fz/functions/module/scoreboard/interactor/on_click.mcfunction deleted file mode 100644 index 4fe8ec6..0000000 --- a/data/fz/functions/module/scoreboard/interactor/on_click.mcfunction +++ /dev/null @@ -1,11 +0,0 @@ -execute if score @s fz.module.interactor.trigger matches 1000 run function #fz:module/scoreboard/interactor/subscribe/off -execute if score @s fz.module.interactor.trigger matches 1010 run function #fz:module/scoreboard/interactor/subscribe/carousel -execute if score @s fz.module.interactor.trigger matches 1020 run function #fz:module/scoreboard/interactor/subscribe/general -execute if score @s fz.module.interactor.trigger matches 1030 run function #fz:module/scoreboard/interactor/subscribe/activation -execute if score @s fz.module.interactor.trigger matches 1040 run function #fz:module/scoreboard/interactor/subscribe/aviating_distance -execute if score @s fz.module.interactor.trigger matches 1050 run function #fz:module/scoreboard/interactor/subscribe/damage_taken -execute if score @s fz.module.interactor.trigger matches 1060 run function #fz:module/scoreboard/interactor/subscribe/death_count -execute if score @s fz.module.interactor.trigger matches 1070 run function #fz:module/scoreboard/interactor/subscribe/dig_count -execute if score @s fz.module.interactor.trigger matches 1080 run function #fz:module/scoreboard/interactor/subscribe/fishing_count -execute if score @s fz.module.interactor.trigger matches 1090 run function #fz:module/scoreboard/interactor/subscribe/kill_count -execute if score @s fz.module.interactor.trigger matches 1100 run function #fz:module/scoreboard/interactor/subscribe/trade_count \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/interactor/subscribe/activation.mcfunction b/data/fz/functions/module/scoreboard/interactor/subscribe/activation.mcfunction deleted file mode 100644 index a5e8bac..0000000 --- a/data/fz/functions/module/scoreboard/interactor/subscribe/activation.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -# 调用者:fz:module/scoreboard/interactor/subscribe/~ - -team join fz.module.scoreboard.display.activation @s - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "玩家"}, {"selector": "@s"}, {"text": "订阅了"}, {"nbt": "fz.scoreboard.text.activation", "interpret": true, "storage": "fz:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/interactor/subscribe/aviating_distance.mcfunction b/data/fz/functions/module/scoreboard/interactor/subscribe/aviating_distance.mcfunction deleted file mode 100644 index bd37906..0000000 --- a/data/fz/functions/module/scoreboard/interactor/subscribe/aviating_distance.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -# 调用者:fz:module/scoreboard/interactor/subscribe/~ - -team join fz.module.scoreboard.display.aviating_distance @s - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "玩家"}, {"selector": "@s"}, {"text": "订阅了"}, {"nbt": "fz.scoreboard.text.aviating_distance", "interpret": true, "storage": "fz:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/interactor/subscribe/carousel.mcfunction b/data/fz/functions/module/scoreboard/interactor/subscribe/carousel.mcfunction deleted file mode 100644 index 157ca13..0000000 --- a/data/fz/functions/module/scoreboard/interactor/subscribe/carousel.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -# 调用者:fz:module/scoreboard/interactor/subscribe/~ - -team join fz.module.scoreboard.display.carousel @s - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "玩家"}, {"selector": "@s"}, {"text": "订阅了"}, {"nbt": "fz.scoreboard.text.carousel", "interpret": true, "storage": "fz:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/interactor/subscribe/damage_taken.mcfunction b/data/fz/functions/module/scoreboard/interactor/subscribe/damage_taken.mcfunction deleted file mode 100644 index de3f091..0000000 --- a/data/fz/functions/module/scoreboard/interactor/subscribe/damage_taken.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -# 调用者:fz:module/scoreboard/interactor/subscribe/~ - -team join fz.module.scoreboard.display.damage_taken @s - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "玩家"}, {"selector": "@s"}, {"text": "订阅了"}, {"nbt": "fz.scoreboard.text.damage_taken", "interpret": true, "storage": "fz:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/interactor/subscribe/death_count.mcfunction b/data/fz/functions/module/scoreboard/interactor/subscribe/death_count.mcfunction deleted file mode 100644 index 8a7acf0..0000000 --- a/data/fz/functions/module/scoreboard/interactor/subscribe/death_count.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -# 调用者:fz:module/scoreboard/interactor/subscribe/~ - -team join fz.module.scoreboard.display.death_count @s - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "玩家"}, {"selector": "@s"}, {"text": "订阅了"}, {"nbt": "fz.scoreboard.text.death_count", "interpret": true, "storage": "fz:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/interactor/subscribe/dig_count.mcfunction b/data/fz/functions/module/scoreboard/interactor/subscribe/dig_count.mcfunction deleted file mode 100644 index 3a61139..0000000 --- a/data/fz/functions/module/scoreboard/interactor/subscribe/dig_count.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -# 调用者:fz:module/scoreboard/interactor/subscribe/~ - -team join fz.module.scoreboard.display.dig_count @s - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "玩家"}, {"selector": "@s"}, {"text": "订阅了"}, {"nbt": "fz.scoreboard.text.dig_count", "interpret": true, "storage": "fz:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/interactor/subscribe/fishing_count.mcfunction b/data/fz/functions/module/scoreboard/interactor/subscribe/fishing_count.mcfunction deleted file mode 100644 index e2bc887..0000000 --- a/data/fz/functions/module/scoreboard/interactor/subscribe/fishing_count.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -# 调用者:fz:module/scoreboard/interactor/subscribe/~ - -team join fz.module.scoreboard.display.fishing_count @s - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "玩家"}, {"selector": "@s"}, {"text": "订阅了"}, {"nbt": "fz.scoreboard.text.fishing_count", "interpret": true, "storage": "fz:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/interactor/subscribe/general.mcfunction b/data/fz/functions/module/scoreboard/interactor/subscribe/general.mcfunction deleted file mode 100644 index dfd0a8f..0000000 --- a/data/fz/functions/module/scoreboard/interactor/subscribe/general.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -# 调用者:fz:module/scoreboard/interactor/subscribe/~ - -team join fz.module.scoreboard.display.general @s - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "玩家"}, {"selector": "@s"}, {"text": "订阅了"}, {"nbt": "fz.scoreboard.text.general", "interpret": true, "storage": "fz:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/interactor/subscribe/kill_count.mcfunction b/data/fz/functions/module/scoreboard/interactor/subscribe/kill_count.mcfunction deleted file mode 100644 index 9102548..0000000 --- a/data/fz/functions/module/scoreboard/interactor/subscribe/kill_count.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -# 调用者:fz:module/scoreboard/interactor/subscribe/~ - -team join fz.module.scoreboard.display.kill_count @s - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "玩家"}, {"selector": "@s"}, {"text": "订阅了"}, {"nbt": "fz.scoreboard.text.kill_count", "interpret": true, "storage": "fz:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/interactor/subscribe/off.mcfunction b/data/fz/functions/module/scoreboard/interactor/subscribe/off.mcfunction deleted file mode 100644 index 1df5096..0000000 --- a/data/fz/functions/module/scoreboard/interactor/subscribe/off.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -# 调用者:#fz:module/scoreboard/interactor/subscribe/~ - -team leave @s - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "玩家"}, {"selector": "@s"}, {"text": "取消了计分板订阅"}] \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/interactor/subscribe/placement_count.mcfunction b/data/fz/functions/module/scoreboard/interactor/subscribe/placement_count.mcfunction deleted file mode 100644 index 79fb703..0000000 --- a/data/fz/functions/module/scoreboard/interactor/subscribe/placement_count.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -# 调用者:fz:module/scoreboard/interactor/subscribe/~ - -team join fz.module.scoreboard.display.placement_count @s - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "玩家"}, {"selector": "@s"}, {"text": "订阅了"}, {"nbt": "fz.scoreboard.text.placement_count", "interpret": true, "storage": "fz:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/interactor/subscribe/trade_count.mcfunction b/data/fz/functions/module/scoreboard/interactor/subscribe/trade_count.mcfunction deleted file mode 100644 index 35288c5..0000000 --- a/data/fz/functions/module/scoreboard/interactor/subscribe/trade_count.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -# 调用者:fz:module/scoreboard/interactor/subscribe/~ - -team join fz.module.scoreboard.display.trade_count @s - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "玩家"}, {"selector": "@s"}, {"text": "订阅了"}, {"nbt": "fz.scoreboard.text.trade_count", "interpret": true, "storage": "fz:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/load.mcfunction b/data/fz/functions/module/scoreboard/load.mcfunction deleted file mode 100644 index e35ac96..0000000 --- a/data/fz/functions/module/scoreboard/load.mcfunction +++ /dev/null @@ -1,16 +0,0 @@ -# 调用者:#fz:module/scoreboard/load - -## 调试 -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "计分板显示文本已设为:"}] -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"text": "", "color": "green"}, {"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "fz.module.scoreboard.display.general - "}, {"nbt": "fz.scoreboard.text.general", "interpret": true, "storage": "fz:module"}] -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"text": "", "color": "green"}, {"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "fz.module.scoreboard.display.activation - "}, {"nbt": "fz.scoreboard.text.activation", "interpret": true, "storage": "fz:module"}] -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"text": "", "color": "green"}, {"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "fz.module.scoreboard.display.aviating_distance - "}, {"nbt": "fz.scoreboard.text.aviating_distance", "interpret": true, "storage": "fz:module"}] -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"text": "", "color": "green"}, {"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "fz.module.scoreboard.display.damage_taken - "}, {"nbt": "fz.scoreboard.text.damage_taken", "interpret": true, "storage": "fz:module"}] -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"text": "", "color": "green"}, {"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "fz.module.scoreboard.display.death_count - "}, {"nbt": "fz.scoreboard.text.death_count", "interpret": true, "storage": "fz:module"}] -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"text": "", "color": "green"}, {"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "fz.module.scoreboard.display.dig_count - "}, {"nbt": "fz.scoreboard.text.dig_count", "interpret": true, "storage": "fz:module"}] -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"text": "", "color": "green"}, {"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "fz.module.scoreboard.display.fishing_count - "}, {"nbt": "fz.scoreboard.text.fishing_count", "interpret": true, "storage": "fz:module"}] -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"text": "", "color": "green"}, {"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "fz.module.scoreboard.display.kill_count - "}, {"nbt": "fz.scoreboard.text.kill_count", "interpret": true, "storage": "fz:module"}] -execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"text": "", "color": "green"}, {"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "fz.module.scoreboard.display.trade_count - "}, {"nbt": "fz.scoreboard.text.trade_count", "interpret": true, "storage": "fz:module"}] - -## 日志 -execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已加载组件:计分板"}] \ No newline at end of file diff --git a/data/fz/functions/module/try_load.mcfunction b/data/fz/functions/module/try_load.mcfunction deleted file mode 100644 index 7c0e6fa..0000000 --- a/data/fz/functions/module/try_load.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -# 调用者:#fz:module/try_load - -## 判断是否安装,如果安装则加载 -execute if data storage fz:installed fz.module{interactor:1b} run function #fz:module/interactor/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 diff --git a/data/fz/functions/system/carpet/try_load_fzsd_ignore_fakeplayer_scores.mcfunction b/data/fz/functions/system/carpet/try_load_fzsd_ignore_fakeplayer_scores.mcfunction deleted file mode 100644 index 5018793..0000000 --- a/data/fz/functions/system/carpet/try_load_fzsd_ignore_fakeplayer_scores.mcfunction +++ /dev/null @@ -1 +0,0 @@ -script run if (system_info('app_list') ~ 'fz_score' == null, run('script load fz_score')) \ No newline at end of file diff --git a/data/fz/functions/system/entry.mcfunction b/data/fz/functions/system/entry.mcfunction deleted file mode 100644 index 193d6ef..0000000 --- a/data/fz/functions/system/entry.mcfunction +++ /dev/null @@ -1,10 +0,0 @@ - -function fz:system/carpet/try_load_fzsd_ignore_fakeplayer_scores -function #fz:uninstall -function #fz:install -function #fz:load - - - -# execute unless data storage fz:installed fz.global run function #fz:install -# execute if data storage fz:installed fz{global:1b} run function #fz:load \ No newline at end of file diff --git a/data/fz/functions/system/install.mcfunction b/data/fz/functions/system/install.mcfunction deleted file mode 100644 index e1e007b..0000000 --- a/data/fz/functions/system/install.mcfunction +++ /dev/null @@ -1,2 +0,0 @@ -## 整数类型 -scoreboard objectives add fz.variable.integer dummy \ No newline at end of file diff --git a/data/fz/functions/system/installed.mcfunction b/data/fz/functions/system/installed.mcfunction deleted file mode 100644 index 4cc67be..0000000 --- a/data/fz/functions/system/installed.mcfunction +++ /dev/null @@ -1,5 +0,0 @@ -## 标记为已安装 -data modify storage fz:installed fz.global set value 1b - -## 日志 -tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "安装完成!"}] \ No newline at end of file diff --git a/data/fz/functions/system/load.mcfunction b/data/fz/functions/system/load.mcfunction deleted file mode 100644 index 4cc788f..0000000 --- a/data/fz/functions/system/load.mcfunction +++ /dev/null @@ -1,4 +0,0 @@ -## 常量 -scoreboard players set 10 fz.variable.integer 10 -scoreboard players set 200 fz.variable.integer 200 -scoreboard players set 72000 fz.variable.integer 72000 \ No newline at end of file diff --git a/data/fz/functions/system/loaded.mcfunction b/data/fz/functions/system/loaded.mcfunction deleted file mode 100644 index 6f446ef..0000000 --- a/data/fz/functions/system/loaded.mcfunction +++ /dev/null @@ -1,2 +0,0 @@ -## 日志 -execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "加载完成!"}] \ No newline at end of file diff --git a/data/fz/functions/system/uninstall.mcfunction b/data/fz/functions/system/uninstall.mcfunction deleted file mode 100644 index 9ca91b4..0000000 --- a/data/fz/functions/system/uninstall.mcfunction +++ /dev/null @@ -1,5 +0,0 @@ -## 整数类型 -scoreboard objectives remove fz.variable.integer - -## 清除缓存 -data remove storage fz:global fz \ No newline at end of file diff --git a/data/fz/functions/system/uninstalled.mcfunction b/data/fz/functions/system/uninstalled.mcfunction deleted file mode 100644 index b98b17c..0000000 --- a/data/fz/functions/system/uninstalled.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -## 标记为已卸载 -data remove storage fz:installed fz -data modify storage fz:installed fz.global set value 0b - -## 日志 -execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "卸载完成!"}] \ No newline at end of file diff --git a/data/fz/tags/functions/api/get_dimension_name.json b/data/fz/tags/functions/api/get_dimension_name.json deleted file mode 100644 index ceefe42..0000000 --- a/data/fz/tags/functions/api/get_dimension_name.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:api/get_dimension_name/default", - "#fz:api/get_dimension_name/minecraft/overworld", - "#fz:api/get_dimension_name/minecraft/the_end", - "#fz:api/get_dimension_name/minecraft/the_nether" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/api/get_dimension_name/minecraft/overworld.json b/data/fz/tags/functions/api/get_dimension_name/minecraft/overworld.json deleted file mode 100644 index 1ded298..0000000 --- a/data/fz/tags/functions/api/get_dimension_name/minecraft/overworld.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:api/get_dimension_name/minecraft/overworld" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/api/get_dimension_name/minecraft/the_end.json b/data/fz/tags/functions/api/get_dimension_name/minecraft/the_end.json deleted file mode 100644 index ace7851..0000000 --- a/data/fz/tags/functions/api/get_dimension_name/minecraft/the_end.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:api/get_dimension_name/minecraft/the_end" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/api/get_dimension_name/minecraft/the_nether.json b/data/fz/tags/functions/api/get_dimension_name/minecraft/the_nether.json deleted file mode 100644 index 32a2d33..0000000 --- a/data/fz/tags/functions/api/get_dimension_name/minecraft/the_nether.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:api/get_dimension_name/minecraft/the_nether" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/calculation/highest_id_add_1.json b/data/fz/tags/functions/calculation/highest_id_add_1.json deleted file mode 100644 index 71b793a..0000000 --- a/data/fz/tags/functions/calculation/highest_id_add_1.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": true, - "values": [ - "fz:module/scoreboard/display/highest_id_add_1" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/game_event/advancement/reset_advancements.json b/data/fz/tags/functions/game_event/advancement/reset_advancements.json deleted file mode 100644 index 815698f..0000000 --- a/data/fz/tags/functions/game_event/advancement/reset_advancements.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:game_event/advancement/reset_advancements" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/game_event/on_tick.json b/data/fz/tags/functions/game_event/on_tick.json deleted file mode 100644 index c06fbcf..0000000 --- a/data/fz/tags/functions/game_event/on_tick.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:game_event/on_tick/on_tick" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/game_event/player/on_aviate_one_meter.json b/data/fz/tags/functions/game_event/player/on_aviate_one_meter.json deleted file mode 100644 index 348f79e..0000000 --- a/data/fz/tags/functions/game_event/player/on_aviate_one_meter.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "#fz:module/scoreboard/assign/scoreboard/aviating_distance" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/game_event/player/on_broke_block_with_tool.json b/data/fz/tags/functions/game_event/player/on_broke_block_with_tool.json deleted file mode 100644 index e8c6a0c..0000000 --- a/data/fz/tags/functions/game_event/player/on_broke_block_with_tool.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "#fz:module/scoreboard/assign/scoreboard/dig_count" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/game_event/player/on_dead.json b/data/fz/tags/functions/game_event/player/on_dead.json deleted file mode 100644 index 0080ec7..0000000 --- a/data/fz/tags/functions/game_event/player/on_dead.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "#fz:module/scoreboard/assign/scoreboard/death_count" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/game_event/player/on_entered_nether_portal.json b/data/fz/tags/functions/game_event/player/on_entered_nether_portal.json deleted file mode 100644 index 4752afa..0000000 --- a/data/fz/tags/functions/game_event/player/on_entered_nether_portal.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "#fz:module/last_nether_portal/event/on_entered_nether_portal" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/game_event/player/on_fished.json b/data/fz/tags/functions/game_event/player/on_fished.json deleted file mode 100644 index b14f026..0000000 --- a/data/fz/tags/functions/game_event/player/on_fished.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "#fz:module/scoreboard/assign/scoreboard/fishing_count" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/game_event/player/on_killed_mob_or_player.json b/data/fz/tags/functions/game_event/player/on_killed_mob_or_player.json deleted file mode 100644 index 60105f5..0000000 --- a/data/fz/tags/functions/game_event/player/on_killed_mob_or_player.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "#fz:module/scoreboard/assign/scoreboard/kill_count" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/game_event/player/on_login.json b/data/fz/tags/functions/game_event/player/on_login.json deleted file mode 100644 index 114f33e..0000000 --- a/data/fz/tags/functions/game_event/player/on_login.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "#fz:module/interactor/reset_trigger", - "#fz:module/interactor/event/reset_advancements" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/game_event/player/on_piglin_trade.json b/data/fz/tags/functions/game_event/player/on_piglin_trade.json deleted file mode 100644 index 877b07a..0000000 --- a/data/fz/tags/functions/game_event/player/on_piglin_trade.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "#fz:module/scoreboard/assign/scoreboard/trade_count" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/game_event/player/on_placed_block.json b/data/fz/tags/functions/game_event/player/on_placed_block.json deleted file mode 100644 index 9968eef..0000000 --- a/data/fz/tags/functions/game_event/player/on_placed_block.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "#fz:module/scoreboard/assign/scoreboard/placement_count" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/game_event/player/on_play_one_hour.json b/data/fz/tags/functions/game_event/player/on_play_one_hour.json deleted file mode 100644 index a2d2a22..0000000 --- a/data/fz/tags/functions/game_event/player/on_play_one_hour.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "#fz:module/scoreboard/assign/scoreboard/activation" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/game_event/player/on_took_damage.json b/data/fz/tags/functions/game_event/player/on_took_damage.json deleted file mode 100644 index 32fbef2..0000000 --- a/data/fz/tags/functions/game_event/player/on_took_damage.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "#fz:module/scoreboard/assign/scoreboard/damage_taken" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/game_event/player/on_unsneak.json b/data/fz/tags/functions/game_event/player/on_unsneak.json deleted file mode 100644 index c0ac64c..0000000 --- a/data/fz/tags/functions/game_event/player/on_unsneak.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "__comment": "调用者:fz:game_event/on_unsneaked,当玩家蹲起后触发此事件", - "replace": false, - "values": [ - "fz:module/interactor/event/on_unsneak/on_unsneak" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/game_event/player/on_used_tool.json b/data/fz/tags/functions/game_event/player/on_used_tool.json deleted file mode 100644 index 6882884..0000000 --- a/data/fz/tags/functions/game_event/player/on_used_tool.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:game_event/player/on_broke_block_with_tool/on_used_tool" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/game_event/player/on_used_tool/reset_used_tool.json b/data/fz/tags/functions/game_event/player/on_used_tool/reset_used_tool.json deleted file mode 100644 index 35d3d69..0000000 --- a/data/fz/tags/functions/game_event/player/on_used_tool/reset_used_tool.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:game_event/player/on_used_tool/reset_used_tool" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/game_event/player/on_villager_trade.json b/data/fz/tags/functions/game_event/player/on_villager_trade.json deleted file mode 100644 index 877b07a..0000000 --- a/data/fz/tags/functions/game_event/player/on_villager_trade.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "#fz:module/scoreboard/assign/scoreboard/trade_count" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/game_event/reset_all.json b/data/fz/tags/functions/game_event/reset_all.json deleted file mode 100644 index 5188ef7..0000000 --- a/data/fz/tags/functions/game_event/reset_all.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "#fz:game_event/advancement/reset_advancements", - "#fz:game_event/player/on_used_tool/reset_used_tool" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/install.json b/data/fz/tags/functions/install.json deleted file mode 100644 index 6e0ceec..0000000 --- a/data/fz/tags/functions/install.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "replace": false, - "values": [ - "#fz:system/install/system", - "#fz:system/install/module", - "#fz:system/install/installed" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/load.json b/data/fz/tags/functions/load.json deleted file mode 100644 index c30bb28..0000000 --- a/data/fz/tags/functions/load.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "replace": false, - "values": [ - "#fz:system/load/system", - "#fz:system/load/module", - "#fz:system/load/loaded" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/health/load.json b/data/fz/tags/functions/module/health/load.json deleted file mode 100644 index e930fc1..0000000 --- a/data/fz/tags/functions/module/health/load.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "#fz:module/health/set_health_name", - "fz:module/health/load" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/here/get_dimension_message.json b/data/fz/tags/functions/module/here/get_dimension_message.json deleted file mode 100644 index 99196b7..0000000 --- a/data/fz/tags/functions/module/here/get_dimension_message.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/here/get_dimension_message/overworld", - "fz:module/here/get_dimension_message/the_nether" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/here/get_message.json b/data/fz/tags/functions/module/here/get_message.json deleted file mode 100644 index 9af0ce5..0000000 --- a/data/fz/tags/functions/module/here/get_message.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "replace": false, - "values": [ - "#fz:api/get_player_dimension", - "#fz:api/get_dimension_name", - "fz:module/here/get_message", - "#fz:module/here/get_dimension_message" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/here/global_message.json b/data/fz/tags/functions/module/here/global_message.json deleted file mode 100644 index 5b82e69..0000000 --- a/data/fz/tags/functions/module/here/global_message.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "#fz:module/here/get_message", - "fz:module/here/global_message" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/here/private_message.json b/data/fz/tags/functions/module/here/private_message.json deleted file mode 100644 index 416ed9a..0000000 --- a/data/fz/tags/functions/module/here/private_message.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "#fz:module/here/get_message", - "fz:module/here/private_message" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/interactor/display.json b/data/fz/tags/functions/module/interactor/display.json deleted file mode 100644 index d290d01..0000000 --- a/data/fz/tags/functions/module/interactor/display.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "__comment": "调用者:fz:module/interactor/on_click、fz:module/interactor/trigger", - "replace": false, - "values": [ - "fz:module/interactor/interactor/display", - "#fz:module/scoreboard/interactor/display", - "#fz:module/here/interactor/display", - "#fz:module/last_death/interactor/display", - "#fz:module/last_nether_portal/interactor/display", - "#fz:module/last_spawn_point/interactor/display" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/interactor/event/on_click.json b/data/fz/tags/functions/module/interactor/event/on_click.json deleted file mode 100644 index 2952193..0000000 --- a/data/fz/tags/functions/module/interactor/event/on_click.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/interactor/interactor/on_click", - "#fz:module/scoreboard/interactor/on_click", - "#fz:module/here/interactor/on_click", - "#fz:module/last_death/interactor/on_click", - "#fz:module/last_nether_portal/interactor/on_click", - "#fz:module/last_spawn_point/interactor/on_click" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/interactor/event/on_click/on_click.json b/data/fz/tags/functions/module/interactor/event/on_click/on_click.json deleted file mode 100644 index 7dbd0f5..0000000 --- a/data/fz/tags/functions/module/interactor/event/on_click/on_click.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "replace": false, - "values": [ - "#fz:module/interactor/event/on_click", - "#fz:module/interactor/display", - "#fz:module/interactor/reset_trigger" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/interactor/event/reset_advancements.json b/data/fz/tags/functions/module/interactor/event/reset_advancements.json deleted file mode 100644 index 1257187..0000000 --- a/data/fz/tags/functions/module/interactor/event/reset_advancements.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/interactor/event/reset_advancements" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/interactor/install.json b/data/fz/tags/functions/module/interactor/install.json deleted file mode 100644 index 5c364a0..0000000 --- a/data/fz/tags/functions/module/interactor/install.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "__comment": "调用者:#fz:module/install", - "replace": false, - "values": [ - "fz:module/interactor/install" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/interactor/load.json b/data/fz/tags/functions/module/interactor/load.json deleted file mode 100644 index c372b1d..0000000 --- a/data/fz/tags/functions/module/interactor/load.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "__comment": "调用者:fz:module/try_load", - "replace": false, - "values": [ - "fz:module/interactor/load" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/interactor/timeout.json b/data/fz/tags/functions/module/interactor/timeout.json deleted file mode 100644 index 0c5af48..0000000 --- a/data/fz/tags/functions/module/interactor/timeout.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/interactor/timeout" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/interactor/uninstall.json b/data/fz/tags/functions/module/interactor/uninstall.json deleted file mode 100644 index 0619ef8..0000000 --- a/data/fz/tags/functions/module/interactor/uninstall.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "__comment": "调用者:#fz:module/uninstall", - "replace": false, - "values": [ - "fz:module/interactor/uninstall" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/last_death/get_death_point.json b/data/fz/tags/functions/module/last_death/get_death_point.json deleted file mode 100644 index dd41031..0000000 --- a/data/fz/tags/functions/module/last_death/get_death_point.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/last_death/get_death_point", - "#fz:api/get_dimension_name" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/last_death/interactor/display.json b/data/fz/tags/functions/module/last_death/interactor/display.json deleted file mode 100644 index 12dd6b4..0000000 --- a/data/fz/tags/functions/module/last_death/interactor/display.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/last_death/interactor/display" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/last_death/interactor/on_click.json b/data/fz/tags/functions/module/last_death/interactor/on_click.json deleted file mode 100644 index 8c8d4ce..0000000 --- a/data/fz/tags/functions/module/last_death/interactor/on_click.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/last_death/interactor/on_click" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/last_death/private_message.json b/data/fz/tags/functions/module/last_death/private_message.json deleted file mode 100644 index 716959b..0000000 --- a/data/fz/tags/functions/module/last_death/private_message.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "#fz:module/last_death/get_death_point", - "fz:module/last_death/private_message" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/last_nether_portal/event/on_entered_nether_portal.json b/data/fz/tags/functions/module/last_nether_portal/event/on_entered_nether_portal.json deleted file mode 100644 index 7b1ee0b..0000000 --- a/data/fz/tags/functions/module/last_nether_portal/event/on_entered_nether_portal.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "replace": false, - "values": [ - "#fz:api/get_player_dimension", - "#fz:api/get_dimension_name", - "fz:module/last_nether_portal/event/on_entered_nether_portal" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/last_nether_portal/get_message.json b/data/fz/tags/functions/module/last_nether_portal/get_message.json deleted file mode 100644 index 3a12e6e..0000000 --- a/data/fz/tags/functions/module/last_nether_portal/get_message.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/last_nether_portal/get_message", - "#fz:api/get_dimension_name" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/last_nether_portal/global_message.json b/data/fz/tags/functions/module/last_nether_portal/global_message.json deleted file mode 100644 index 5d17905..0000000 --- a/data/fz/tags/functions/module/last_nether_portal/global_message.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "#fz:module/last_nether_portal/get_message", - "fz:module/last_nether_portal/global_message" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/last_nether_portal/interactor/display.json b/data/fz/tags/functions/module/last_nether_portal/interactor/display.json deleted file mode 100644 index 57de05e..0000000 --- a/data/fz/tags/functions/module/last_nether_portal/interactor/display.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/last_nether_portal/interactor/display" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/last_nether_portal/interactor/on_click.json b/data/fz/tags/functions/module/last_nether_portal/interactor/on_click.json deleted file mode 100644 index 567ff57..0000000 --- a/data/fz/tags/functions/module/last_nether_portal/interactor/on_click.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/last_nether_portal/interactor/on_click" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/last_nether_portal/private_message.json b/data/fz/tags/functions/module/last_nether_portal/private_message.json deleted file mode 100644 index 78f2ffd..0000000 --- a/data/fz/tags/functions/module/last_nether_portal/private_message.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "#fz:module/last_nether_portal/get_message", - "fz:module/last_nether_portal/private_message" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/last_nether_portal/uninstall.json b/data/fz/tags/functions/module/last_nether_portal/uninstall.json deleted file mode 100644 index 9e8bad0..0000000 --- a/data/fz/tags/functions/module/last_nether_portal/uninstall.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/last_nether_portal/uninstall" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/last_spawn_point/get_spawn_point.json b/data/fz/tags/functions/module/last_spawn_point/get_spawn_point.json deleted file mode 100644 index 1237384..0000000 --- a/data/fz/tags/functions/module/last_spawn_point/get_spawn_point.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/last_spawn_point/get_spawn_point", - "#fz:api/get_dimension_name" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/last_spawn_point/install.json b/data/fz/tags/functions/module/last_spawn_point/install.json deleted file mode 100644 index 70d5136..0000000 --- a/data/fz/tags/functions/module/last_spawn_point/install.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/last_spawn_point/install" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/last_spawn_point/interactor/display.json b/data/fz/tags/functions/module/last_spawn_point/interactor/display.json deleted file mode 100644 index 90bd182..0000000 --- a/data/fz/tags/functions/module/last_spawn_point/interactor/display.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/last_spawn_point/interactor/display" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/last_spawn_point/interactor/on_click.json b/data/fz/tags/functions/module/last_spawn_point/interactor/on_click.json deleted file mode 100644 index 52ce2e2..0000000 --- a/data/fz/tags/functions/module/last_spawn_point/interactor/on_click.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/last_spawn_point/interactor/on_click" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/last_spawn_point/private_message.json b/data/fz/tags/functions/module/last_spawn_point/private_message.json deleted file mode 100644 index 4b076a0..0000000 --- a/data/fz/tags/functions/module/last_spawn_point/private_message.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "#fz:module/last_spawn_point/get_spawn_point", - "fz:module/last_spawn_point/private_message" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/last_spawn_point/uninstall.json b/data/fz/tags/functions/module/last_spawn_point/uninstall.json deleted file mode 100644 index 3e66409..0000000 --- a/data/fz/tags/functions/module/last_spawn_point/uninstall.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/last_spawn_point/uninstall" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/activation.json b/data/fz/tags/functions/module/scoreboard/assign/scoreboard/activation.json deleted file mode 100644 index acdbe58..0000000 --- a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/activation.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/scoreboard/assign/scoreboard/activation", - "#fz:module/scoreboard/assign/scoreboard/general/activation" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/aviating_distance.json b/data/fz/tags/functions/module/scoreboard/assign/scoreboard/aviating_distance.json deleted file mode 100644 index be6e8a7..0000000 --- a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/aviating_distance.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/scoreboard/assign/scoreboard/aviating_distance", - "#fz:module/scoreboard/assign/scoreboard/general/aviating_distance" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/damage_taken.json b/data/fz/tags/functions/module/scoreboard/assign/scoreboard/damage_taken.json deleted file mode 100644 index 15b2f8b..0000000 --- a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/damage_taken.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/scoreboard/assign/scoreboard/damage_taken", - "#fz:module/scoreboard/assign/scoreboard/general/damage_taken" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/death_count.json b/data/fz/tags/functions/module/scoreboard/assign/scoreboard/death_count.json deleted file mode 100644 index d326d25..0000000 --- a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/death_count.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/scoreboard/assign/scoreboard/death_count", - "#fz:module/scoreboard/assign/scoreboard/general/death_count" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/dig_count.json b/data/fz/tags/functions/module/scoreboard/assign/scoreboard/dig_count.json deleted file mode 100644 index 637f3d2..0000000 --- a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/dig_count.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/scoreboard/assign/scoreboard/dig_count", - "#fz:module/scoreboard/assign/scoreboard/general/dig_count" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/fishing_count.json b/data/fz/tags/functions/module/scoreboard/assign/scoreboard/fishing_count.json deleted file mode 100644 index c500da4..0000000 --- a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/fishing_count.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/scoreboard/assign/scoreboard/fishing_count", - "#fz:module/scoreboard/assign/scoreboard/general/fishing_count" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/kill_count.json b/data/fz/tags/functions/module/scoreboard/assign/scoreboard/kill_count.json deleted file mode 100644 index 8351710..0000000 --- a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/kill_count.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/scoreboard/assign/scoreboard/kill_count", - "#fz:module/scoreboard/assign/scoreboard/general/kill_count" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/trade_count.json b/data/fz/tags/functions/module/scoreboard/assign/scoreboard/trade_count.json deleted file mode 100644 index 850fe9a..0000000 --- a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/trade_count.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/scoreboard/assign/scoreboard/trade_count", - "#fz:module/scoreboard/assign/scoreboard/general/trade_count" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/clear_data.json b/data/fz/tags/functions/module/scoreboard/clear_data.json deleted file mode 100644 index 3915f94..0000000 --- a/data/fz/tags/functions/module/scoreboard/clear_data.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "__comment": "调用者:fz:module:scoreboard/uninstall", - "replace": false, - "values": [ - "fz:module/scoreboard/clear_data" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/display/carousel/try_display.json b/data/fz/tags/functions/module/scoreboard/display/carousel/try_display.json deleted file mode 100644 index 5db99b4..0000000 --- a/data/fz/tags/functions/module/scoreboard/display/carousel/try_display.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/scoreboard/display/carousel/try_display/activation", - "fz:module/scoreboard/display/carousel/try_display/aviating_distance", - "fz:module/scoreboard/display/carousel/try_display/damage_taken", - "fz:module/scoreboard/display/carousel/try_display/death_count", - "fz:module/scoreboard/display/carousel/try_display/dig_count", - "fz:module/scoreboard/display/carousel/try_display/fishing_count", - "fz:module/scoreboard/display/carousel/try_display/general", - "fz:module/scoreboard/display/carousel/try_display/kill_count", - "fz:module/scoreboard/display/carousel/try_display/placement_count", - "fz:module/scoreboard/display/carousel/try_display/trade_count" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/display/set_text.json b/data/fz/tags/functions/module/scoreboard/display/set_text.json deleted file mode 100644 index 4af081e..0000000 --- a/data/fz/tags/functions/module/scoreboard/display/set_text.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "__comments": [ - "调用者:fz:module/scoreboard/load", - "用于在加载时储存计分板颜色,不同计分板不得使用同一颜色!" - ], - "replace": false, - "values": [ - "#fz:module/scoreboard/display/set_text/activation", - "#fz:module/scoreboard/display/set_text/aviating_distance", - "#fz:module/scoreboard/display/set_text/carousel", - "#fz:module/scoreboard/display/set_text/damage_taken", - "#fz:module/scoreboard/display/set_text/death_count", - "#fz:module/scoreboard/display/set_text/dig_count", - "#fz:module/scoreboard/display/set_text/fishing_count", - "#fz:module/scoreboard/display/set_text/general", - "#fz:module/scoreboard/display/set_text/kill_count", - "#fz:module/scoreboard/display/set_text/placement_count", - "#fz:module/scoreboard/display/set_text/trade_count" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/display/set_text/aviating_distance.json b/data/fz/tags/functions/module/scoreboard/display/set_text/aviating_distance.json deleted file mode 100644 index 560ff44..0000000 --- a/data/fz/tags/functions/module/scoreboard/display/set_text/aviating_distance.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "__comments": [ - "调用者:#fz:module/scoreboard/display/set_text", - "用于在加载时储存计分板颜色,不同计分板不得使用同一颜色!", - "建议不要直接修改本文件,可编写扩展数据包并覆写本标签!" - ], - "__comment_replace": "编写扩展数据包时必须为true", - "replace": false, - "__comment_values": "此处只能填写一个函数!", - "values": [ - "fz:module/scoreboard/display/set_text/aviating_distance/light_purple" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/display/set_text/damage_taken.json b/data/fz/tags/functions/module/scoreboard/display/set_text/damage_taken.json deleted file mode 100644 index 38c0718..0000000 --- a/data/fz/tags/functions/module/scoreboard/display/set_text/damage_taken.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "__comments": [ - "调用者:#fz:module/scoreboard/display/set_text", - "用于在加载时储存计分板颜色,不同计分板不得使用同一颜色!", - "建议不要直接修改本文件,可编写扩展数据包并覆写本标签!" - ], - "__comment_replace": "编写扩展数据包时必须为true", - "replace": false, - "__comment_values": "此处只能填写一个函数!", - "values": [ - "fz:module/scoreboard/display/set_text/damage_taken/yellow" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/display/set_text/fishing_count.json b/data/fz/tags/functions/module/scoreboard/display/set_text/fishing_count.json deleted file mode 100644 index b10a7aa..0000000 --- a/data/fz/tags/functions/module/scoreboard/display/set_text/fishing_count.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "__comments": [ - "调用者:#fz:module/scoreboard/display/set_text", - "用于在加载时储存计分板颜色,不同计分板不得使用同一颜色!", - "建议不要直接修改本文件,可编写扩展数据包并覆写本标签!" - ], - "__comment_replace": "编写扩展数据包时必须为true", - "replace": false, - "__comment_values": "此处只能填写一个函数!", - "values": [ - "fz:module/scoreboard/display/set_text/fishing_count/blue" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/display/set_text/placement_count.json b/data/fz/tags/functions/module/scoreboard/display/set_text/placement_count.json deleted file mode 100644 index 0c514e7..0000000 --- a/data/fz/tags/functions/module/scoreboard/display/set_text/placement_count.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/scoreboard/display/set_text/placement_count/dark_blue" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/display/set_text/trade_count.json b/data/fz/tags/functions/module/scoreboard/display/set_text/trade_count.json deleted file mode 100644 index 86200e0..0000000 --- a/data/fz/tags/functions/module/scoreboard/display/set_text/trade_count.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "__comments": [ - "调用者:#fz:module/scoreboard/display/set_text", - "用于在加载时储存计分板颜色,不同计分板不得使用同一颜色!", - "建议不要直接修改本文件,可编写扩展数据包并覆写本标签!" - ], - "__comment_replace": "编写扩展数据包时必须为true", - "replace": false, - "__comment_values": "此处只能填写一个函数!", - "values": [ - "fz:module/scoreboard/display/set_text/trade_count/green" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/install.json b/data/fz/tags/functions/module/scoreboard/install.json deleted file mode 100644 index 69def0f..0000000 --- a/data/fz/tags/functions/module/scoreboard/install.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "__comment": "调用者:#fz:module/install", - "replace": false, - "values": [ - "fz:module/scoreboard/install" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/interactor/display.json b/data/fz/tags/functions/module/scoreboard/interactor/display.json deleted file mode 100644 index 2241b42..0000000 --- a/data/fz/tags/functions/module/scoreboard/interactor/display.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/scoreboard/interactor/display" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/interactor/on_click.json b/data/fz/tags/functions/module/scoreboard/interactor/on_click.json deleted file mode 100644 index 3b1148c..0000000 --- a/data/fz/tags/functions/module/scoreboard/interactor/on_click.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/scoreboard/interactor/on_click" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/interactor/subscribe/activation.json b/data/fz/tags/functions/module/scoreboard/interactor/subscribe/activation.json deleted file mode 100644 index 21b2869..0000000 --- a/data/fz/tags/functions/module/scoreboard/interactor/subscribe/activation.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/scoreboard/interactor/subscribe/activation" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/interactor/subscribe/aviating_distance.json b/data/fz/tags/functions/module/scoreboard/interactor/subscribe/aviating_distance.json deleted file mode 100644 index ace3d50..0000000 --- a/data/fz/tags/functions/module/scoreboard/interactor/subscribe/aviating_distance.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/scoreboard/interactor/subscribe/aviating_distance" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/interactor/subscribe/carousel.json b/data/fz/tags/functions/module/scoreboard/interactor/subscribe/carousel.json deleted file mode 100644 index cdc5e36..0000000 --- a/data/fz/tags/functions/module/scoreboard/interactor/subscribe/carousel.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/scoreboard/interactor/subscribe/carousel" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/interactor/subscribe/damage_taken.json b/data/fz/tags/functions/module/scoreboard/interactor/subscribe/damage_taken.json deleted file mode 100644 index 543d201..0000000 --- a/data/fz/tags/functions/module/scoreboard/interactor/subscribe/damage_taken.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/scoreboard/interactor/subscribe/damage_taken" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/interactor/subscribe/death_count.json b/data/fz/tags/functions/module/scoreboard/interactor/subscribe/death_count.json deleted file mode 100644 index b593c9e..0000000 --- a/data/fz/tags/functions/module/scoreboard/interactor/subscribe/death_count.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/scoreboard/interactor/subscribe/death_count" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/interactor/subscribe/dig_count.json b/data/fz/tags/functions/module/scoreboard/interactor/subscribe/dig_count.json deleted file mode 100644 index 61472eb..0000000 --- a/data/fz/tags/functions/module/scoreboard/interactor/subscribe/dig_count.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/scoreboard/interactor/subscribe/dig_count" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/interactor/subscribe/fishing_count.json b/data/fz/tags/functions/module/scoreboard/interactor/subscribe/fishing_count.json deleted file mode 100644 index 280135b..0000000 --- a/data/fz/tags/functions/module/scoreboard/interactor/subscribe/fishing_count.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/scoreboard/interactor/subscribe/fishing_count" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/interactor/subscribe/general.json b/data/fz/tags/functions/module/scoreboard/interactor/subscribe/general.json deleted file mode 100644 index 50daa78..0000000 --- a/data/fz/tags/functions/module/scoreboard/interactor/subscribe/general.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/scoreboard/interactor/subscribe/general" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/interactor/subscribe/kill_count.json b/data/fz/tags/functions/module/scoreboard/interactor/subscribe/kill_count.json deleted file mode 100644 index e203b71..0000000 --- a/data/fz/tags/functions/module/scoreboard/interactor/subscribe/kill_count.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/scoreboard/interactor/subscribe/kill_count" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/interactor/subscribe/off.json b/data/fz/tags/functions/module/scoreboard/interactor/subscribe/off.json deleted file mode 100644 index 1e12b73..0000000 --- a/data/fz/tags/functions/module/scoreboard/interactor/subscribe/off.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/scoreboard/interactor/subscribe/off" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/interactor/subscribe/placement_count.json b/data/fz/tags/functions/module/scoreboard/interactor/subscribe/placement_count.json deleted file mode 100644 index 0f81557..0000000 --- a/data/fz/tags/functions/module/scoreboard/interactor/subscribe/placement_count.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/scoreboard/interactor/subscribe/placement_count" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/interactor/subscribe/trade_count.json b/data/fz/tags/functions/module/scoreboard/interactor/subscribe/trade_count.json deleted file mode 100644 index 1495157..0000000 --- a/data/fz/tags/functions/module/scoreboard/interactor/subscribe/trade_count.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:module/scoreboard/interactor/subscribe/trade_count" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/load.json b/data/fz/tags/functions/module/scoreboard/load.json deleted file mode 100644 index 1c6709c..0000000 --- a/data/fz/tags/functions/module/scoreboard/load.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "__comment": "调用者:fz:module/try_load", - "replace": false, - "values": [ - "fz:module/scoreboard/display/reset_id", - "fz:module/scoreboard/display/register_id", - "#fz:module/scoreboard/display/set_text", - "fz:module/scoreboard/display/carousel/loop", - "fz:module/scoreboard/load" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/uninstall.json b/data/fz/tags/functions/module/scoreboard/uninstall.json deleted file mode 100644 index f5bdad4..0000000 --- a/data/fz/tags/functions/module/scoreboard/uninstall.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "__comment": "调用者:#fz:module/uninstall", - "replace": false, - "values": [ - "fz:module/scoreboard/uninstall" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/module/try_load.json b/data/fz/tags/functions/module/try_load.json deleted file mode 100644 index 3f730aa..0000000 --- a/data/fz/tags/functions/module/try_load.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "__comment": "调用者:fz:load", - "replace": false, - "values": [ - "fz:module/try_load" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/system/install/module.json b/data/fz/tags/functions/system/install/module.json deleted file mode 100644 index 5137537..0000000 --- a/data/fz/tags/functions/system/install/module.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "replace": false, - "values": [ - "#fz:module/interactor/install", - "#fz:module/health/install", - "#fz:module/here/install", - "#fz:module/last_death/install", - "#fz:module/last_nether_portal/install", - "#fz:module/last_spawn_point/install", - "#fz:module/scoreboard/install" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/system/install/system.json b/data/fz/tags/functions/system/install/system.json deleted file mode 100644 index 67cdd5e..0000000 --- a/data/fz/tags/functions/system/install/system.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:system/install", - "fz:logger/install", - "fz:game_event/install" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/system/load/system.json b/data/fz/tags/functions/system/load/system.json deleted file mode 100644 index 88715eb..0000000 --- a/data/fz/tags/functions/system/load/system.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:system/load", - "fz:logger/load", - "fz:game_event/load" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/system/uninstall/module.json b/data/fz/tags/functions/system/uninstall/module.json deleted file mode 100644 index e94c7c3..0000000 --- a/data/fz/tags/functions/system/uninstall/module.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "replace": false, - "values": [ - "#fz:module/interactor/uninstall", - "#fz:module/health/uninstall", - "#fz:module/here/uninstall", - "#fz:module/last_death/uninstall", - "#fz:module/last_nether_portal/uninstall", - "#fz:module/last_spawn_point/uninstall", - "#fz:module/scoreboard/uninstall" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/system/uninstall/system.json b/data/fz/tags/functions/system/uninstall/system.json deleted file mode 100644 index 799e85b..0000000 --- a/data/fz/tags/functions/system/uninstall/system.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:system/uninstall", - "fz:game_event/uninstall", - "fz:logger/uninstall" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/system/uninstall/uninstalled.json b/data/fz/tags/functions/system/uninstall/uninstalled.json deleted file mode 100644 index c31f26b..0000000 --- a/data/fz/tags/functions/system/uninstall/uninstalled.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "fz:system/uninstalled" - ] -} \ No newline at end of file diff --git a/data/fz/tags/functions/uninstall.json b/data/fz/tags/functions/uninstall.json deleted file mode 100644 index 3196d1b..0000000 --- a/data/fz/tags/functions/uninstall.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "replace": false, - "values": [ - "#fz:system/uninstall/module", - "#fz:system/uninstall/system", - "#fz:system/uninstall/uninstalled" - ] -} \ No newline at end of file diff --git a/data/fz/tags/items/tools.json b/data/fz/tags/items/tools.json deleted file mode 100644 index 750fe07..0000000 --- a/data/fz/tags/items/tools.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "replace": false, - "values": [ - "#fz:tool/axes", - "#fz:tool/hoes", - "#fz:tool/pickaxes", - "#fz:tool/shears", - "#fz:tool/shovels", - "#fz:tool/swords" - ] -} \ No newline at end of file diff --git a/data/fz/advancements/game_event.json b/data/fzsd/advancements/game_event.json similarity index 100% rename from data/fz/advancements/game_event.json rename to data/fzsd/advancements/game_event.json diff --git a/data/fz/advancements/game_event/on_aviate_one_meter.json b/data/fzsd/advancements/game_event/on_aviate_one_meter.json similarity index 75% rename from data/fz/advancements/game_event/on_aviate_one_meter.json rename to data/fzsd/advancements/game_event/on_aviate_one_meter.json index 4471337..8eaf973 100644 --- a/data/fz/advancements/game_event/on_aviate_one_meter.json +++ b/data/fzsd/advancements/game_event/on_aviate_one_meter.json @@ -1,5 +1,5 @@ { - "parent": "fz:game_event", + "parent": "fzsd:game_event", "criteria": { "on_aviate_one_meter": { "trigger": "minecraft:tick", @@ -9,7 +9,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.aviating_distance": { + "fzsd.event.aviating_distance": { "min": 200 } } @@ -19,6 +19,6 @@ } }, "rewards": { - "function": "fz:game_event/advancement/on_aviate_one_meter" + "function": "fzsd:game_event/advancement/on_aviate_one_meter" } } \ No newline at end of file diff --git a/data/fz/advancements/game_event/on_dead.json b/data/fzsd/advancements/game_event/on_dead.json similarity index 77% rename from data/fz/advancements/game_event/on_dead.json rename to data/fzsd/advancements/game_event/on_dead.json index b780bee..1bfff19 100644 --- a/data/fz/advancements/game_event/on_dead.json +++ b/data/fzsd/advancements/game_event/on_dead.json @@ -1,5 +1,5 @@ { - "parent": "fz:game_event", + "parent": "fzsd:game_event", "criteria": { "on_dead": { "trigger": "minecraft:tick", @@ -9,7 +9,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.death_count": { + "fzsd.event.death_count": { "min": 1 } } @@ -19,6 +19,6 @@ } }, "rewards": { - "function": "fz:game_event/advancement/on_dead" + "function": "fzsd:game_event/advancement/on_dead" } } \ No newline at end of file diff --git a/data/fz/advancements/game_event/on_entered_nether_portal.json b/data/fzsd/advancements/game_event/on_entered_nether_portal.json similarity index 84% rename from data/fz/advancements/game_event/on_entered_nether_portal.json rename to data/fzsd/advancements/game_event/on_entered_nether_portal.json index dd89dc8..d65ae5e 100644 --- a/data/fz/advancements/game_event/on_entered_nether_portal.json +++ b/data/fzsd/advancements/game_event/on_entered_nether_portal.json @@ -1,5 +1,5 @@ { - "parent": "fz:game_event", + "parent": "fzsd:game_event", "criteria": { "on_entered_nether_portal": { "trigger": "minecraft:changed_dimension", @@ -7,7 +7,7 @@ "player": [ { "condition": "minecraft:reference", - "name": "fz:is_real_player" + "name": "fzsd:is_real_player" }, { "condition": "minecraft:entity_properties", @@ -27,6 +27,6 @@ } }, "rewards": { - "function": "fz:game_event/advancement/on_entered_nether_portal" + "function": "fzsd:game_event/advancement/on_entered_nether_portal" } } \ No newline at end of file diff --git a/data/fz/advancements/game_event/on_fished.json b/data/fzsd/advancements/game_event/on_fished.json similarity index 66% rename from data/fz/advancements/game_event/on_fished.json rename to data/fzsd/advancements/game_event/on_fished.json index 98c756b..62e505b 100644 --- a/data/fz/advancements/game_event/on_fished.json +++ b/data/fzsd/advancements/game_event/on_fished.json @@ -1,5 +1,5 @@ { - "parent": "fz:game_event", + "parent": "fzsd:game_event", "criteria": { "on_fished": { "trigger": "minecraft:fishing_rod_hooked", @@ -7,16 +7,16 @@ "player": [ { "condition": "minecraft:reference", - "name": "fz:is_real_player" + "name": "fzsd:is_real_player" } ], "item": { - "tag": "fz:raw_fishes" + "tag": "fzsd:raw_fishes" } } } }, "rewards": { - "function": "fz:game_event/advancement/on_fished" + "function": "fzsd:game_event/advancement/on_fished" } } \ No newline at end of file diff --git a/data/fz/advancements/game_event/on_hurt_entity_with_tools.json b/data/fzsd/advancements/game_event/on_hurt_entity_with_tools.json similarity index 76% rename from data/fz/advancements/game_event/on_hurt_entity_with_tools.json rename to data/fzsd/advancements/game_event/on_hurt_entity_with_tools.json index 6d62cf3..d14403d 100644 --- a/data/fz/advancements/game_event/on_hurt_entity_with_tools.json +++ b/data/fzsd/advancements/game_event/on_hurt_entity_with_tools.json @@ -1,5 +1,5 @@ { - "parent": "fz:game_event", + "parent": "fzsd:game_event", "criteria": { "on_hurt_entity_with_tools": { "trigger": "minecraft:player_hurt_entity", @@ -7,7 +7,7 @@ "player": [ { "condition": "minecraft:reference", - "name": "fz:is_real_player" + "name": "fzsd:is_real_player" }, { "condition": "minecraft:entity_properties", @@ -15,7 +15,7 @@ "predicate": { "equipment": { "mainhand": { - "tag": "fz:tools" + "tag": "fzsd:tools" } } } @@ -25,6 +25,6 @@ } }, "rewards": { - "function": "fz:game_event/advancement/on_hurt_entity_with_tools" + "function": "fzsd:game_event/advancement/on_hurt_entity_with_tools" } } \ No newline at end of file diff --git a/data/fz/advancements/game_event/on_killed_mob_or_player.json b/data/fzsd/advancements/game_event/on_killed_mob_or_player.json similarity index 78% rename from data/fz/advancements/game_event/on_killed_mob_or_player.json rename to data/fzsd/advancements/game_event/on_killed_mob_or_player.json index c0b60de..e9982f5 100644 --- a/data/fz/advancements/game_event/on_killed_mob_or_player.json +++ b/data/fzsd/advancements/game_event/on_killed_mob_or_player.json @@ -1,5 +1,5 @@ { - "parent": "fz:game_event", + "parent": "fzsd:game_event", "criteria": { "on_killed_mob_or_player": { "trigger": "minecraft:player_killed_entity", @@ -7,7 +7,7 @@ "player": [ { "condition": "minecraft:reference", - "name": "fz:is_real_player" + "name": "fzsd:is_real_player" } ], "entity": [ @@ -17,7 +17,7 @@ "condition": "minecraft:entity_properties", "entity": "this", "predicate": { - "type": "#fz:ignore_on_player_killed_entity" + "type": "#fzsd:ignore_on_player_killed_entity" } } } @@ -29,6 +29,6 @@ } }, "rewards": { - "function": "fz:game_event/advancement/on_killed_mob_or_player" + "function": "fzsd:game_event/advancement/on_killed_mob_or_player" } } \ No newline at end of file diff --git a/data/fz/advancements/game_event/on_login.json b/data/fzsd/advancements/game_event/on_login.json similarity index 80% rename from data/fz/advancements/game_event/on_login.json rename to data/fzsd/advancements/game_event/on_login.json index 8264807..a66109b 100644 --- a/data/fz/advancements/game_event/on_login.json +++ b/data/fzsd/advancements/game_event/on_login.json @@ -1,5 +1,5 @@ { - "parent": "fz:game_event", + "parent": "fzsd:game_event", "criteria": { "on_login": { "trigger": "tick", @@ -11,7 +11,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.leave_game": { + "fzsd.event.leave_game": { "max": 0 } } @@ -22,6 +22,6 @@ } }, "rewards": { - "function": "fz:game_event/advancement/on_login" + "function": "fzsd:game_event/advancement/on_login" } } \ No newline at end of file diff --git a/data/fz/advancements/game_event/on_piglin_trade.json b/data/fzsd/advancements/game_event/on_piglin_trade.json similarity index 77% rename from data/fz/advancements/game_event/on_piglin_trade.json rename to data/fzsd/advancements/game_event/on_piglin_trade.json index 8213433..e044092 100644 --- a/data/fz/advancements/game_event/on_piglin_trade.json +++ b/data/fzsd/advancements/game_event/on_piglin_trade.json @@ -1,5 +1,5 @@ { - "parent": "fz:game_event", + "parent": "fzsd:game_event", "criteria": { "on_piglin_trade": { "trigger": "minecraft:thrown_item_picked_up_by_entity", @@ -7,7 +7,7 @@ "player": [ { "condition": "minecraft:reference", - "name": "fz:is_real_player" + "name": "fzsd:is_real_player" } ], "entity": { @@ -20,6 +20,6 @@ } }, "rewards": { - "function": "fz:game_event/advancement/on_piglin_trade" + "function": "fzsd:game_event/advancement/on_piglin_trade" } } \ No newline at end of file diff --git a/data/fz/advancements/game_event/on_placed_block.json b/data/fzsd/advancements/game_event/on_placed_block.json similarity index 68% rename from data/fz/advancements/game_event/on_placed_block.json rename to data/fzsd/advancements/game_event/on_placed_block.json index d98d00c..f587037 100644 --- a/data/fz/advancements/game_event/on_placed_block.json +++ b/data/fzsd/advancements/game_event/on_placed_block.json @@ -1,5 +1,5 @@ { - "parent": "fz:game_event", + "parent": "fzsd:game_event", "criteria": { "on_placed_block": { "trigger": "minecraft:placed_block", @@ -7,13 +7,13 @@ "player": [ { "condition": "minecraft:reference", - "name": "fz:is_real_player" + "name": "fzsd:is_real_player" } ] } } }, "rewards": { - "function": "fz:game_event/advancement/on_placed_block" + "function": "fzsd:game_event/advancement/on_placed_block" } } \ No newline at end of file diff --git a/data/fz/advancements/game_event/on_play_one_hour.json b/data/fzsd/advancements/game_event/on_play_one_hour.json similarity index 76% rename from data/fz/advancements/game_event/on_play_one_hour.json rename to data/fzsd/advancements/game_event/on_play_one_hour.json index fd9751c..2208f1c 100644 --- a/data/fz/advancements/game_event/on_play_one_hour.json +++ b/data/fzsd/advancements/game_event/on_play_one_hour.json @@ -1,5 +1,5 @@ { - "parent": "fz:game_event", + "parent": "fzsd:game_event", "criteria": { "on_play_one_hour": { "trigger": "minecraft:tick", @@ -9,7 +9,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.play_ticks": { + "fzsd.event.play_ticks": { "min": 72000 } } @@ -19,6 +19,6 @@ } }, "rewards": { - "function": "fz:game_event/advancement/on_play_one_hour" + "function": "fzsd:game_event/advancement/on_play_one_hour" } } \ No newline at end of file diff --git a/data/fz/advancements/game_event/on_shears_used_on_entity.json b/data/fzsd/advancements/game_event/on_shears_used_on_entity.json similarity index 63% rename from data/fz/advancements/game_event/on_shears_used_on_entity.json rename to data/fzsd/advancements/game_event/on_shears_used_on_entity.json index eb5802e..97ed896 100644 --- a/data/fz/advancements/game_event/on_shears_used_on_entity.json +++ b/data/fzsd/advancements/game_event/on_shears_used_on_entity.json @@ -1,5 +1,5 @@ { - "parent": "fz:game_event", + "parent": "fzsd:game_event", "criteria": { "on_shears_used_on_entity": { "trigger": "minecraft:player_interacted_with_entity", @@ -7,19 +7,19 @@ "player": [ { "condition": "minecraft:reference", - "name": "fz:is_real_player" + "name": "fzsd:is_real_player" } ], "entity": { - "type": "#fz:shearable" + "type": "#fzsd:shearable" }, "item": { - "tag": "fz:tool/shears" + "tag": "fzsd:tool/shears" } } } }, "rewards": { - "function": "fz:game_event/advancement/on_shears_used_on_entity" + "function": "fzsd:game_event/advancement/on_shears_used_on_entity" } } \ No newline at end of file diff --git a/data/fz/advancements/game_event/on_sneak.json b/data/fzsd/advancements/game_event/on_sneak.json similarity index 81% rename from data/fz/advancements/game_event/on_sneak.json rename to data/fzsd/advancements/game_event/on_sneak.json index 3adde35..0162a72 100644 --- a/data/fz/advancements/game_event/on_sneak.json +++ b/data/fzsd/advancements/game_event/on_sneak.json @@ -1,5 +1,5 @@ { - "parent": "fz:game_event", + "parent": "fzsd:game_event", "criteria": { "on_sneak": { "trigger": "minecraft:tick", @@ -7,7 +7,7 @@ "player": [ { "condition": "minecraft:reference", - "name": "fz:is_real_player" + "name": "fzsd:is_real_player" }, { "condition": "minecraft:entity_properties", @@ -23,6 +23,6 @@ } }, "rewards": { - "function": "fz:game_event/advancement/on_sneak" + "function": "fzsd:game_event/advancement/on_sneak" } } \ No newline at end of file diff --git a/data/fz/advancements/game_event/on_took_damage.json b/data/fzsd/advancements/game_event/on_took_damage.json similarity index 76% rename from data/fz/advancements/game_event/on_took_damage.json rename to data/fzsd/advancements/game_event/on_took_damage.json index ffc8781..b5fa98f 100644 --- a/data/fz/advancements/game_event/on_took_damage.json +++ b/data/fzsd/advancements/game_event/on_took_damage.json @@ -1,5 +1,5 @@ { - "parent": "fz:game_event", + "parent": "fzsd:game_event", "criteria": { "on_took_damage": { "trigger": "minecraft:tick", @@ -9,7 +9,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.damage_taken": { + "fzsd.event.damage_taken": { "min": 10 } } @@ -19,6 +19,6 @@ } }, "rewards": { - "function": "fz:game_event/advancement/on_took_damage" + "function": "fzsd:game_event/advancement/on_took_damage" } } \ No newline at end of file diff --git a/data/fz/advancements/game_event/on_tools_used_on_block.json b/data/fzsd/advancements/game_event/on_tools_used_on_block.json similarity index 69% rename from data/fz/advancements/game_event/on_tools_used_on_block.json rename to data/fzsd/advancements/game_event/on_tools_used_on_block.json index c67d35d..3a0b083 100644 --- a/data/fz/advancements/game_event/on_tools_used_on_block.json +++ b/data/fzsd/advancements/game_event/on_tools_used_on_block.json @@ -1,5 +1,5 @@ { - "parent": "fz:game_event", + "parent": "fzsd:game_event", "criteria": { "on_tools_used_on_block": { "__comment": "斧子剥树皮会触发两次!", @@ -8,16 +8,16 @@ "player": [ { "condition": "minecraft:reference", - "name": "fz:is_real_player" + "name": "fzsd:is_real_player" } ], "item": { - "tag": "fz:tools" + "tag": "fzsd:tools" } } } }, "rewards": { - "function": "fz:game_event/advancement/on_tools_used_on_block" + "function": "fzsd:game_event/advancement/on_tools_used_on_block" } } \ No newline at end of file diff --git a/data/fz/advancements/game_event/on_unsneak.json b/data/fzsd/advancements/game_event/on_unsneak.json similarity index 79% rename from data/fz/advancements/game_event/on_unsneak.json rename to data/fzsd/advancements/game_event/on_unsneak.json index 4feeb20..c2b20c4 100644 --- a/data/fz/advancements/game_event/on_unsneak.json +++ b/data/fzsd/advancements/game_event/on_unsneak.json @@ -1,5 +1,5 @@ { - "parent": "fz:game_event/on_sneak", + "parent": "fzsd:game_event/on_sneak", "criteria": { "on_unsneak": { "trigger": "minecraft:tick", @@ -7,7 +7,7 @@ "player": [ { "condition": "minecraft:reference", - "name": "fz:is_real_player" + "name": "fzsd:is_real_player" }, { "condition": "minecraft:entity_properties", @@ -19,7 +19,7 @@ "type_specific": { "type": "player", "advancements": { - "fz:game_event/on_sneak": true + "fzsd:game_event/on_sneak": true } } } @@ -29,6 +29,6 @@ } }, "rewards": { - "function": "fz:game_event/advancement/on_unsneak" + "function": "fzsd:game_event/advancement/on_unsneak" } } \ No newline at end of file diff --git a/data/fz/advancements/game_event/on_used_tool.json b/data/fzsd/advancements/game_event/on_used_tool.json similarity index 71% rename from data/fz/advancements/game_event/on_used_tool.json rename to data/fzsd/advancements/game_event/on_used_tool.json index f6e8204..bc35607 100644 --- a/data/fz/advancements/game_event/on_used_tool.json +++ b/data/fzsd/advancements/game_event/on_used_tool.json @@ -1,5 +1,5 @@ { - "parent": "fz:game_event", + "parent": "fzsd:game_event", "criteria": { "on_used_tool": { "trigger": "minecraft:tick", @@ -8,13 +8,13 @@ { "condition": "minecraft:reference", "entity": "this", - "name": "fz:used_tool" + "name": "fzsd:used_tool" } ] } } }, "rewards": { - "function": "fz:game_event/advancement/on_used_tool" + "function": "fzsd:game_event/advancement/on_used_tool" } } \ No newline at end of file diff --git a/data/fz/advancements/game_event/on_villager_trade.json b/data/fzsd/advancements/game_event/on_villager_trade.json similarity index 68% rename from data/fz/advancements/game_event/on_villager_trade.json rename to data/fzsd/advancements/game_event/on_villager_trade.json index bf79ee4..f4d6c37 100644 --- a/data/fz/advancements/game_event/on_villager_trade.json +++ b/data/fzsd/advancements/game_event/on_villager_trade.json @@ -1,5 +1,5 @@ { - "parent": "fz:game_event", + "parent": "fzsd:game_event", "criteria": { "on_villager_trade": { "trigger": "minecraft:villager_trade", @@ -7,13 +7,13 @@ "player": [ { "condition": "minecraft:reference", - "name": "fz:is_real_player" + "name": "fzsd:is_real_player" } ] } } }, "rewards": { - "function": "fz:game_event/advancement/on_villager_trade" + "function": "fzsd:game_event/advancement/on_villager_trade" } } \ No newline at end of file diff --git a/data/fz/advancements/module/interactor.json b/data/fzsd/advancements/module/interactor.json similarity index 100% rename from data/fz/advancements/module/interactor.json rename to data/fzsd/advancements/module/interactor.json diff --git a/data/fzsd/advancements/module/interactor/on_click.json b/data/fzsd/advancements/module/interactor/on_click.json new file mode 100644 index 0000000..e038816 --- /dev/null +++ b/data/fzsd/advancements/module/interactor/on_click.json @@ -0,0 +1,42 @@ +{ + "parent": "fzsd:module/interactor", + "criteria": { + "on_click": { + "trigger": "minecraft:tick", + "conditions": { + "player": [ + { + "condition": "minecraft:reference", + "name": "fzsd:is_real_player" + }, + { + "condition": "minecraft:alternative", + "terms": [ + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.module.interactor.trigger": { + "min": 1 + } + } + }, + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.module.interactor.trigger": { + "max": -1 + } + } + } + ] + } + ] + } + } + }, + "rewards": { + "function": "fzsd:module/interactor/event/on_click" + } +} \ No newline at end of file diff --git a/data/fzsd/functions/api/get_dimension_name/default.mcfunction b/data/fzsd/functions/api/get_dimension_name/default.mcfunction new file mode 100644 index 0000000..afc12f5 --- /dev/null +++ b/data/fzsd/functions/api/get_dimension_name/default.mcfunction @@ -0,0 +1 @@ +data modify storage fzsd:global fzsd.api.dimension.name set value '{"nbt": "fzsd.cache.dimension.id", "storage": "fzsd:global"}' \ No newline at end of file diff --git a/data/fzsd/functions/api/get_dimension_name/minecraft/overworld.mcfunction b/data/fzsd/functions/api/get_dimension_name/minecraft/overworld.mcfunction new file mode 100644 index 0000000..8f7e258 --- /dev/null +++ b/data/fzsd/functions/api/get_dimension_name/minecraft/overworld.mcfunction @@ -0,0 +1 @@ +execute if data storage fzsd:global fzsd.api.dimension{id:'minecraft:overworld'} run data modify storage fzsd:global fzsd.api.dimension.name set value '{"text": "主世界", "color": "dark_green"}' \ No newline at end of file diff --git a/data/fzsd/functions/api/get_dimension_name/minecraft/the_end.mcfunction b/data/fzsd/functions/api/get_dimension_name/minecraft/the_end.mcfunction new file mode 100644 index 0000000..dbccdcd --- /dev/null +++ b/data/fzsd/functions/api/get_dimension_name/minecraft/the_end.mcfunction @@ -0,0 +1 @@ +execute if data storage fzsd:global fzsd.api.dimension{id:'minecraft:the_end'} run data modify storage fzsd:global fzsd.api.dimension.name set value '{"text": "末地", "color": "dark_gray"}' \ No newline at end of file diff --git a/data/fzsd/functions/api/get_dimension_name/minecraft/the_nether.mcfunction b/data/fzsd/functions/api/get_dimension_name/minecraft/the_nether.mcfunction new file mode 100644 index 0000000..05c0a73 --- /dev/null +++ b/data/fzsd/functions/api/get_dimension_name/minecraft/the_nether.mcfunction @@ -0,0 +1 @@ +execute if data storage fzsd:global fzsd.api.dimension{id:'minecraft:the_nether'} run data modify storage fzsd:global fzsd.api.dimension.name set value '{"text": "下界", "color": "dark_red"}' \ No newline at end of file diff --git a/data/fzsd/functions/api/get_player_dimension.mcfunction b/data/fzsd/functions/api/get_player_dimension.mcfunction new file mode 100644 index 0000000..aac4b24 --- /dev/null +++ b/data/fzsd/functions/api/get_player_dimension.mcfunction @@ -0,0 +1,2 @@ +data modify storage fzsd:global fzsd.api.dimension.id set from entity @s Dimension +data remove storage fzsd:global fzsd.api.dimension.name \ No newline at end of file diff --git a/data/fzsd/functions/boot.mcfunction b/data/fzsd/functions/boot.mcfunction new file mode 100644 index 0000000..0fa82a1 --- /dev/null +++ b/data/fzsd/functions/boot.mcfunction @@ -0,0 +1,5 @@ +execute store success storage fzsd:version fzsd.need_update int 1 run data merge storage fzsd:version {fzsd:{version: '3.0.0-beta.5'}} +execute if data storage fzsd:version fzsd{need_update: 1} run function fzsd:system/update +function fzsd:system/carpet/try_load_fzsd_score +function #fzsd:load +execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "FZ Survival Data Pack,当前版本:", "color": "gold"}, {"nbt":"fzsd.version", "storage": "fzsd:version", "color": "yellow"}] diff --git a/data/fzsd/functions/entry.mcfunction b/data/fzsd/functions/entry.mcfunction new file mode 100644 index 0000000..5c98ccd --- /dev/null +++ b/data/fzsd/functions/entry.mcfunction @@ -0,0 +1 @@ +execute unless data storage fzsd:installed fzsd{global: 0b} run function fzsd:boot \ No newline at end of file diff --git a/data/fzsd/functions/game_event/advancement/on_aviate_one_meter.mcfunction b/data/fzsd/functions/game_event/advancement/on_aviate_one_meter.mcfunction new file mode 100644 index 0000000..732739c --- /dev/null +++ b/data/fzsd/functions/game_event/advancement/on_aviate_one_meter.mcfunction @@ -0,0 +1,7 @@ +# 调用者:advancements/fzsd:~ + +execute if predicate fzsd:is_real_player run function fzsd:game_event/player/on_aviate_one_meter + +## 重置事件 +scoreboard players operation @s fzsd.event.aviating_distance %= 200 fzsd.variable.integer +advancement revoke @s only fzsd:game_event/on_aviate_one_meter \ No newline at end of file diff --git a/data/fzsd/functions/game_event/advancement/on_dead.mcfunction b/data/fzsd/functions/game_event/advancement/on_dead.mcfunction new file mode 100644 index 0000000..4a7511c --- /dev/null +++ b/data/fzsd/functions/game_event/advancement/on_dead.mcfunction @@ -0,0 +1,7 @@ +# 调用者:advancements/fzsd:~ + +execute if predicate fzsd:is_real_player run function fzsd:game_event/player/on_dead + +## 重置事件 +scoreboard players set @s fzsd.event.death_count 0 +advancement revoke @s only fzsd:game_event/on_dead \ No newline at end of file diff --git a/data/fzsd/functions/game_event/advancement/on_entered_nether_portal.mcfunction b/data/fzsd/functions/game_event/advancement/on_entered_nether_portal.mcfunction new file mode 100644 index 0000000..a54c2c1 --- /dev/null +++ b/data/fzsd/functions/game_event/advancement/on_entered_nether_portal.mcfunction @@ -0,0 +1,7 @@ +## 调试 +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_entered_nether_portal + +## 重置事件进度 +advancement revoke @s only fzsd:game_event/on_entered_nether_portal \ No newline at end of file diff --git a/data/fzsd/functions/game_event/advancement/on_fished.mcfunction b/data/fzsd/functions/game_event/advancement/on_fished.mcfunction new file mode 100644 index 0000000..da74e56 --- /dev/null +++ b/data/fzsd/functions/game_event/advancement/on_fished.mcfunction @@ -0,0 +1,10 @@ +# 调用者: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_fished + +## 重置事件进度 +advancement revoke @s only fzsd:game_event/on_fished \ No newline at end of file diff --git a/data/fzsd/functions/game_event/advancement/on_hurt_entity_with_tools.mcfunction b/data/fzsd/functions/game_event/advancement/on_hurt_entity_with_tools.mcfunction new file mode 100644 index 0000000..d7fdcd6 --- /dev/null +++ b/data/fzsd/functions/game_event/advancement/on_hurt_entity_with_tools.mcfunction @@ -0,0 +1,13 @@ +# 调用者: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": "使用了挖掘工具攻击实体"}] + +## 计算挖掘数据偏移量 +scoreboard players remove @s fzsd.event.used_tool.dig_offset 1 + +## 运行事件 +function #fzsd:game_event/player/on_hurt_entity_with_tools + +## 重置事件进度 +advancement revoke @s only fzsd:game_event/on_hurt_entity_with_tools diff --git a/data/fzsd/functions/game_event/advancement/on_killed_mob_or_player.mcfunction b/data/fzsd/functions/game_event/advancement/on_killed_mob_or_player.mcfunction new file mode 100644 index 0000000..cf55eb7 --- /dev/null +++ b/data/fzsd/functions/game_event/advancement/on_killed_mob_or_player.mcfunction @@ -0,0 +1,10 @@ +# 调用者: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_killed_mob_or_player + +## 重置事件进度 +advancement revoke @s only fzsd:game_event/on_killed_mob_or_player \ No newline at end of file diff --git a/data/fzsd/functions/game_event/advancement/on_login.mcfunction b/data/fzsd/functions/game_event/advancement/on_login.mcfunction new file mode 100644 index 0000000..379583c --- /dev/null +++ b/data/fzsd/functions/game_event/advancement/on_login.mcfunction @@ -0,0 +1,7 @@ +# 调用者:advancements/fzsd:~ + +execute if predicate fzsd:is_real_player run function fzsd:game_event/player/on_login + +## 重制所有触发器、事件进度 +scoreboard players set @s fzsd.event.leave_game 0 +function #fzsd:game_event/reset_all \ No newline at end of file diff --git a/data/fzsd/functions/game_event/advancement/on_piglin_trade.mcfunction b/data/fzsd/functions/game_event/advancement/on_piglin_trade.mcfunction new file mode 100644 index 0000000..0a2258d --- /dev/null +++ b/data/fzsd/functions/game_event/advancement/on_piglin_trade.mcfunction @@ -0,0 +1,10 @@ +# 调用者: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_piglin_trade + +## 重置事件进度 +advancement revoke @s only fzsd:game_event/on_piglin_trade \ No newline at end of file diff --git a/data/fzsd/functions/game_event/advancement/on_placed_block.mcfunction b/data/fzsd/functions/game_event/advancement/on_placed_block.mcfunction new file mode 100644 index 0000000..9154ea2 --- /dev/null +++ b/data/fzsd/functions/game_event/advancement/on_placed_block.mcfunction @@ -0,0 +1,10 @@ +# 调用者: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 \ No newline at end of file diff --git a/data/fzsd/functions/game_event/advancement/on_play_one_hour.mcfunction b/data/fzsd/functions/game_event/advancement/on_play_one_hour.mcfunction new file mode 100644 index 0000000..5934f1b --- /dev/null +++ b/data/fzsd/functions/game_event/advancement/on_play_one_hour.mcfunction @@ -0,0 +1,7 @@ +# 调用者:advancements/fzsd:~ + +execute if predicate fzsd:is_real_player run function fzsd:game_event/player/on_play_one_hour + +## 重置事件 +scoreboard players operation @s fzsd.event.play_ticks %= 72000 fzsd.variable.integer +advancement revoke @s only fzsd:game_event/on_play_one_hour \ No newline at end of file diff --git a/data/fzsd/functions/game_event/advancement/on_shears_used_on_entity.mcfunction b/data/fzsd/functions/game_event/advancement/on_shears_used_on_entity.mcfunction new file mode 100644 index 0000000..048e325 --- /dev/null +++ b/data/fzsd/functions/game_event/advancement/on_shears_used_on_entity.mcfunction @@ -0,0 +1,13 @@ +# 调用者: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": "对实体使用剪刀"}] + +## 计算挖掘数据偏移量 +scoreboard players remove @s fzsd.event.used_tool.dig_offset 1 + +## 运行事件 +function #fzsd:game_event/player/on_shears_used_on_entity + +## 重置事件进度 +advancement revoke @s only fzsd:game_event/on_shears_used_on_entity \ No newline at end of file diff --git a/data/fzsd/functions/game_event/advancement/on_sneak.mcfunction b/data/fzsd/functions/game_event/advancement/on_sneak.mcfunction new file mode 100644 index 0000000..681976b --- /dev/null +++ b/data/fzsd/functions/game_event/advancement/on_sneak.mcfunction @@ -0,0 +1,7 @@ +# 调用者: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_sneak diff --git a/data/fzsd/functions/game_event/advancement/on_took_damage.mcfunction b/data/fzsd/functions/game_event/advancement/on_took_damage.mcfunction new file mode 100644 index 0000000..b82a44c --- /dev/null +++ b/data/fzsd/functions/game_event/advancement/on_took_damage.mcfunction @@ -0,0 +1,7 @@ +# 调用者:advancements/fzsd:~ + +execute if predicate fzsd:is_real_player run function fzsd:game_event/player/on_took_damage + +## 重置事件 +scoreboard players operation @s fzsd.event.damage_taken %= 10 fzsd.variable.integer +advancement revoke @s only fzsd:game_event/on_took_damage \ No newline at end of file diff --git a/data/fzsd/functions/game_event/advancement/on_tools_used_on_block.mcfunction b/data/fzsd/functions/game_event/advancement/on_tools_used_on_block.mcfunction new file mode 100644 index 0000000..5a6ed71 --- /dev/null +++ b/data/fzsd/functions/game_event/advancement/on_tools_used_on_block.mcfunction @@ -0,0 +1,14 @@ +# 调用者: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": "在方块上使用了工具"}] + +## 计算挖掘数据偏移量 +scoreboard players remove @s fzsd.event.used_tool.dig_offset 1 + +## 运行事件 +function #fzsd:game_event/player/on_tools_used_on_block + +## 重置事件进度 +advancement revoke @s only fzsd:game_event/on_tools_used_on_block \ No newline at end of file diff --git a/data/fzsd/functions/game_event/advancement/on_unsneak.mcfunction b/data/fzsd/functions/game_event/advancement/on_unsneak.mcfunction new file mode 100644 index 0000000..5daca2a --- /dev/null +++ b/data/fzsd/functions/game_event/advancement/on_unsneak.mcfunction @@ -0,0 +1,13 @@ +# 调用者: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": "从蹲下状态站起"}] + +# 调用者:advancement/fzsd:unskeak +##### 当玩家蹲起后触发此事件 + +## 运行事件 +function #fzsd:game_event/player/on_unsneak + +## 重置事件进度 +advancement revoke @s until fzsd:game_event/on_unsneak \ No newline at end of file diff --git a/data/fzsd/functions/game_event/advancement/on_used_tool.mcfunction b/data/fzsd/functions/game_event/advancement/on_used_tool.mcfunction new file mode 100644 index 0000000..32fceda --- /dev/null +++ b/data/fzsd/functions/game_event/advancement/on_used_tool.mcfunction @@ -0,0 +1,9 @@ +# 调用者:advancements/fzsd:~ + +execute if predicate fzsd:is_real_player run function fzsd:game_event/player/on_used_tool + +## 重置事件计分板 +function #fzsd:game_event/player/on_used_tool/reset_used_tool + +## 重置事件进度 +advancement revoke @s only fzsd:game_event/on_used_tool \ No newline at end of file diff --git a/data/fzsd/functions/game_event/advancement/on_villager_trade.mcfunction b/data/fzsd/functions/game_event/advancement/on_villager_trade.mcfunction new file mode 100644 index 0000000..8bca9c6 --- /dev/null +++ b/data/fzsd/functions/game_event/advancement/on_villager_trade.mcfunction @@ -0,0 +1,10 @@ +# 调用者: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_villager_trade + +## 重置事件进度 +advancement revoke @s only fzsd:game_event/on_villager_trade \ No newline at end of file diff --git a/data/fzsd/functions/game_event/advancement/reset_advancements.mcfunction b/data/fzsd/functions/game_event/advancement/reset_advancements.mcfunction new file mode 100644 index 0000000..cc62933 --- /dev/null +++ b/data/fzsd/functions/game_event/advancement/reset_advancements.mcfunction @@ -0,0 +1,6 @@ +## 复位所有事件进度 +### 所有事件进度都继承了fzsd:game_event进度,因此只需要一行指令: +advancement revoke @s from fzsd:game_event + +## 调试 +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": "的游戏事件进度"}] \ No newline at end of file diff --git a/data/fzsd/functions/game_event/install.mcfunction b/data/fzsd/functions/game_event/install.mcfunction new file mode 100644 index 0000000..79d6d49 --- /dev/null +++ b/data/fzsd/functions/game_event/install.mcfunction @@ -0,0 +1,48 @@ +## 事件触发 +scoreboard objectives add fzsd.event.aviating_distance minecraft.custom:aviate_one_cm +scoreboard objectives add fzsd.event.damage_taken minecraft.custom:damage_taken +scoreboard objectives add fzsd.event.death_count deathCount +scoreboard objectives add fzsd.event.leave_game minecraft.custom:leave_game +### 由 #fzsd:game_event/on_tick 赋值 +scoreboard objectives add fzsd.event.play_ticks dummy +scoreboard objectives add fzsd.event.villager_trade minecraft.custom:traded_with_villager + +## 使用工具 +scoreboard objectives add fzsd.event.used_tool.dig_offset dummy +scoreboard objectives add fzsd.event.used_tool.iron_axe minecraft.used:iron_axe +scoreboard objectives add fzsd.event.used_tool.stone_axe minecraft.used:stone_axe +scoreboard objectives add fzsd.event.used_tool.golden_axe minecraft.used:golden_axe +scoreboard objectives add fzsd.event.used_tool.wooden_axe minecraft.used:wooden_axe +scoreboard objectives add fzsd.event.used_tool.diamond_axe minecraft.used:diamond_axe +scoreboard objectives add fzsd.event.used_tool.netherite_axe minecraft.used:netherite_axe +scoreboard objectives add fzsd.event.used_tool.iron_hoe minecraft.used:iron_hoe +scoreboard objectives add fzsd.event.used_tool.stone_hoe minecraft.used:stone_hoe +scoreboard objectives add fzsd.event.used_tool.golden_hoe minecraft.used:golden_hoe +scoreboard objectives add fzsd.event.used_tool.wooden_hoe minecraft.used:wooden_hoe +scoreboard objectives add fzsd.event.used_tool.diamond_hoe minecraft.used:diamond_hoe +scoreboard objectives add fzsd.event.used_tool.netherite_hoe minecraft.used:netherite_hoe +scoreboard objectives add fzsd.event.used_tool.iron_pickaxe minecraft.used:iron_pickaxe +scoreboard objectives add fzsd.event.used_tool.stone_pickaxe minecraft.used:stone_pickaxe +scoreboard objectives add fzsd.event.used_tool.golden_pickaxe minecraft.used:golden_pickaxe +scoreboard objectives add fzsd.event.used_tool.wooden_pickaxe minecraft.used:wooden_pickaxe +scoreboard objectives add fzsd.event.used_tool.diamond_pickaxe minecraft.used:diamond_pickaxe +scoreboard objectives add fzsd.event.used_tool.netherite_pickaxe minecraft.used:netherite_pickaxe +scoreboard objectives add fzsd.event.used_tool.shears minecraft.used:shears +scoreboard objectives add fzsd.event.used_tool.iron_shovel minecraft.used:iron_shovel +scoreboard objectives add fzsd.event.used_tool.stone_shovel minecraft.used:stone_shovel +scoreboard objectives add fzsd.event.used_tool.golden_shovel minecraft.used:golden_shovel +scoreboard objectives add fzsd.event.used_tool.wooden_shovel minecraft.used:wooden_shovel +scoreboard objectives add fzsd.event.used_tool.diamond_shovel minecraft.used:diamond_shovel +scoreboard objectives add fzsd.event.used_tool.netherite_shovel minecraft.used:netherite_shovel +scoreboard objectives add fzsd.event.used_tool.iron_sword minecraft.used:iron_sword +scoreboard objectives add fzsd.event.used_tool.stone_sword minecraft.used:stone_sword +scoreboard objectives add fzsd.event.used_tool.golden_sword minecraft.used:golden_sword +scoreboard objectives add fzsd.event.used_tool.wooden_sword minecraft.used:wooden_sword +scoreboard objectives add fzsd.event.used_tool.diamond_sword minecraft.used:diamond_sword +scoreboard objectives add fzsd.event.used_tool.netherite_sword minecraft.used:netherite_sword + +## 标记为已安装 +data modify storage fzsd:installed fzsd.event set value 1b + +## 调试 +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "已安装系统组件:游戏事件"}] \ No newline at end of file diff --git a/data/fzsd/functions/game_event/load.mcfunction b/data/fzsd/functions/game_event/load.mcfunction new file mode 100644 index 0000000..c0c03fb --- /dev/null +++ b/data/fzsd/functions/game_event/load.mcfunction @@ -0,0 +1,4 @@ +execute as @a[predicate=fzsd:is_real_player] run function #fzsd:game_event/player/on_login +function fzsd:game_event/on_tick +## 调试 +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "已加载系统组件:游戏事件"}] \ No newline at end of file diff --git a/data/fzsd/functions/game_event/on_tick.mcfunction b/data/fzsd/functions/game_event/on_tick.mcfunction new file mode 100644 index 0000000..61562ed --- /dev/null +++ b/data/fzsd/functions/game_event/on_tick.mcfunction @@ -0,0 +1,3 @@ +scoreboard players add @a[predicate=fzsd:is_real_player] fz.event.play_ticks 1 +function #fzsd:game_event/on_tick +schedule function fzsd:game_event/on_tick 1t replace \ No newline at end of file diff --git a/data/fzsd/functions/game_event/player/on_aviate_one_meter.mcfunction b/data/fzsd/functions/game_event/player/on_aviate_one_meter.mcfunction new file mode 100644 index 0000000..385947f --- /dev/null +++ b/data/fzsd/functions/game_event/player/on_aviate_one_meter.mcfunction @@ -0,0 +1,9 @@ +## 详细 +execute if score fzsd.logger.level fzsd.variable.integer matches ..300 run tellraw @a [{"nbt": "fzsd.level.fine", "interpret": true, "storage": "fzsd:logger"}, {"text": "事件已触发:玩家"}, {"selector": "@s"}, {"text": "飞行了1m"}] + +## 将事件数据缓存 +scoreboard players operation fzsd.var.score fzsd.variable.integer = @s fzsd.event.aviating_distance +scoreboard players operation fzsd.var.score fzsd.variable.integer /= 200 fzsd.variable.integer + +## 运行事件 +function #fzsd:game_event/player/on_aviate_one_meter \ No newline at end of file diff --git a/data/fzsd/functions/game_event/player/on_broke_block_with_tool.mcfunction b/data/fzsd/functions/game_event/player/on_broke_block_with_tool.mcfunction new file mode 100644 index 0000000..805c9dc --- /dev/null +++ b/data/fzsd/functions/game_event/player/on_broke_block_with_tool.mcfunction @@ -0,0 +1,7 @@ +# 调用者:fzsd:game_event/player/on_used_tool + +## 调试 +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_broke_block_with_tool \ No newline at end of file diff --git a/data/fzsd/functions/game_event/player/on_broke_block_with_tool/on_used_tool.mcfunction b/data/fzsd/functions/game_event/player/on_broke_block_with_tool/on_used_tool.mcfunction new file mode 100644 index 0000000..227ffb2 --- /dev/null +++ b/data/fzsd/functions/game_event/player/on_broke_block_with_tool/on_used_tool.mcfunction @@ -0,0 +1,36 @@ +## 收集挖掘数据 +scoreboard players operation fzsd.var.score fzsd.variable.integer = @s fzsd.event.used_tool.diamond_axe +scoreboard players operation fzsd.var.score fzsd.variable.integer += @s fzsd.event.used_tool.diamond_hoe +scoreboard players operation fzsd.var.score fzsd.variable.integer += @s fzsd.event.used_tool.diamond_pickaxe +scoreboard players operation fzsd.var.score fzsd.variable.integer += @s fzsd.event.used_tool.diamond_shovel +scoreboard players operation fzsd.var.score fzsd.variable.integer += @s fzsd.event.used_tool.diamond_sword +scoreboard players operation fzsd.var.score fzsd.variable.integer += @s fzsd.event.used_tool.golden_axe +scoreboard players operation fzsd.var.score fzsd.variable.integer += @s fzsd.event.used_tool.golden_hoe +scoreboard players operation fzsd.var.score fzsd.variable.integer += @s fzsd.event.used_tool.golden_pickaxe +scoreboard players operation fzsd.var.score fzsd.variable.integer += @s fzsd.event.used_tool.golden_shovel +scoreboard players operation fzsd.var.score fzsd.variable.integer += @s fzsd.event.used_tool.golden_sword +scoreboard players operation fzsd.var.score fzsd.variable.integer += @s fzsd.event.used_tool.iron_axe +scoreboard players operation fzsd.var.score fzsd.variable.integer += @s fzsd.event.used_tool.iron_hoe +scoreboard players operation fzsd.var.score fzsd.variable.integer += @s fzsd.event.used_tool.iron_pickaxe +scoreboard players operation fzsd.var.score fzsd.variable.integer += @s fzsd.event.used_tool.iron_shovel +scoreboard players operation fzsd.var.score fzsd.variable.integer += @s fzsd.event.used_tool.iron_sword +scoreboard players operation fzsd.var.score fzsd.variable.integer += @s fzsd.event.used_tool.netherite_axe +scoreboard players operation fzsd.var.score fzsd.variable.integer += @s fzsd.event.used_tool.netherite_hoe +scoreboard players operation fzsd.var.score fzsd.variable.integer += @s fzsd.event.used_tool.netherite_pickaxe +scoreboard players operation fzsd.var.score fzsd.variable.integer += @s fzsd.event.used_tool.netherite_shovel +scoreboard players operation fzsd.var.score fzsd.variable.integer += @s fzsd.event.used_tool.netherite_sword +scoreboard players operation fzsd.var.score fzsd.variable.integer += @s fzsd.event.used_tool.shears +scoreboard players operation fzsd.var.score fzsd.variable.integer += @s fzsd.event.used_tool.stone_axe +scoreboard players operation fzsd.var.score fzsd.variable.integer += @s fzsd.event.used_tool.stone_hoe +scoreboard players operation fzsd.var.score fzsd.variable.integer += @s fzsd.event.used_tool.stone_pickaxe +scoreboard players operation fzsd.var.score fzsd.variable.integer += @s fzsd.event.used_tool.stone_shovel +scoreboard players operation fzsd.var.score fzsd.variable.integer += @s fzsd.event.used_tool.stone_sword +scoreboard players operation fzsd.var.score fzsd.variable.integer += @s fzsd.event.used_tool.wooden_axe +scoreboard players operation fzsd.var.score fzsd.variable.integer += @s fzsd.event.used_tool.wooden_hoe +scoreboard players operation fzsd.var.score fzsd.variable.integer += @s fzsd.event.used_tool.wooden_pickaxe +scoreboard players operation fzsd.var.score fzsd.variable.integer += @s fzsd.event.used_tool.wooden_shovel +scoreboard players operation fzsd.var.score fzsd.variable.integer += @s fzsd.event.used_tool.wooden_sword +scoreboard players operation fzsd.var.score fzsd.variable.integer += @s fzsd.event.used_tool.offset + +## 判断分数 +execute unless score fzsd.var.score fzsd.variable.integer matches ..0 run function fzsd:game_event/player/on_broke_block_with_tool \ No newline at end of file diff --git a/data/fzsd/functions/game_event/player/on_dead.mcfunction b/data/fzsd/functions/game_event/player/on_dead.mcfunction new file mode 100644 index 0000000..c18c269 --- /dev/null +++ b/data/fzsd/functions/game_event/player/on_dead.mcfunction @@ -0,0 +1,8 @@ +## 调试 +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": "死亡"}] + +## 将事件数据缓存 +# scoreboard players operation fzsd.var.score fzsd.variable.integer = @s fzsd.event.death_count + +## 运行事件 +function #fzsd:game_event/player/on_dead \ No newline at end of file diff --git a/data/fzsd/functions/game_event/player/on_login.mcfunction b/data/fzsd/functions/game_event/player/on_login.mcfunction new file mode 100644 index 0000000..affa3f5 --- /dev/null +++ b/data/fzsd/functions/game_event/player/on_login.mcfunction @@ -0,0 +1,5 @@ +## 调试 +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_login \ No newline at end of file diff --git a/data/fzsd/functions/game_event/player/on_play_one_hour.mcfunction b/data/fzsd/functions/game_event/player/on_play_one_hour.mcfunction new file mode 100644 index 0000000..1c2dfb9 --- /dev/null +++ b/data/fzsd/functions/game_event/player/on_play_one_hour.mcfunction @@ -0,0 +1,9 @@ +## 调试 +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": "游玩了1h"}] + +## 将事件数据缓存 +# scoreboard players operation fzsd.var.score fzsd.variable.integer = @s fzsd.event.play_ticks +# scoreboard players operation fzsd.var.score fzsd.variable.integer /= 3600 fzsd.variable.integer + +## 运行事件 +function #fzsd:game_event/player/on_play_one_hour \ No newline at end of file diff --git a/data/fzsd/functions/game_event/player/on_took_damage.mcfunction b/data/fzsd/functions/game_event/player/on_took_damage.mcfunction new file mode 100644 index 0000000..9c13533 --- /dev/null +++ b/data/fzsd/functions/game_event/player/on_took_damage.mcfunction @@ -0,0 +1,9 @@ +## 调试 +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": "受到了伤害"}] + +## 将事件数据缓存 +scoreboard players operation fzsd.var.score fzsd.variable.integer = @s fzsd.event.damage_taken +scoreboard players operation fzsd.var.score fzsd.variable.integer /= 10 fzsd.variable.integer + +## 运行事件 +function #fzsd:game_event/player/on_took_damage \ No newline at end of file diff --git a/data/fzsd/functions/game_event/player/on_used_tool.mcfunction b/data/fzsd/functions/game_event/player/on_used_tool.mcfunction new file mode 100644 index 0000000..25b3ab2 --- /dev/null +++ b/data/fzsd/functions/game_event/player/on_used_tool.mcfunction @@ -0,0 +1,5 @@ +## 详细 +execute if score fzsd.logger.level fzsd.variable.integer matches ..300 run tellraw @a [{"nbt": "fzsd.level.fine", "interpret": true, "storage": "fzsd:logger"}, {"text": "事件已触发:玩家"}, {"selector": "@s"}, {"text": "使用了工具"}] + +## 运行事件 +function #fzsd:game_event/player/on_used_tool \ No newline at end of file diff --git a/data/fzsd/functions/game_event/player/on_used_tool/reset_used_tool.mcfunction b/data/fzsd/functions/game_event/player/on_used_tool/reset_used_tool.mcfunction new file mode 100644 index 0000000..2e658d8 --- /dev/null +++ b/data/fzsd/functions/game_event/player/on_used_tool/reset_used_tool.mcfunction @@ -0,0 +1,35 @@ +scoreboard players set @s fzsd.event.used_tool.offset 0 +scoreboard players set @s fzsd.event.used_tool.diamond_axe 0 +scoreboard players set @s fzsd.event.used_tool.diamond_hoe 0 +scoreboard players set @s fzsd.event.used_tool.diamond_pickaxe 0 +scoreboard players set @s fzsd.event.used_tool.diamond_shovel 0 +scoreboard players set @s fzsd.event.used_tool.diamond_sword 0 +scoreboard players set @s fzsd.event.used_tool.golden_axe 0 +scoreboard players set @s fzsd.event.used_tool.golden_hoe 0 +scoreboard players set @s fzsd.event.used_tool.golden_pickaxe 0 +scoreboard players set @s fzsd.event.used_tool.golden_shovel 0 +scoreboard players set @s fzsd.event.used_tool.golden_sword 0 +scoreboard players set @s fzsd.event.used_tool.iron_axe 0 +scoreboard players set @s fzsd.event.used_tool.iron_hoe 0 +scoreboard players set @s fzsd.event.used_tool.iron_pickaxe 0 +scoreboard players set @s fzsd.event.used_tool.iron_shovel 0 +scoreboard players set @s fzsd.event.used_tool.iron_sword 0 +scoreboard players set @s fzsd.event.used_tool.netherite_axe 0 +scoreboard players set @s fzsd.event.used_tool.netherite_hoe 0 +scoreboard players set @s fzsd.event.used_tool.netherite_pickaxe 0 +scoreboard players set @s fzsd.event.used_tool.netherite_shovel 0 +scoreboard players set @s fzsd.event.used_tool.netherite_sword 0 +scoreboard players set @s fzsd.event.used_tool.shears 0 +scoreboard players set @s fzsd.event.used_tool.stone_axe 0 +scoreboard players set @s fzsd.event.used_tool.stone_hoe 0 +scoreboard players set @s fzsd.event.used_tool.stone_pickaxe 0 +scoreboard players set @s fzsd.event.used_tool.stone_shovel 0 +scoreboard players set @s fzsd.event.used_tool.stone_sword 0 +scoreboard players set @s fzsd.event.used_tool.wooden_axe 0 +scoreboard players set @s fzsd.event.used_tool.wooden_hoe 0 +scoreboard players set @s fzsd.event.used_tool.wooden_pickaxe 0 +scoreboard players set @s fzsd.event.used_tool.wooden_shovel 0 +scoreboard players set @s fzsd.event.used_tool.wooden_sword 0 + +## 调试 +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": "的used_tool计分板"}] \ No newline at end of file diff --git a/data/fzsd/functions/game_event/uninstall.mcfunction b/data/fzsd/functions/game_event/uninstall.mcfunction new file mode 100644 index 0000000..62d8c02 --- /dev/null +++ b/data/fzsd/functions/game_event/uninstall.mcfunction @@ -0,0 +1,49 @@ +## 事件触发 +scoreboard objectives remove fzsd.event.aviating_distance +scoreboard objectives remove fzsd.event.damage_taken +scoreboard objectives remove fzsd.event.death_count +scoreboard objectives remove fzsd.event.leave_game +scoreboard objectives remove fzsd.event.play_ticks +scoreboard objectives remove fzsd.event.villager_trade + +## 使用工具 +scoreboard objectives remove fzsd.event.used_tool.dig_offset +scoreboard objectives remove fzsd.event.used_tool.iron_axe +scoreboard objectives remove fzsd.event.used_tool.stone_axe +scoreboard objectives remove fzsd.event.used_tool.golden_axe +scoreboard objectives remove fzsd.event.used_tool.wooden_axe +scoreboard objectives remove fzsd.event.used_tool.diamond_axe +scoreboard objectives remove fzsd.event.used_tool.netherite_axe +scoreboard objectives remove fzsd.event.used_tool.iron_hoe +scoreboard objectives remove fzsd.event.used_tool.stone_hoe +scoreboard objectives remove fzsd.event.used_tool.golden_hoe +scoreboard objectives remove fzsd.event.used_tool.wooden_hoe +scoreboard objectives remove fzsd.event.used_tool.diamond_hoe +scoreboard objectives remove fzsd.event.used_tool.netherite_hoe +scoreboard objectives remove fzsd.event.used_tool.iron_pickaxe +scoreboard objectives remove fzsd.event.used_tool.stone_pickaxe +scoreboard objectives remove fzsd.event.used_tool.golden_pickaxe +scoreboard objectives remove fzsd.event.used_tool.wooden_pickaxe +scoreboard objectives remove fzsd.event.used_tool.diamond_pickaxe +scoreboard objectives remove fzsd.event.used_tool.netherite_pickaxe +scoreboard objectives remove fzsd.event.used_tool.shears +scoreboard objectives remove fzsd.event.used_tool.iron_shovel +scoreboard objectives remove fzsd.event.used_tool.stone_shovel +scoreboard objectives remove fzsd.event.used_tool.golden_shovel +scoreboard objectives remove fzsd.event.used_tool.wooden_shovel +scoreboard objectives remove fzsd.event.used_tool.diamond_shovel +scoreboard objectives remove fzsd.event.used_tool.netherite_shovel +scoreboard objectives remove fzsd.event.used_tool.iron_sword +scoreboard objectives remove fzsd.event.used_tool.stone_sword +scoreboard objectives remove fzsd.event.used_tool.golden_sword +scoreboard objectives remove fzsd.event.used_tool.wooden_sword +scoreboard objectives remove fzsd.event.used_tool.diamond_sword +scoreboard objectives remove fzsd.event.used_tool.netherite_sword + +schedule clear fzsd:game_event/on_tick + +## 删除安装标记 +data remove storage fzsd:installed fzsd.event + +## 调试 +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "已卸载系统组件:游戏事件"}] \ No newline at end of file diff --git a/data/fzsd/functions/logger/clear_data.mcfunction b/data/fzsd/functions/logger/clear_data.mcfunction new file mode 100644 index 0000000..258062d --- /dev/null +++ b/data/fzsd/functions/logger/clear_data.mcfunction @@ -0,0 +1,6 @@ +# 调用者:fzsd:logger/uninstall + +## 日志 +tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "已删除日志配置!"}] + +data remove storage fzsd:logger fzsd \ No newline at end of file diff --git a/data/fzsd/functions/logger/install.mcfunction b/data/fzsd/functions/logger/install.mcfunction new file mode 100644 index 0000000..a40fe51 --- /dev/null +++ b/data/fzsd/functions/logger/install.mcfunction @@ -0,0 +1,31 @@ +##### 使用方式,形如:tellraw @a [{"nbt": "fzsd.exception.load_without_install_exception", "interpret": true, "storage": "fzsd:logger"}, {"text": "计分板"}] + +## 根 +data modify storage fzsd:logger fzsd.root set value '[{"text": "", "color": "white"}, {"text": "[", "color": "dark_gray"}, {"text": "FZSD", "color": "gold"}, {"text": "]", "color": "dark_gray"}]' + +## 不同日志等级 +### error 800 +data modify storage fzsd:logger fzsd.level.error set value '[{"text": "", "color": "red"}, {"nbt": "root", "interpret": true, "storage": "fzsd:logger"}, {"text": "[错误]"}]' +### alert 600 +data modify storage fzsd:logger fzsd.level.alert set value '[{"text": "", "color": "yellow"}, {"nbt": "fzsd.root", "interpret": true, "storage": "fzsd:logger"}, {"text": "[提醒]"}]' +### info 500 +data modify storage fzsd:logger fzsd.level.info set value '[{"text": "", "color": "green"}, {"nbt": "fzsd.root", "interpret": true, "storage": "fzsd:logger"}, {"text": "[信息]"}]' +### debug 400 +data modify storage fzsd:logger fzsd.level.debug set value '[{"text": "", "color": "dark_aqua"}, {"nbt": "fzsd.root", "interpret": true, "storage": "fzsd:logger"}, {"text": "[调试]"}]' +### fine 300 +data modify storage fzsd:logger fzsd.level.fine set value '[{"text": "", "color": "gray"}, {"nbt": "fzsd.root", "interpret": true, "storage": "fzsd:logger"}, {"text": "[详细]"}]' + +## 异常 +data modify storage fzsd:logger fzsd.exception.load_without_install_exception set value '[{"nbt": "fzsd.level.error", "interpret": true, "storage": "fzsd:logger"}, {"text": "模块在未安装时被加载:"}]' + +## 首次安装时日志等级默认为一般消息 +execute unless data storage fzsd:logger fzsd.levels.current run data modify storage fzsd:logger fzsd.levels.current set value 500 + +## 读取日志等级存入缓存 +execute store result score fzsd.logger.level fzsd.variable.integer run data get storage fzsd:logger fzsd.levels.current + +## 标记为已安装 +data modify storage fzsd:installed fzsd.logger set value 1b + +## 调试 +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "已安装系统组件:日志"}] \ No newline at end of file diff --git a/data/fzsd/functions/logger/level/debug.mcfunction b/data/fzsd/functions/logger/level/debug.mcfunction new file mode 100644 index 0000000..107e6c8 --- /dev/null +++ b/data/fzsd/functions/logger/level/debug.mcfunction @@ -0,0 +1,7 @@ + +## debug 400 +data modify storage fzsd:logger fzsd.levels.current set value 400 +execute store result score fzsd.logger.level fzsd.variable.integer run data get storage fzsd:logger fzsd.levels.current + +## 日志 +tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "日志等级设为调试"}] \ No newline at end of file diff --git a/data/fzsd/functions/logger/level/fine.mcfunction b/data/fzsd/functions/logger/level/fine.mcfunction new file mode 100644 index 0000000..2aa37eb --- /dev/null +++ b/data/fzsd/functions/logger/level/fine.mcfunction @@ -0,0 +1,7 @@ + +## fine 300 +data modify storage fzsd:logger fzsd.levels.current set value 300 +execute store result score fzsd.logger.level fzsd.variable.integer run data get storage fzsd:logger fzsd.levels.current + +## 日志 +tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "日志等级设为详细"}] \ No newline at end of file diff --git a/data/fzsd/functions/logger/level/info.mcfunction b/data/fzsd/functions/logger/level/info.mcfunction new file mode 100644 index 0000000..0d2814a --- /dev/null +++ b/data/fzsd/functions/logger/level/info.mcfunction @@ -0,0 +1,7 @@ + +## info 500 +data modify storage fzsd:logger fzsd.levels.current set value 500 +execute store result score fzsd.logger.level fzsd.variable.integer run data get storage fzsd:logger fzsd.levels.current + +## 日志 +tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "日志等级设为一般信息"}] \ No newline at end of file diff --git a/data/fzsd/functions/logger/load.mcfunction b/data/fzsd/functions/logger/load.mcfunction new file mode 100644 index 0000000..122f127 --- /dev/null +++ b/data/fzsd/functions/logger/load.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:logger/init + +## 读取日志等级存入缓存 +execute store result score fzsd.logger.level fzsd.variable.integer run data get storage fzsd:logger fzsd.levels.current + +## 调试 +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "已加载系统组件:日志"}] \ No newline at end of file diff --git a/data/fzsd/functions/logger/uninstall.mcfunction b/data/fzsd/functions/logger/uninstall.mcfunction new file mode 100644 index 0000000..58a361a --- /dev/null +++ b/data/fzsd/functions/logger/uninstall.mcfunction @@ -0,0 +1,10 @@ +## 调用者:#fzsd:logger/uninstall + +## 删除安装标记 +data remove storage fzsd:installed fzsd.logger + +## 调试 +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "已卸载系统组件:日志"}] + +## 询问是否清除数据 +execute if score fzsd.logger.level fzsd.variable.integer matches ..600 run tellraw @s [{"nbt": "fzsd.level.alert", "interpret": true, "storage": "fzsd:logger"}, {"text": "您要删除日志配置吗,它将会永久失去!(真的很久!)"}, {"text": "[确定]", "color": "dark_red", "clickEvent": {"action": "suggest_command", "value": "/function #fzsd:logger/clear_data"}, "hoverEvent": {"action": "show_text", "contents": {"text": "将命令填入聊天框"}}}] \ No newline at end of file diff --git a/data/fzsd/functions/module/health/install.mcfunction b/data/fzsd/functions/module/health/install.mcfunction new file mode 100644 index 0000000..fc9e82f --- /dev/null +++ b/data/fzsd/functions/module/health/install.mcfunction @@ -0,0 +1,8 @@ +scoreboard objectives add fzsd.module.health health +scoreboard objectives modify fzsd.module.health rendertype hearts + +## 标记为已安装 +data modify storage fzsd:installed fzsd.module.health set value 1b + +## 日志 +execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "已安装组件:血量显示"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/health/load.mcfunction b/data/fzsd/functions/module/health/load.mcfunction new file mode 100644 index 0000000..1bc1863 --- /dev/null +++ b/data/fzsd/functions/module/health/load.mcfunction @@ -0,0 +1,4 @@ +execute unless data storage fzsd:config fzsd.module.health.display{below_name: 0b} run scoreboard objectives setdisplay belowName fzsd.module.health +execute if data storage fzsd:config fzsd.module.health.display{below_name: 0b} run scoreboard objectives setdisplay belowName +execute unless data storage fzsd:config fzsd.module.health.display{list: 0b} run scoreboard objectives setdisplay list fzsd.module.health +execute if data storage fzsd:config fzsd.module.health.display{list: 0b} run scoreboard objectives setdisplay list \ No newline at end of file diff --git a/data/fzsd/functions/module/health/set_health_name/default.mcfunction b/data/fzsd/functions/module/health/set_health_name/default.mcfunction new file mode 100644 index 0000000..04c0a6e --- /dev/null +++ b/data/fzsd/functions/module/health/set_health_name/default.mcfunction @@ -0,0 +1 @@ +scoreboard objectives modify fzsd.module.health displayname {"text": "血量", "color": "red"} \ No newline at end of file diff --git a/data/fzsd/functions/module/health/set_health_name/preset_1.mcfunction b/data/fzsd/functions/module/health/set_health_name/preset_1.mcfunction new file mode 100644 index 0000000..3196a1f --- /dev/null +++ b/data/fzsd/functions/module/health/set_health_name/preset_1.mcfunction @@ -0,0 +1 @@ +scoreboard objectives modify fzsd.module.health displayname {"text": "HP"} \ No newline at end of file diff --git a/data/fzsd/functions/module/health/set_health_name/preset_2.mcfunction b/data/fzsd/functions/module/health/set_health_name/preset_2.mcfunction new file mode 100644 index 0000000..fcdf961 --- /dev/null +++ b/data/fzsd/functions/module/health/set_health_name/preset_2.mcfunction @@ -0,0 +1 @@ +scoreboard objectives modify fzsd.module.health displayname {"text": "厘米", "color": "gold"} \ No newline at end of file diff --git a/data/fzsd/functions/module/health/set_health_name/preset_3.mcfunction b/data/fzsd/functions/module/health/set_health_name/preset_3.mcfunction new file mode 100644 index 0000000..c20aa8f --- /dev/null +++ b/data/fzsd/functions/module/health/set_health_name/preset_3.mcfunction @@ -0,0 +1 @@ +scoreboard objectives modify fzsd.module.health displayname {"text": "cm", "color": "gold"} \ No newline at end of file diff --git a/data/fzsd/functions/module/health/set_health_name/preset_4.mcfunction b/data/fzsd/functions/module/health/set_health_name/preset_4.mcfunction new file mode 100644 index 0000000..1eae806 --- /dev/null +++ b/data/fzsd/functions/module/health/set_health_name/preset_4.mcfunction @@ -0,0 +1 @@ +scoreboard objectives modify fzsd.module.health displayname {"text": "节操值", "color": "green"} \ No newline at end of file diff --git a/data/fzsd/functions/module/health/set_health_name/preset_5.mcfunction b/data/fzsd/functions/module/health/set_health_name/preset_5.mcfunction new file mode 100644 index 0000000..8acd719 --- /dev/null +++ b/data/fzsd/functions/module/health/set_health_name/preset_5.mcfunction @@ -0,0 +1 @@ +scoreboard objectives modify fzsd.module.health displayname {"text": "沙雕值", "color": "yellow"} \ No newline at end of file diff --git a/data/fzsd/functions/module/health/uninstall.mcfunction b/data/fzsd/functions/module/health/uninstall.mcfunction new file mode 100644 index 0000000..272a9bf --- /dev/null +++ b/data/fzsd/functions/module/health/uninstall.mcfunction @@ -0,0 +1,9 @@ +scoreboard objectives remove fzsd.module.health +data remove storage fzsd:config fzsd.module.health + +## 标记为已卸载 +data modify storage fzsd:installed fzsd.module.health 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": "已卸载组件:血量显示"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/here/get_dimension_message/if_overworld.mcfunction b/data/fzsd/functions/module/here/get_dimension_message/if_overworld.mcfunction new file mode 100644 index 0000000..7b1e8c7 --- /dev/null +++ b/data/fzsd/functions/module/here/get_dimension_message/if_overworld.mcfunction @@ -0,0 +1,6 @@ +data modify storage fzsd:here fzsd.nether_pos set value [0, 0] +execute store result storage fzsd:here fzsd.nether.x int 0.125 run data get entity @s Pos[0] +execute store result storage fzsd:here fzsd.nether.z int 0.125 run data get entity @s Pos[2] +data modify storage fzsd:global fzsd.api.dimension.id set value "minecraft:the_nether" +function #fzsd:api/get_dimension_name +data modify storage fzsd:here fzsd.message[2] set value '[{"text": ",对应", "color": "white"}, {"nbt": "fzsd.api.dimension.name", "interpret": true, "storage": "fzsd:global"}, [{"text": "[", "color": "green"}, {"nbt": "fzsd.nether.x", "storage": "fzsd:here"}, {"text": ", "}, {"nbt": "fzsd.nether.z", "storage": "fzsd:here"}, {"text": "]"}]]' \ No newline at end of file diff --git a/data/fzsd/functions/module/here/get_dimension_message/if_the_nether.mcfunction b/data/fzsd/functions/module/here/get_dimension_message/if_the_nether.mcfunction new file mode 100644 index 0000000..f86a10a --- /dev/null +++ b/data/fzsd/functions/module/here/get_dimension_message/if_the_nether.mcfunction @@ -0,0 +1,6 @@ +data modify storage fzsd:here fzsd.overworld_pos set value [0, 0] +execute store result storage fzsd:here fzsd.overworld.x int 8 run data get entity @s Pos[0] +execute store result storage fzsd:here fzsd.overworld.z int 8 run data get entity @s Pos[2] +data modify storage fzsd:global fzsd.api.dimension.id set value "minecraft:overworld" +function #fzsd:api/get_dimension_name +data modify storage fzsd:here fzsd.message[2] set value '[{"text": ",对应", "color": "white"}, {"nbt": "fzsd.api.dimension.name", "interpret": true, "storage": "fzsd:global"}, [{"text": "[", "color": "green"}, {"nbt": "fzsd.overworld.x", "storage": "fzsd:here"}, {"text": ", "}, {"nbt": "fzsd.overworld.z", "storage": "fzsd:here"}, {"text": "]"}]]' \ No newline at end of file diff --git a/data/fzsd/functions/module/here/get_dimension_message/overworld.mcfunction b/data/fzsd/functions/module/here/get_dimension_message/overworld.mcfunction new file mode 100644 index 0000000..71763c5 --- /dev/null +++ b/data/fzsd/functions/module/here/get_dimension_message/overworld.mcfunction @@ -0,0 +1 @@ +execute if data storage fzsd:global fzsd.api.dimension{id:"minecraft:overworld"} run function fzsd:module/here/get_dimension_message/if_overworld \ No newline at end of file diff --git a/data/fzsd/functions/module/here/get_dimension_message/the_nether.mcfunction b/data/fzsd/functions/module/here/get_dimension_message/the_nether.mcfunction new file mode 100644 index 0000000..44bae3a --- /dev/null +++ b/data/fzsd/functions/module/here/get_dimension_message/the_nether.mcfunction @@ -0,0 +1 @@ +execute if data storage fzsd:global fzsd.api.dimension{id:"minecraft:the_nether"} run function fzsd:module/here/get_dimension_message/if_the_nether \ No newline at end of file diff --git a/data/fzsd/functions/module/here/get_message.mcfunction b/data/fzsd/functions/module/here/get_message.mcfunction new file mode 100644 index 0000000..2517c4b --- /dev/null +++ b/data/fzsd/functions/module/here/get_message.mcfunction @@ -0,0 +1,10 @@ +## fzsd.cache.pos已在install中初始化 +execute store result storage fzsd:here fzsd.x int 1 run data get entity @s Pos[0] +execute store result storage fzsd:here fzsd.y int 1 run data get entity @s Pos[1] +execute store result storage fzsd:here fzsd.z int 1 run data get entity @s Pos[2] +data modify storage fzsd:here fzsd.message.dimension set from storage fzsd:global fzsd.api.dimension.name +data modify storage fzsd:here fzsd.message.position set value '[{"text": "[", "color": "green"}, {"nbt": "fzsd.x", "storage": "fzsd:here"}, {"text": ", "}, {"nbt": "fzsd.y", "storage": "fzsd:here"}, {"text": ", "}, {"nbt": "fzsd.z", "storage": "fzsd:here"}, {"text": "]"}]' +data modify storage fzsd:here fzsd.message.append set value '' + +## 调试 +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": "获取了位置信息"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/here/global_message.mcfunction b/data/fzsd/functions/module/here/global_message.mcfunction new file mode 100644 index 0000000..7f88145 --- /dev/null +++ b/data/fzsd/functions/module/here/global_message.mcfunction @@ -0,0 +1 @@ +tellraw @a [{"text": "", "color": "white"}, {"selector": "@s"}, {"text": "说:"}, {"text": "我在"}, {"nbt": "fzsd.message.dimension", "interpret": true, "storage": "fzsd:here"}, {"nbt": "fzsd.message.position", "interpret": true, "storage": "fzsd:here"}, {"nbt": "fzsd.message.append", "interpret": true, "storage": "fzsd:here"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/here/install.mcfunction b/data/fzsd/functions/module/here/install.mcfunction new file mode 100644 index 0000000..ba932e9 --- /dev/null +++ b/data/fzsd/functions/module/here/install.mcfunction @@ -0,0 +1,5 @@ +## 标记为已安装 +data modify storage fzsd:installed fzsd.module.here set value 1b + +## 日志 +execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "已安装组件:玩家位置"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/here/interactor/display.mcfunction b/data/fzsd/functions/module/here/interactor/display.mcfunction new file mode 100644 index 0000000..a299d68 --- /dev/null +++ b/data/fzsd/functions/module/here/interactor/display.mcfunction @@ -0,0 +1 @@ +execute if data storage fzsd:installed fzsd.module{last_nether_portal:1b} run tellraw @s [{"text": "获取位置:"},[{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "发送给:自己"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -2000"}},{"text": "私信", "color": "aqua"},{"text": "]"}], [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "发送给:所有人"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -2010"}},{"text": "广播", "color": "aqua"},{"text": "]"}]] \ No newline at end of file diff --git a/data/fzsd/functions/module/here/interactor/on_click.mcfunction b/data/fzsd/functions/module/here/interactor/on_click.mcfunction new file mode 100644 index 0000000..18b4498 --- /dev/null +++ b/data/fzsd/functions/module/here/interactor/on_click.mcfunction @@ -0,0 +1,2 @@ +execute if score @s fzsd.module.interactor.trigger matches -2000 run function #fzsd:module/here/private_message +execute if score @s fzsd.module.interactor.trigger matches -2010 run function #fzsd:module/here/global_message diff --git a/data/fzsd/functions/module/here/private_message.mcfunction b/data/fzsd/functions/module/here/private_message.mcfunction new file mode 100644 index 0000000..b885357 --- /dev/null +++ b/data/fzsd/functions/module/here/private_message.mcfunction @@ -0,0 +1 @@ +tellraw @s [{"text": "你在", "color": "white"}, {"nbt": "fzsd.message.dimension", "interpret": true, "storage": "fzsd:here"}, {"nbt": "fzsd.message.position", "interpret": true, "storage": "fzsd:here"}, {"nbt": "fzsd.message.append", "interpret": true, "storage": "fzsd:here"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/here/uninstall.mcfunction b/data/fzsd/functions/module/here/uninstall.mcfunction new file mode 100644 index 0000000..227fbe2 --- /dev/null +++ b/data/fzsd/functions/module/here/uninstall.mcfunction @@ -0,0 +1,7 @@ +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": "已卸载组件:玩家位置"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/interactor/event/on_click.mcfunction b/data/fzsd/functions/module/interactor/event/on_click.mcfunction new file mode 100644 index 0000000..51a92db --- /dev/null +++ b/data/fzsd/functions/module/interactor/event/on_click.mcfunction @@ -0,0 +1,7 @@ +## 运行事件 +function #fzsd:module/interactor/event/on_click +## 触发器分数为正数时重新显示交互器按钮,为负数时不显示 +execute if score @s fzsd.module.interactor.trigger matches 1.. run function #fzsd:module/interactor/display +function #fzsd:module/interactor/reset_trigger +## 重置进度 +advancement revoke @s only fzsd:module/interactor/on_click \ No newline at end of file diff --git a/data/fzsd/functions/module/interactor/event/on_unsneak/on_unsneak.mcfunction b/data/fzsd/functions/module/interactor/event/on_unsneak/on_unsneak.mcfunction new file mode 100644 index 0000000..95dd233 --- /dev/null +++ b/data/fzsd/functions/module/interactor/event/on_unsneak/on_unsneak.mcfunction @@ -0,0 +1,3 @@ +# 本目录用于存放向事件中注册的函数,并不用来新建事件 + +execute unless score @s fzsd.module.interactor.player.config matches -1 if entity @s[x_rotation = -90] run function #fzsd:module/interactor/event/on_start_interact \ No newline at end of file diff --git a/data/fzsd/functions/module/interactor/event/reset_advancements.mcfunction b/data/fzsd/functions/module/interactor/event/reset_advancements.mcfunction new file mode 100644 index 0000000..9a229ed --- /dev/null +++ b/data/fzsd/functions/module/interactor/event/reset_advancements.mcfunction @@ -0,0 +1,4 @@ +## 调试 +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": "重置了交互器事件进度"}] + +advancement revoke @s from fzsd:module/interactor/on_click \ No newline at end of file diff --git a/data/fzsd/functions/module/interactor/install.mcfunction b/data/fzsd/functions/module/interactor/install.mcfunction new file mode 100644 index 0000000..774d8d2 --- /dev/null +++ b/data/fzsd/functions/module/interactor/install.mcfunction @@ -0,0 +1,8 @@ +scoreboard objectives add fzsd.module.interactor.trigger trigger +scoreboard objectives add fzsd.module.interactor.player.config dummy + +## 标记为已安装 +data modify storage fzsd:installed fzsd.module.interactor set value 1b + +## 日志 +execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "已安装组件:配置"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/interactor/interactor/display.mcfunction b/data/fzsd/functions/module/interactor/interactor/display.mcfunction new file mode 100644 index 0000000..9a0f95c --- /dev/null +++ b/data/fzsd/functions/module/interactor/interactor/display.mcfunction @@ -0,0 +1,7 @@ +## 调试 +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": "显示交互器"}] + +execute if data storage fzsd:installed fzsd.module{last_death:1b} run tellraw @s {"text": "交互器打开方式:"} + +execute if data storage fzsd:installed fzsd.module{last_death:1b} unless score @s fzsd.module.interactor.player.config matches -1 run tellraw @s [{"text": "- 抬头+蹲起:"}, [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "点击关闭"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set 900"}},{"text": "已开启", "color": "green"},{"text": "]"}]] +execute if data storage fzsd:installed fzsd.module{last_death:1b} if score @s fzsd.module.interactor.player.config matches -1 run tellraw @s [{"text": "- 抬头+蹲起:"}, [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "点击开启"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set 910"}},{"text": "已关闭", "color": "red"},{"text": "]"}]] \ No newline at end of file diff --git a/data/fzsd/functions/module/interactor/interactor/on_click.mcfunction b/data/fzsd/functions/module/interactor/interactor/on_click.mcfunction new file mode 100644 index 0000000..75d66aa --- /dev/null +++ b/data/fzsd/functions/module/interactor/interactor/on_click.mcfunction @@ -0,0 +1,8 @@ +# 调用者:#fzsd:module/interactor/on_click + +## 调试 +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": "的交互器分数为:"}, {"score": {"name": "@s", "objective": "fzsd.module.interactor.trigger"}}] + +execute if score @s fzsd.module.interactor.trigger matches 900 run scoreboard players set @s fzsd.module.interactor.player.config -1 + +execute if score @s fzsd.module.interactor.trigger matches 910 run scoreboard players set @s fzsd.module.interactor.player.config 0 \ No newline at end of file diff --git a/data/fzsd/functions/module/interactor/load.mcfunction b/data/fzsd/functions/module/interactor/load.mcfunction new file mode 100644 index 0000000..88ffaea --- /dev/null +++ b/data/fzsd/functions/module/interactor/load.mcfunction @@ -0,0 +1,4 @@ +execute as @a run function #fzsd:module/interactor/reset_trigger + +## 日志 +execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "已加载组件:交互器"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/interactor/reset_trigger.mcfunction b/data/fzsd/functions/module/interactor/reset_trigger.mcfunction new file mode 100644 index 0000000..9f23725 --- /dev/null +++ b/data/fzsd/functions/module/interactor/reset_trigger.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/interactor/reset_trigger + +scoreboard players set @s fzsd.module.interactor.trigger 0 +scoreboard players enable @s fzsd.module.interactor.trigger + +## 调试 +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": "的触发器分数"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/interactor/uninstall.mcfunction b/data/fzsd/functions/module/interactor/uninstall.mcfunction new file mode 100644 index 0000000..4037483 --- /dev/null +++ b/data/fzsd/functions/module/interactor/uninstall.mcfunction @@ -0,0 +1,9 @@ +schedule clear fzsd:module/interactor/loop + +scoreboard objectives remove fzsd.module.interactor.trigger + +## 标记为已卸载 +data modify storage fzsd:installed fzsd.module.interactor 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": "已卸载组件:配置"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/join_message/default_message.mcfunction b/data/fzsd/functions/module/join_message/default_message.mcfunction new file mode 100644 index 0000000..75c0780 --- /dev/null +++ b/data/fzsd/functions/module/join_message/default_message.mcfunction @@ -0,0 +1,5 @@ +tellraw @s [{"nbt": "fzsd.root", "interpret": true, "storage": "fzsd:logger"}, [{"text": "本服务器启用了"}, {"text": "FZ生存数据包", "color": "gold", "underlined": true, "hoverEvent": {"action": "show_text", "contents": {"text": "点击前往数据包gitee主页"}}, "clickEvent": {"action": "open_url", "value": "https://gitee.com/harvey-husky/fz-survival-datapack"}}]] +## 如果玩家未关闭抬头蹲起功能 +execute unless score @s fzsd.module.interactor.player.config matches -1 run tellraw @s [{"nbt": "fzsd.root", "interpret": true, "storage": "fzsd:logger"}, [{"text": "抬头90°并蹲起,或使用", "color": "white"}, {"text": "/trigger fzsd.module.interactor.trigger", "color": "aqua", "underlined": true, "hoverEvent": {"action": "show_text", "contents": {"text": "点击填入聊天栏"}}, "clickEvent": {"action": "suggest_command", "value": "/trigger fzsd.module.interactor.trigger"}}, {"text": "打开交互器"}]] +## 如果玩家关闭了抬头蹲起功能 +execute if score @s fzsd.module.interactor.player.config matches -1 run tellraw @s [{"nbt": "fzsd.root", "interpret": true, "storage": "fzsd:logger"}, [{"text": "使用", "color": "white"}, {"text": "/trigger fzsd.module.interactor.trigger", "color": "aqua", "underlined": true, "hoverEvent": {"action": "show_text", "contents": {"text": "点击填入聊天栏"}}, "clickEvent": {"action": "suggest_command", "value": "/trigger fzsd.module.interactor.trigger"}}, {"text": "打开交互器"}]] \ No newline at end of file diff --git a/data/fzsd/functions/module/join_message/event/on_login/on_login.mcfunction b/data/fzsd/functions/module/join_message/event/on_login/on_login.mcfunction new file mode 100644 index 0000000..5e2244e --- /dev/null +++ b/data/fzsd/functions/module/join_message/event/on_login/on_login.mcfunction @@ -0,0 +1 @@ +execute if data storage fzsd:installed fzsd.module{join_message:1b} run function #fzsd:module/join_message/send_message \ No newline at end of file diff --git a/data/fzsd/functions/module/join_message/install.mcfunction b/data/fzsd/functions/module/join_message/install.mcfunction new file mode 100644 index 0000000..80b792f --- /dev/null +++ b/data/fzsd/functions/module/join_message/install.mcfunction @@ -0,0 +1,5 @@ +## 标记为已安装 +data modify storage fzsd:installed fzsd.module.join_message set value 1b + +## 日志 +execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "已安装组件:进服消息"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/join_message/uninstall.mcfunction b/data/fzsd/functions/module/join_message/uninstall.mcfunction new file mode 100644 index 0000000..75dd6c4 --- /dev/null +++ b/data/fzsd/functions/module/join_message/uninstall.mcfunction @@ -0,0 +1,5 @@ +## 标记为已卸载 +data modify storage fzsd:installed fzsd.module.join_message 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": "已卸载组件:进服消息"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/last_death/get_death_point.mcfunction b/data/fzsd/functions/module/last_death/get_death_point.mcfunction new file mode 100644 index 0000000..641a188 --- /dev/null +++ b/data/fzsd/functions/module/last_death/get_death_point.mcfunction @@ -0,0 +1,7 @@ +data modify storage fzsd:global fzsd.api.dimension.id set from entity @s LastDeathLocation.dimension +execute store result storage fzsd:last_death fzsd.x int 1 run data get entity @s LastDeathLocation.pos[0] +execute store result storage fzsd:last_death fzsd.y int 1 run data get entity @s LastDeathLocation.pos[1] +execute store result storage fzsd:last_death fzsd.z int 1 run data get entity @s LastDeathLocation.pos[2] + +## 调试 +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": "获取了死亡点"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/last_death/install.mcfunction b/data/fzsd/functions/module/last_death/install.mcfunction new file mode 100644 index 0000000..eddec75 --- /dev/null +++ b/data/fzsd/functions/module/last_death/install.mcfunction @@ -0,0 +1,5 @@ +## 标记为已安装 +data modify storage fzsd:installed fzsd.module.last_death set value 1b + +## 日志 +execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "已安装组件:上一死亡点"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/last_death/interactor/display.mcfunction b/data/fzsd/functions/module/last_death/interactor/display.mcfunction new file mode 100644 index 0000000..2b5e574 --- /dev/null +++ b/data/fzsd/functions/module/last_death/interactor/display.mcfunction @@ -0,0 +1 @@ +execute if data storage fzsd:installed fzsd.module{last_death:1b} run tellraw @s [{"text": "获取上一死亡点:"},[{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "发送给:自己"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -2100"}},{"text": "私信", "color": "aqua"},{"text": "]"}]] \ No newline at end of file diff --git a/data/fzsd/functions/module/last_death/interactor/on_click.mcfunction b/data/fzsd/functions/module/last_death/interactor/on_click.mcfunction new file mode 100644 index 0000000..5ce5872 --- /dev/null +++ b/data/fzsd/functions/module/last_death/interactor/on_click.mcfunction @@ -0,0 +1 @@ +execute if score @s fzsd.module.interactor.trigger matches -2100 run function #fzsd:module/last_death/private_message \ No newline at end of file diff --git a/data/fzsd/functions/module/last_death/private_message.mcfunction b/data/fzsd/functions/module/last_death/private_message.mcfunction new file mode 100644 index 0000000..75d262b --- /dev/null +++ b/data/fzsd/functions/module/last_death/private_message.mcfunction @@ -0,0 +1,2 @@ +execute if data entity @s LastDeathLocation run tellraw @s [{"text": "你上次死亡于"}, {"nbt": "fzsd.api.dimension.name", "interpret": true, "storage": "fzsd:global"}, [{"text": "[", "color": "green"}, {"nbt": "fzsd.x", "storage": "fzsd:last_death"}, {"text": ", "}, {"nbt": "fzsd.y", "storage": "fzsd:last_death"}, {"text": ", "}, {"nbt": "fzsd.z", "storage": "fzsd:last_death"}, {"text": "]"}]] +execute unless data entity @s LastDeathLocation run tellraw @s {"text": "你从未死亡!"} \ No newline at end of file diff --git a/data/fzsd/functions/module/last_death/uninstall.mcfunction b/data/fzsd/functions/module/last_death/uninstall.mcfunction new file mode 100644 index 0000000..668e5d9 --- /dev/null +++ b/data/fzsd/functions/module/last_death/uninstall.mcfunction @@ -0,0 +1,7 @@ +data remove storage fzsd:last_death fzsd + +## 标记为已卸载 +data modify storage fzsd:installed fzsd.module.last_death 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": "已卸载组件:上一死亡点"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/last_nether_portal/event/on_entered_nether_portal.mcfunction b/data/fzsd/functions/module/last_nether_portal/event/on_entered_nether_portal.mcfunction new file mode 100644 index 0000000..44d4c1c --- /dev/null +++ b/data/fzsd/functions/module/last_nether_portal/event/on_entered_nether_portal.mcfunction @@ -0,0 +1,5 @@ +execute if predicate fzsd:in_dimension_overworld run scoreboard players set @s fzsd.module.last_nether_portal.dimension 0 +execute if predicate fzsd:in_dimension_the_nether run scoreboard players set @s fzsd.module.last_nether_portal.dimension -1 +execute store result score @s fzsd.module.last_nether_portal.x run data get entity @s Pos[0] +execute store result score @s fzsd.module.last_nether_portal.y run data get entity @s Pos[1] +execute store result score @s fzsd.module.last_nether_portal.z run data get entity @s Pos[2] \ No newline at end of file diff --git a/data/fzsd/functions/module/last_nether_portal/get_message.mcfunction b/data/fzsd/functions/module/last_nether_portal/get_message.mcfunction new file mode 100644 index 0000000..26a8002 --- /dev/null +++ b/data/fzsd/functions/module/last_nether_portal/get_message.mcfunction @@ -0,0 +1,5 @@ +execute if score @s fzsd.module.last_nether_portal.dimension matches 0 run data modify storage fzsd:global fzsd.api.dimension.id set value "minecraft:overworld" +execute if score @s fzsd.module.last_nether_portal.dimension matches -1 run data modify storage fzsd:global fzsd.api.dimension.id set value "minecraft:the_nether" + +## 调试 +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": "获取了上次穿出的地狱门"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/last_nether_portal/global_message.mcfunction b/data/fzsd/functions/module/last_nether_portal/global_message.mcfunction new file mode 100644 index 0000000..4eb2323 --- /dev/null +++ b/data/fzsd/functions/module/last_nether_portal/global_message.mcfunction @@ -0,0 +1,2 @@ +execute if score @s fzsd.module.last_nether_portal.dimension matches -2147483648..2147483647 run tellraw @a [{"selector": "@s"}, [{"text": "说:我上次穿出的下界传送门位于", "color": "white"}, {"nbt": "fzsd.message", "interpret": true, "storage": "fzsd:last_nether_portal"}]] +execute unless score @s fzsd.module.last_nether_portal.dimension matches -2147483648..2147483647 run tellraw @s {"text": "你从未穿出过下界传送门!"} \ No newline at end of file diff --git a/data/fzsd/functions/module/last_nether_portal/install.mcfunction b/data/fzsd/functions/module/last_nether_portal/install.mcfunction new file mode 100644 index 0000000..7d57311 --- /dev/null +++ b/data/fzsd/functions/module/last_nether_portal/install.mcfunction @@ -0,0 +1,11 @@ +scoreboard objectives add fzsd.module.last_nether_portal.dimension dummy +scoreboard objectives add fzsd.module.last_nether_portal.x dummy +scoreboard objectives add fzsd.module.last_nether_portal.y dummy +scoreboard objectives add fzsd.module.last_nether_portal.z dummy +data modify storage fzsd:last_nether_portal fzsd.message set value '[{"nbt": "fzsd.api.dimension.name", "interpret": true, "storage": "fzsd:global"}, [{"text": "[", "color": "green"}, {"score": {"name": "@s", "objective": "fzsd.module.last_nether_portal.x"}}, {"text": ", "}, {"score": {"name": "@s", "objective": "fzsd.module.last_nether_portal.z"}}, {"text": ", "}, {"score": {"name": "@s", "objective": "fzsd.module.last_nether_portal.z"}}, {"text": "]"}]]' + +## 标记为已安装 +data modify storage fzsd:installed fzsd.module.last_nether_portal set value 1b + +## 日志 +execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "已安装组件:上次穿出的下界传送门"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/last_nether_portal/interactor/display.mcfunction b/data/fzsd/functions/module/last_nether_portal/interactor/display.mcfunction new file mode 100644 index 0000000..546aaab --- /dev/null +++ b/data/fzsd/functions/module/last_nether_portal/interactor/display.mcfunction @@ -0,0 +1 @@ +execute if data storage fzsd:installed fzsd.module{last_nether_portal:1b} run tellraw @s [{"text": "获取上次穿出的下界传送门:"},[{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "发送给:自己"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -2200"}},{"text": "私信", "color": "aqua"},{"text": "]"}], [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "发送给:所有人"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -2210"}},{"text": "广播", "color": "aqua"},{"text": "]"}]] \ No newline at end of file diff --git a/data/fzsd/functions/module/last_nether_portal/interactor/on_click.mcfunction b/data/fzsd/functions/module/last_nether_portal/interactor/on_click.mcfunction new file mode 100644 index 0000000..40d1eea --- /dev/null +++ b/data/fzsd/functions/module/last_nether_portal/interactor/on_click.mcfunction @@ -0,0 +1,2 @@ +execute if score @s fzsd.module.interactor.trigger matches -2200 run function #fzsd:module/last_nether_portal/private_message +execute if score @s fzsd.module.interactor.trigger matches -2210 run function #fzsd:module/last_nether_portal/global_message \ No newline at end of file diff --git a/data/fzsd/functions/module/last_nether_portal/private_message.mcfunction b/data/fzsd/functions/module/last_nether_portal/private_message.mcfunction new file mode 100644 index 0000000..aff0265 --- /dev/null +++ b/data/fzsd/functions/module/last_nether_portal/private_message.mcfunction @@ -0,0 +1,2 @@ +execute if score @s fzsd.module.last_nether_portal.dimension matches -2147483648..2147483647 run tellraw @s [{"text": "你上次穿出的下界传送门位于"}, {"nbt": "fzsd.message", "interpret": true, "storage": "fzsd:last_nether_portal"}] +execute unless score @s fzsd.module.last_nether_portal.dimension matches -2147483648..2147483647 run tellraw @s {"text": "你从未穿出过下界传送门!"} \ No newline at end of file diff --git a/data/fzsd/functions/module/last_nether_portal/uninstall.mcfunction b/data/fzsd/functions/module/last_nether_portal/uninstall.mcfunction new file mode 100644 index 0000000..579ef05 --- /dev/null +++ b/data/fzsd/functions/module/last_nether_portal/uninstall.mcfunction @@ -0,0 +1,11 @@ +scoreboard objectives remove fzsd.module.last_nether_portal.dimension +scoreboard objectives remove fzsd.module.last_nether_portal.x +scoreboard objectives remove fzsd.module.last_nether_portal.y +scoreboard objectives remove fzsd.module.last_nether_portal.z +data remove storage fzsd:last_nether_portal fzsd + +## 标记为已安装 +data modify storage fzsd:installed fzsd.module.last_nether_portal 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": "已卸载组件:上次穿出的下界传送门"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/last_spawn_point/get_spawn_point.mcfunction b/data/fzsd/functions/module/last_spawn_point/get_spawn_point.mcfunction new file mode 100644 index 0000000..fb40465 --- /dev/null +++ b/data/fzsd/functions/module/last_spawn_point/get_spawn_point.mcfunction @@ -0,0 +1,7 @@ +data modify storage fzsd:global fzsd.api.dimension.id set from entity @s SpawnDimension +data modify storage fzsd:last_spawn_point fzsd.x set from entity @s SpawnX +data modify storage fzsd:last_spawn_point fzsd.y set from entity @s SpawnY +data modify storage fzsd:last_spawn_point fzsd.z set from entity @s SpawnZ + +## 调试 +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": "获取了出生点"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/last_spawn_point/install.mcfunction b/data/fzsd/functions/module/last_spawn_point/install.mcfunction new file mode 100644 index 0000000..cde0d40 --- /dev/null +++ b/data/fzsd/functions/module/last_spawn_point/install.mcfunction @@ -0,0 +1,5 @@ +## 标记为已安装 +data modify storage fzsd:installed fzsd.module.last_spawn_point set value 1b + +## 日志 +execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "已安装组件:上一出生点"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/last_spawn_point/interactor/display.mcfunction b/data/fzsd/functions/module/last_spawn_point/interactor/display.mcfunction new file mode 100644 index 0000000..16cd166 --- /dev/null +++ b/data/fzsd/functions/module/last_spawn_point/interactor/display.mcfunction @@ -0,0 +1 @@ +execute if data storage fzsd:installed fzsd.module{last_spawn_point:1b} run tellraw @s [{"text": "获取上一出生点:"},[{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "发送给:自己"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -2300"}},{"text": "私信", "color": "aqua"},{"text": "]"}]] \ No newline at end of file diff --git a/data/fzsd/functions/module/last_spawn_point/interactor/on_click.mcfunction b/data/fzsd/functions/module/last_spawn_point/interactor/on_click.mcfunction new file mode 100644 index 0000000..d49c977 --- /dev/null +++ b/data/fzsd/functions/module/last_spawn_point/interactor/on_click.mcfunction @@ -0,0 +1 @@ +execute if score @s fzsd.module.interactor.trigger matches -2300 run function #fzsd:module/last_spawn_point/private_message \ No newline at end of file diff --git a/data/fzsd/functions/module/last_spawn_point/private_message.mcfunction b/data/fzsd/functions/module/last_spawn_point/private_message.mcfunction new file mode 100644 index 0000000..c16e509 --- /dev/null +++ b/data/fzsd/functions/module/last_spawn_point/private_message.mcfunction @@ -0,0 +1,2 @@ +execute if data entity @s SpawnDimension run tellraw @s [{"text": "你的上个出生点位于"}, {"nbt": "fzsd.api.dimension.name", "interpret": true, "storage": "fzsd:global"}, [{"text": "[x: ", "color": "green"}, {"nbt": "fzsd.x", "storage": "fzsd:last_spawn_point"}, {"text": ", y: "}, {"nbt": "fzsd.y", "storage": "fzsd:last_spawn_point"}, {"text": ", z: "}, {"nbt": "fzsd.z", "storage": "fzsd:last_spawn_point"}, {"text": "]"}]] +execute unless data entity @s SpawnDimension run tellraw @s {"text": "你从未设置过出生点!"} \ No newline at end of file diff --git a/data/fzsd/functions/module/last_spawn_point/uninstall.mcfunction b/data/fzsd/functions/module/last_spawn_point/uninstall.mcfunction new file mode 100644 index 0000000..8310ef0 --- /dev/null +++ b/data/fzsd/functions/module/last_spawn_point/uninstall.mcfunction @@ -0,0 +1,5 @@ +## 标记为已安装 +data modify storage fzsd:installed fzsd.module.last_spawn_point 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": "已卸载组件:上一出生点"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/assign/scoreboard/activation.mcfunction b/data/fzsd/functions/module/scoreboard/assign/scoreboard/activation.mcfunction new file mode 100644 index 0000000..e54f505 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/assign/scoreboard/activation.mcfunction @@ -0,0 +1,2 @@ +scoreboard players add @s fzsd.module.scoreboard.display.activation 1 +scoreboard players add fzsd.module.scoreboard.total.activation fzsd.module.scoreboard.assign.general 1 \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/assign/scoreboard/aviating_distance.mcfunction b/data/fzsd/functions/module/scoreboard/assign/scoreboard/aviating_distance.mcfunction new file mode 100644 index 0000000..947d199 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/assign/scoreboard/aviating_distance.mcfunction @@ -0,0 +1,2 @@ +scoreboard players operation @s fzsd.module.scoreboard.display.aviating_distance += fzsd.var.score fzsd.variable.integer +scoreboard players operation fzsd.module.scoreboard.total.aviating_distance fzsd.module.scoreboard.assign.general += fzsd.var.score fzsd.variable.integer \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/assign/scoreboard/damage_taken.mcfunction b/data/fzsd/functions/module/scoreboard/assign/scoreboard/damage_taken.mcfunction new file mode 100644 index 0000000..69052e6 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/assign/scoreboard/damage_taken.mcfunction @@ -0,0 +1,2 @@ +scoreboard players operation @s fzsd.module.scoreboard.display.damage_taken += fzsd.var.score fzsd.variable.integer +scoreboard players operation fzsd.module.scoreboard.total.damage_taken fzsd.module.scoreboard.assign.general += fzsd.var.score fzsd.variable.integer \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/assign/scoreboard/death_count.mcfunction b/data/fzsd/functions/module/scoreboard/assign/scoreboard/death_count.mcfunction new file mode 100644 index 0000000..b85a113 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/assign/scoreboard/death_count.mcfunction @@ -0,0 +1,2 @@ +scoreboard players add @s fzsd.module.scoreboard.display.death_count 1 +scoreboard players add fzsd.module.scoreboard.total.death_count fzsd.module.scoreboard.assign.general 1 \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/assign/scoreboard/dig_count.mcfunction b/data/fzsd/functions/module/scoreboard/assign/scoreboard/dig_count.mcfunction new file mode 100644 index 0000000..d3c828c --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/assign/scoreboard/dig_count.mcfunction @@ -0,0 +1,2 @@ +scoreboard players operation @s fzsd.module.scoreboard.display.dig_count += fzsd.var.score fzsd.variable.integer +scoreboard players operation fzsd.module.scoreboard.total.dig_count fzsd.module.scoreboard.assign.general += fzsd.var.score fzsd.variable.integer \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/assign/scoreboard/fishing_count.mcfunction b/data/fzsd/functions/module/scoreboard/assign/scoreboard/fishing_count.mcfunction new file mode 100644 index 0000000..378516b --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/assign/scoreboard/fishing_count.mcfunction @@ -0,0 +1,2 @@ +scoreboard players add @s fzsd.module.scoreboard.display.fishing_count 1 +scoreboard players add fzsd.module.scoreboard.total.fishing_count fzsd.module.scoreboard.assign.general 1 \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/activation.mcfunction b/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/activation.mcfunction new file mode 100644 index 0000000..2584b8d --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/activation.mcfunction @@ -0,0 +1,6 @@ +## 为了扩展性,尽量想把这种硬编码的字段写在同一个文件里方便覆盖 +## 但为了实现这一目标,在此处除了每次添加一次队伍以外,暂时没有找到其他好方法,不知道性能如何 +team join fzsd.module.scoreboard.display.activation 总活跃时间 + +scoreboard players operation 总活跃时间 fzsd.module.scoreboard.display.general = fzsd.module.scoreboard.total.activation fzsd.module.scoreboard.assign.general +scoreboard players operation 总活跃时间 fzsd.module.scoreboard.display.activation = fzsd.module.scoreboard.total.activation fzsd.module.scoreboard.assign.general \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/aviating_distance.mcfunction b/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/aviating_distance.mcfunction new file mode 100644 index 0000000..566494d --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/aviating_distance.mcfunction @@ -0,0 +1,4 @@ +team join fzsd.module.scoreboard.display.aviating_distance 总飞行距离 + +scoreboard players operation 总飞行距离 fzsd.module.scoreboard.display.general = fzsd.module.scoreboard.total.aviating_distance fzsd.module.scoreboard.assign.general +scoreboard players operation 总飞行距离 fzsd.module.scoreboard.display.aviating_distance = fzsd.module.scoreboard.total.aviating_distance fzsd.module.scoreboard.assign.general \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/damage_taken.mcfunction b/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/damage_taken.mcfunction new file mode 100644 index 0000000..29bc45f --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/damage_taken.mcfunction @@ -0,0 +1,4 @@ +team join fzsd.module.scoreboard.display.damage_taken 总受伤害量 + +scoreboard players operation 总受伤害量 fzsd.module.scoreboard.display.general = fzsd.module.scoreboard.total.damage_taken fzsd.module.scoreboard.assign.general +scoreboard players operation 总受伤害量 fzsd.module.scoreboard.display.damage_taken = fzsd.module.scoreboard.total.damage_taken fzsd.module.scoreboard.assign.general \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/death_count.mcfunction b/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/death_count.mcfunction new file mode 100644 index 0000000..25d9f80 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/death_count.mcfunction @@ -0,0 +1,4 @@ +team join fzsd.module.scoreboard.display.death_count 总死亡次数 + +scoreboard players operation 总死亡次数 fzsd.module.scoreboard.display.general = fzsd.module.scoreboard.total.death_count fzsd.module.scoreboard.assign.general +scoreboard players operation 总死亡次数 fzsd.module.scoreboard.display.death_count = fzsd.module.scoreboard.total.death_count fzsd.module.scoreboard.assign.general \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/dig_count.mcfunction b/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/dig_count.mcfunction new file mode 100644 index 0000000..71b402c --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/dig_count.mcfunction @@ -0,0 +1,4 @@ +team join fzsd.module.scoreboard.display.dig_count 总挖掘量 + +scoreboard players operation 总挖掘量 fzsd.module.scoreboard.display.general = fzsd.module.scoreboard.total.dig_count fzsd.module.scoreboard.assign.general +scoreboard players operation 总挖掘量 fzsd.module.scoreboard.display.dig_count = fzsd.module.scoreboard.total.dig_count fzsd.module.scoreboard.assign.general \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/fishing_count.mcfunction b/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/fishing_count.mcfunction new file mode 100644 index 0000000..557b020 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/fishing_count.mcfunction @@ -0,0 +1,4 @@ +team join fzsd.module.scoreboard.display.fishing_count 总钓鱼数 + +scoreboard players operation 总钓鱼数 fzsd.module.scoreboard.display.general = fzsd.module.scoreboard.total.fishing_count fzsd.module.scoreboard.assign.general +scoreboard players operation 总钓鱼数 fzsd.module.scoreboard.display.fishing_count = fzsd.module.scoreboard.total.fishing_count fzsd.module.scoreboard.assign.general \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/kill_count.mcfunction b/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/kill_count.mcfunction new file mode 100644 index 0000000..491fd6e --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/kill_count.mcfunction @@ -0,0 +1,4 @@ +team join fzsd.module.scoreboard.display.kill_count 总击杀数 + +scoreboard players operation 总击杀数 fzsd.module.scoreboard.display.general = fzsd.module.scoreboard.total.kill_count fzsd.module.scoreboard.assign.general +scoreboard players operation 总击杀数 fzsd.module.scoreboard.display.kill_count = fzsd.module.scoreboard.total.kill_count fzsd.module.scoreboard.assign.general \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/placement_count.mcfunction b/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/placement_count.mcfunction new file mode 100644 index 0000000..8791167 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/placement_count.mcfunction @@ -0,0 +1,4 @@ +team join fzsd.module.scoreboard.display.placement_count 总放置方块数 + +scoreboard players operation 总放置方块数 fzsd.module.scoreboard.display.general = fzsd.module.scoreboard.total.placement_count fzsd.module.scoreboard.assign.general +scoreboard players operation 总放置方块数 fzsd.module.scoreboard.display.placement_count = fzsd.module.scoreboard.total.placement_count fzsd.module.scoreboard.assign.general \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/trade_count.mcfunction b/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/trade_count.mcfunction new file mode 100644 index 0000000..3b5da10 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/trade_count.mcfunction @@ -0,0 +1,4 @@ +team join fzsd.module.scoreboard.display.trade_count 总交易量 + +scoreboard players operation 总交易量 fzsd.module.scoreboard.display.general = fzsd.module.scoreboard.total.trade_count fzsd.module.scoreboard.assign.general +scoreboard players operation 总交易量 fzsd.module.scoreboard.display.trade_count = fzsd.module.scoreboard.total.trade_count fzsd.module.scoreboard.assign.general \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/assign/scoreboard/kill_count.mcfunction b/data/fzsd/functions/module/scoreboard/assign/scoreboard/kill_count.mcfunction new file mode 100644 index 0000000..0972370 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/assign/scoreboard/kill_count.mcfunction @@ -0,0 +1,2 @@ +scoreboard players add @s fzsd.module.scoreboard.display.kill_count 1 +scoreboard players add fzsd.module.scoreboard.total.kill_count fzsd.module.scoreboard.assign.general 1 \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/assign/scoreboard/placement_count.mcfunction b/data/fzsd/functions/module/scoreboard/assign/scoreboard/placement_count.mcfunction new file mode 100644 index 0000000..422f254 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/assign/scoreboard/placement_count.mcfunction @@ -0,0 +1,2 @@ +scoreboard players add @s fzsd.module.scoreboard.display.placement_count 1 +scoreboard players add fzsd.module.scoreboard.total.placement_count fzsd.module.scoreboard.assign.general 1 \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/assign/scoreboard/trade_count.mcfunction b/data/fzsd/functions/module/scoreboard/assign/scoreboard/trade_count.mcfunction new file mode 100644 index 0000000..35ba2df --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/assign/scoreboard/trade_count.mcfunction @@ -0,0 +1,2 @@ +scoreboard players add @s fzsd.module.scoreboard.display.trade_count 1 +scoreboard players add fzsd.module.scoreboard.total.trade_count fzsd.module.scoreboard.assign.general 1 \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/clear_data.mcfunction b/data/fzsd/functions/module/scoreboard/clear_data.mcfunction new file mode 100644 index 0000000..b4f7e2b --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/clear_data.mcfunction @@ -0,0 +1,46 @@ +# 调用者:#fzsd:module/scoreboard/clear_data + +## 删除计分板 +### 总榜 +scoreboard objectives remove fzsd.module.scoreboard.display.general +### 活跃度 +scoreboard objectives remove fzsd.module.scoreboard.display.activation +### 飞行距离 +scoreboard objectives remove fzsd.module.scoreboard.display.aviating_distance +### 受伤害榜 +scoreboard objectives remove fzsd.module.scoreboard.display.damage_taken +### 死亡榜 +scoreboard objectives remove fzsd.module.scoreboard.display.death_count +### 挖掘榜 +scoreboard objectives remove fzsd.module.scoreboard.display.dig_count +### 钓鱼榜 +scoreboard objectives remove fzsd.module.scoreboard.display.fishing_count +### 击杀榜 +scoreboard objectives remove fzsd.module.scoreboard.display.kill_count +### 交易榜 +scoreboard objectives remove fzsd.module.scoreboard.display.trade_count + +## 清除队伍 +### 轮播 +team remove fzsd.module.scoreboard.display.carousel +### 总榜 +team remove fzsd.module.scoreboard.display.general +### 活跃度 +team remove fzsd.module.scoreboard.display.activation +### 飞行距离 +team remove fzsd.module.scoreboard.display.aviating_distance +### 受伤害榜 +team remove fzsd.module.scoreboard.display.damage_taken +### 死亡榜 +team remove fzsd.module.scoreboard.display.death_count +### 挖掘榜 +team remove fzsd.module.scoreboard.display.dig_count +### 钓鱼榜 +team remove fzsd.module.scoreboard.display.fishing_count +### 击杀榜 +team remove fzsd.module.scoreboard.display.kill_count +### 交易榜 +team remove fzsd.module.scoreboard.display.trade_count + +## 日志 +execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"nbt": "level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "已删除计分板数据!"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/carousel/loop.mcfunction b/data/fzsd/functions/module/scoreboard/display/carousel/loop.mcfunction new file mode 100644 index 0000000..94f48a5 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/carousel/loop.mcfunction @@ -0,0 +1,10 @@ +# 调用者:#fzsd:module/scoreboard/display/carousel_controller/loop + +function #fzsd:module/scoreboard/display/carousel/try_display + +schedule function fzsd:module/scoreboard/display/carousel/loop 10s replace + +## 自增 +scoreboard players add fzsd.module.scoreboard.display.current_id fzsd.variable.integer 1 +## 循环 +execute if score fzsd.module.scoreboard.display.current_id fzsd.variable.integer > fzsd.module.scoreboard.display.highest_id fzsd.variable.integer run scoreboard players set fzsd.module.scoreboard.display.current_id fzsd.variable.integer 0 \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/carousel/set_display/activation.mcfunction b/data/fzsd/functions/module/scoreboard/display/carousel/set_display/activation.mcfunction new file mode 100644 index 0000000..2e9fa28 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/carousel/set_display/activation.mcfunction @@ -0,0 +1,22 @@ +# 调用者:fzsd:module/scoreboard/carousel/try_display/~ + +## 判断颜色代码,见:https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81 +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 0 run scoreboard objectives setdisplay sidebar.team.black fzsd.module.scoreboard.display.activation +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 1 run scoreboard objectives setdisplay sidebar.team.dark_blue fzsd.module.scoreboard.display.activation +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 2 run scoreboard objectives setdisplay sidebar.team.dark_green fzsd.module.scoreboard.display.activation +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 3 run scoreboard objectives setdisplay sidebar.team.dark_aqua fzsd.module.scoreboard.display.activation +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 4 run scoreboard objectives setdisplay sidebar.team.dark_red fzsd.module.scoreboard.display.activation +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 5 run scoreboard objectives setdisplay sidebar.team.dark_purple fzsd.module.scoreboard.display.activation +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 run scoreboard objectives setdisplay sidebar.team.gold fzsd.module.scoreboard.display.activation +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 7 run scoreboard objectives setdisplay sidebar.team.gray fzsd.module.scoreboard.display.activation +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 8 run scoreboard objectives setdisplay sidebar.team.dark_gray fzsd.module.scoreboard.display.activation +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 9 run scoreboard objectives setdisplay sidebar.team.blue fzsd.module.scoreboard.display.activation +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 10 run scoreboard objectives setdisplay sidebar.team.green fzsd.module.scoreboard.display.activation +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 11 run scoreboard objectives setdisplay sidebar.team.aqua fzsd.module.scoreboard.display.activation +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 12 run scoreboard objectives setdisplay sidebar.team.red fzsd.module.scoreboard.display.activation +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 13 run scoreboard objectives setdisplay sidebar.team.light_purple fzsd.module.scoreboard.display.activation +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 14 run scoreboard objectives setdisplay sidebar.team.yellow fzsd.module.scoreboard.display.activation +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 15 run scoreboard objectives setdisplay sidebar.team.white fzsd.module.scoreboard.display.activation + +## 详细 +execute if score fzsd.logger.level fzsd.variable.integer matches ..300 run tellraw @a [{"nbt": "fzsd.level.fine", "interpret": true, "storage": "fzsd:logger"}, {"text": "已为队伍"}, {"nbt": "fzsd.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.scoreboard.text.activation", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/carousel/set_display/aviating_distance.mcfunction b/data/fzsd/functions/module/scoreboard/display/carousel/set_display/aviating_distance.mcfunction new file mode 100644 index 0000000..7225b06 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/carousel/set_display/aviating_distance.mcfunction @@ -0,0 +1,22 @@ +# 调用者:fzsd:module/scoreboard/carousel/try_display/~ + +## 判断颜色代码,见:https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81 +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 0 run scoreboard objectives setdisplay sidebar.team.black fzsd.module.scoreboard.display.aviating_distance +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 1 run scoreboard objectives setdisplay sidebar.team.dark_blue fzsd.module.scoreboard.display.aviating_distance +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 2 run scoreboard objectives setdisplay sidebar.team.dark_green fzsd.module.scoreboard.display.aviating_distance +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 3 run scoreboard objectives setdisplay sidebar.team.dark_aqua fzsd.module.scoreboard.display.aviating_distance +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 4 run scoreboard objectives setdisplay sidebar.team.dark_red fzsd.module.scoreboard.display.aviating_distance +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 5 run scoreboard objectives setdisplay sidebar.team.dark_purple fzsd.module.scoreboard.display.aviating_distance +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 run scoreboard objectives setdisplay sidebar.team.gold fzsd.module.scoreboard.display.aviating_distance +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 7 run scoreboard objectives setdisplay sidebar.team.gray fzsd.module.scoreboard.display.aviating_distance +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 8 run scoreboard objectives setdisplay sidebar.team.dark_gray fzsd.module.scoreboard.display.aviating_distance +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 9 run scoreboard objectives setdisplay sidebar.team.blue fzsd.module.scoreboard.display.aviating_distance +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 10 run scoreboard objectives setdisplay sidebar.team.green fzsd.module.scoreboard.display.aviating_distance +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 11 run scoreboard objectives setdisplay sidebar.team.aqua fzsd.module.scoreboard.display.aviating_distance +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 12 run scoreboard objectives setdisplay sidebar.team.red fzsd.module.scoreboard.display.aviating_distance +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 13 run scoreboard objectives setdisplay sidebar.team.light_purple fzsd.module.scoreboard.display.aviating_distance +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 14 run scoreboard objectives setdisplay sidebar.team.yellow fzsd.module.scoreboard.display.aviating_distance +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 15 run scoreboard objectives setdisplay sidebar.team.white fzsd.module.scoreboard.display.aviating_distance + +## 详细 +execute if score fzsd.logger.level fzsd.variable.integer matches ..300 run tellraw @a [{"nbt": "fzsd.level.fine", "interpret": true, "storage": "fzsd:logger"}, {"text": "已为队伍"}, {"nbt": "fzsd.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.scoreboard.text.aviating_distance", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/carousel/set_display/damage_taken.mcfunction b/data/fzsd/functions/module/scoreboard/display/carousel/set_display/damage_taken.mcfunction new file mode 100644 index 0000000..78d5f45 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/carousel/set_display/damage_taken.mcfunction @@ -0,0 +1,22 @@ +# 调用者:fzsd:module/scoreboard/carousel/try_display/~ + +## 判断颜色代码,见:https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81 +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 0 run scoreboard objectives setdisplay sidebar.team.black fzsd.module.scoreboard.display.damage_taken +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 1 run scoreboard objectives setdisplay sidebar.team.dark_blue fzsd.module.scoreboard.display.damage_taken +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 2 run scoreboard objectives setdisplay sidebar.team.dark_green fzsd.module.scoreboard.display.damage_taken +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 3 run scoreboard objectives setdisplay sidebar.team.dark_aqua fzsd.module.scoreboard.display.damage_taken +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 4 run scoreboard objectives setdisplay sidebar.team.dark_red fzsd.module.scoreboard.display.damage_taken +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 5 run scoreboard objectives setdisplay sidebar.team.dark_purple fzsd.module.scoreboard.display.damage_taken +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 run scoreboard objectives setdisplay sidebar.team.gold fzsd.module.scoreboard.display.damage_taken +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 7 run scoreboard objectives setdisplay sidebar.team.gray fzsd.module.scoreboard.display.damage_taken +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 8 run scoreboard objectives setdisplay sidebar.team.dark_gray fzsd.module.scoreboard.display.damage_taken +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 9 run scoreboard objectives setdisplay sidebar.team.blue fzsd.module.scoreboard.display.damage_taken +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 10 run scoreboard objectives setdisplay sidebar.team.green fzsd.module.scoreboard.display.damage_taken +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 11 run scoreboard objectives setdisplay sidebar.team.aqua fzsd.module.scoreboard.display.damage_taken +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 12 run scoreboard objectives setdisplay sidebar.team.red fzsd.module.scoreboard.display.damage_taken +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 13 run scoreboard objectives setdisplay sidebar.team.light_purple fzsd.module.scoreboard.display.damage_taken +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 14 run scoreboard objectives setdisplay sidebar.team.yellow fzsd.module.scoreboard.display.damage_taken +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 15 run scoreboard objectives setdisplay sidebar.team.white fzsd.module.scoreboard.display.damage_taken + +## 详细 +execute if score fzsd.logger.level fzsd.variable.integer matches ..300 run tellraw @a [{"nbt": "fzsd.level.fine", "interpret": true, "storage": "fzsd:logger"}, {"text": "已为队伍"}, {"nbt": "fzsd.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.scoreboard.text.damage_taken", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/carousel/set_display/death_count.mcfunction b/data/fzsd/functions/module/scoreboard/display/carousel/set_display/death_count.mcfunction new file mode 100644 index 0000000..4b77bf4 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/carousel/set_display/death_count.mcfunction @@ -0,0 +1,22 @@ +# 调用者:fzsd:module/scoreboard/carousel/try_display/~ + +## 判断颜色代码,见:https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81 +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 0 run scoreboard objectives setdisplay sidebar.team.black fzsd.module.scoreboard.display.death_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 1 run scoreboard objectives setdisplay sidebar.team.dark_blue fzsd.module.scoreboard.display.death_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 2 run scoreboard objectives setdisplay sidebar.team.dark_green fzsd.module.scoreboard.display.death_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 3 run scoreboard objectives setdisplay sidebar.team.dark_aqua fzsd.module.scoreboard.display.death_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 4 run scoreboard objectives setdisplay sidebar.team.dark_red fzsd.module.scoreboard.display.death_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 5 run scoreboard objectives setdisplay sidebar.team.dark_purple fzsd.module.scoreboard.display.death_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 run scoreboard objectives setdisplay sidebar.team.gold fzsd.module.scoreboard.display.death_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 7 run scoreboard objectives setdisplay sidebar.team.gray fzsd.module.scoreboard.display.death_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 8 run scoreboard objectives setdisplay sidebar.team.dark_gray fzsd.module.scoreboard.display.death_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 9 run scoreboard objectives setdisplay sidebar.team.blue fzsd.module.scoreboard.display.death_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 10 run scoreboard objectives setdisplay sidebar.team.green fzsd.module.scoreboard.display.death_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 11 run scoreboard objectives setdisplay sidebar.team.aqua fzsd.module.scoreboard.display.death_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 12 run scoreboard objectives setdisplay sidebar.team.red fzsd.module.scoreboard.display.death_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 13 run scoreboard objectives setdisplay sidebar.team.light_purple fzsd.module.scoreboard.display.death_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 14 run scoreboard objectives setdisplay sidebar.team.yellow fzsd.module.scoreboard.display.death_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 15 run scoreboard objectives setdisplay sidebar.team.white fzsd.module.scoreboard.display.death_count + +## 详细 +execute if score fzsd.logger.level fzsd.variable.integer matches ..300 run tellraw @a [{"nbt": "fzsd.level.fine", "interpret": true, "storage": "fzsd:logger"}, {"text": "已为队伍"}, {"nbt": "fzsd.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.scoreboard.text.death_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/carousel/set_display/dig_count.mcfunction b/data/fzsd/functions/module/scoreboard/display/carousel/set_display/dig_count.mcfunction new file mode 100644 index 0000000..d9641d4 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/carousel/set_display/dig_count.mcfunction @@ -0,0 +1,22 @@ +# 调用者:fzsd:module/scoreboard/carousel/try_display/~ + +## 判断颜色代码,见:https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81 +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 0 run scoreboard objectives setdisplay sidebar.team.black fzsd.module.scoreboard.display.dig_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 1 run scoreboard objectives setdisplay sidebar.team.dark_blue fzsd.module.scoreboard.display.dig_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 2 run scoreboard objectives setdisplay sidebar.team.dark_green fzsd.module.scoreboard.display.dig_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 3 run scoreboard objectives setdisplay sidebar.team.dark_aqua fzsd.module.scoreboard.display.dig_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 4 run scoreboard objectives setdisplay sidebar.team.dark_red fzsd.module.scoreboard.display.dig_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 5 run scoreboard objectives setdisplay sidebar.team.dark_purple fzsd.module.scoreboard.display.dig_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 run scoreboard objectives setdisplay sidebar.team.gold fzsd.module.scoreboard.display.dig_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 7 run scoreboard objectives setdisplay sidebar.team.gray fzsd.module.scoreboard.display.dig_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 8 run scoreboard objectives setdisplay sidebar.team.dark_gray fzsd.module.scoreboard.display.dig_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 9 run scoreboard objectives setdisplay sidebar.team.blue fzsd.module.scoreboard.display.dig_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 10 run scoreboard objectives setdisplay sidebar.team.green fzsd.module.scoreboard.display.dig_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 11 run scoreboard objectives setdisplay sidebar.team.aqua fzsd.module.scoreboard.display.dig_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 12 run scoreboard objectives setdisplay sidebar.team.red fzsd.module.scoreboard.display.dig_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 13 run scoreboard objectives setdisplay sidebar.team.light_purple fzsd.module.scoreboard.display.dig_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 14 run scoreboard objectives setdisplay sidebar.team.yellow fzsd.module.scoreboard.display.dig_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 15 run scoreboard objectives setdisplay sidebar.team.white fzsd.module.scoreboard.display.dig_count + +## 详细 +execute if score fzsd.logger.level fzsd.variable.integer matches ..300 run tellraw @a [{"nbt": "fzsd.level.fine", "interpret": true, "storage": "fzsd:logger"}, {"text": "已为队伍"}, {"nbt": "fzsd.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.scoreboard.text.dig_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/carousel/set_display/fishing_count.mcfunction b/data/fzsd/functions/module/scoreboard/display/carousel/set_display/fishing_count.mcfunction new file mode 100644 index 0000000..19bbe4c --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/carousel/set_display/fishing_count.mcfunction @@ -0,0 +1,22 @@ +# 调用者:fzsd:module/scoreboard/carousel/try_display/~ + +## 判断颜色代码,见:https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81 +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 0 run scoreboard objectives setdisplay sidebar.team.black fzsd.module.scoreboard.display.fishing_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 1 run scoreboard objectives setdisplay sidebar.team.dark_blue fzsd.module.scoreboard.display.fishing_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 2 run scoreboard objectives setdisplay sidebar.team.dark_green fzsd.module.scoreboard.display.fishing_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 3 run scoreboard objectives setdisplay sidebar.team.dark_aqua fzsd.module.scoreboard.display.fishing_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 4 run scoreboard objectives setdisplay sidebar.team.dark_red fzsd.module.scoreboard.display.fishing_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 5 run scoreboard objectives setdisplay sidebar.team.dark_purple fzsd.module.scoreboard.display.fishing_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 run scoreboard objectives setdisplay sidebar.team.gold fzsd.module.scoreboard.display.fishing_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 7 run scoreboard objectives setdisplay sidebar.team.gray fzsd.module.scoreboard.display.fishing_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 8 run scoreboard objectives setdisplay sidebar.team.dark_gray fzsd.module.scoreboard.display.fishing_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 9 run scoreboard objectives setdisplay sidebar.team.blue fzsd.module.scoreboard.display.fishing_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 10 run scoreboard objectives setdisplay sidebar.team.green fzsd.module.scoreboard.display.fishing_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 11 run scoreboard objectives setdisplay sidebar.team.aqua fzsd.module.scoreboard.display.fishing_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 12 run scoreboard objectives setdisplay sidebar.team.red fzsd.module.scoreboard.display.fishing_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 13 run scoreboard objectives setdisplay sidebar.team.light_purple fzsd.module.scoreboard.display.fishing_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 14 run scoreboard objectives setdisplay sidebar.team.yellow fzsd.module.scoreboard.display.fishing_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 15 run scoreboard objectives setdisplay sidebar.team.white fzsd.module.scoreboard.display.fishing_count + +## 详细 +execute if score fzsd.logger.level fzsd.variable.integer matches ..300 run tellraw @a [{"nbt": "fzsd.level.fine", "interpret": true, "storage": "fzsd:logger"}, {"text": "已为队伍"}, {"nbt": "fzsd.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.scoreboard.text.fishing_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/carousel/set_display/general.mcfunction b/data/fzsd/functions/module/scoreboard/display/carousel/set_display/general.mcfunction new file mode 100644 index 0000000..b637c7f --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/carousel/set_display/general.mcfunction @@ -0,0 +1,22 @@ +# 调用者:fzsd:module/scoreboard/carousel/try_display/~ + +## 判断颜色代码,见:https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81 +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 0 run scoreboard objectives setdisplay sidebar.team.black fzsd.module.scoreboard.display.general +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 1 run scoreboard objectives setdisplay sidebar.team.dark_blue fzsd.module.scoreboard.display.general +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 2 run scoreboard objectives setdisplay sidebar.team.dark_green fzsd.module.scoreboard.display.general +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 3 run scoreboard objectives setdisplay sidebar.team.dark_aqua fzsd.module.scoreboard.display.general +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 4 run scoreboard objectives setdisplay sidebar.team.dark_red fzsd.module.scoreboard.display.general +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 5 run scoreboard objectives setdisplay sidebar.team.dark_purple fzsd.module.scoreboard.display.general +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 run scoreboard objectives setdisplay sidebar.team.gold fzsd.module.scoreboard.display.general +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 7 run scoreboard objectives setdisplay sidebar.team.gray fzsd.module.scoreboard.display.general +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 8 run scoreboard objectives setdisplay sidebar.team.dark_gray fzsd.module.scoreboard.display.general +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 9 run scoreboard objectives setdisplay sidebar.team.blue fzsd.module.scoreboard.display.general +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 10 run scoreboard objectives setdisplay sidebar.team.green fzsd.module.scoreboard.display.general +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 11 run scoreboard objectives setdisplay sidebar.team.aqua fzsd.module.scoreboard.display.general +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 12 run scoreboard objectives setdisplay sidebar.team.red fzsd.module.scoreboard.display.general +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 13 run scoreboard objectives setdisplay sidebar.team.light_purple fzsd.module.scoreboard.display.general +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 14 run scoreboard objectives setdisplay sidebar.team.yellow fzsd.module.scoreboard.display.general +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 15 run scoreboard objectives setdisplay sidebar.team.white fzsd.module.scoreboard.display.general + +## 详细 +execute if score fzsd.logger.level fzsd.variable.integer matches ..300 run tellraw @a [{"nbt": "fzsd.level.fine", "interpret": true, "storage": "fzsd:logger"}, {"text": "已为队伍"}, {"nbt": "fzsd.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.scoreboard.text.general", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/carousel/set_display/kill_count.mcfunction b/data/fzsd/functions/module/scoreboard/display/carousel/set_display/kill_count.mcfunction new file mode 100644 index 0000000..fa0ef05 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/carousel/set_display/kill_count.mcfunction @@ -0,0 +1,22 @@ +# 调用者:fzsd:module/scoreboard/carousel/try_display/~ + +## 判断颜色代码,见:https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81 +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 0 run scoreboard objectives setdisplay sidebar.team.black fzsd.module.scoreboard.display.kill_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 1 run scoreboard objectives setdisplay sidebar.team.dark_blue fzsd.module.scoreboard.display.kill_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 2 run scoreboard objectives setdisplay sidebar.team.dark_green fzsd.module.scoreboard.display.kill_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 3 run scoreboard objectives setdisplay sidebar.team.dark_aqua fzsd.module.scoreboard.display.kill_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 4 run scoreboard objectives setdisplay sidebar.team.dark_red fzsd.module.scoreboard.display.kill_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 5 run scoreboard objectives setdisplay sidebar.team.dark_purple fzsd.module.scoreboard.display.kill_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 run scoreboard objectives setdisplay sidebar.team.gold fzsd.module.scoreboard.display.kill_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 7 run scoreboard objectives setdisplay sidebar.team.gray fzsd.module.scoreboard.display.kill_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 8 run scoreboard objectives setdisplay sidebar.team.dark_gray fzsd.module.scoreboard.display.kill_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 9 run scoreboard objectives setdisplay sidebar.team.blue fzsd.module.scoreboard.display.kill_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 10 run scoreboard objectives setdisplay sidebar.team.green fzsd.module.scoreboard.display.kill_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 11 run scoreboard objectives setdisplay sidebar.team.aqua fzsd.module.scoreboard.display.kill_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 12 run scoreboard objectives setdisplay sidebar.team.red fzsd.module.scoreboard.display.kill_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 13 run scoreboard objectives setdisplay sidebar.team.light_purple fzsd.module.scoreboard.display.kill_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 14 run scoreboard objectives setdisplay sidebar.team.yellow fzsd.module.scoreboard.display.kill_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 15 run scoreboard objectives setdisplay sidebar.team.white fzsd.module.scoreboard.display.kill_count + +## 详细 +execute if score fzsd.logger.level fzsd.variable.integer matches ..300 run tellraw @a [{"nbt": "fzsd.level.fine", "interpret": true, "storage": "fzsd:logger"}, {"text": "已为队伍"}, {"nbt": "fzsd.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.scoreboard.text.kill_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/carousel/set_display/placement_count.mcfunction b/data/fzsd/functions/module/scoreboard/display/carousel/set_display/placement_count.mcfunction new file mode 100644 index 0000000..5a443ef --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/carousel/set_display/placement_count.mcfunction @@ -0,0 +1,22 @@ +# 调用者:fzsd:module/scoreboard/carousel/try_display/~ + +## 判断颜色代码,见:https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81 +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 0 run scoreboard objectives setdisplay sidebar.team.black fzsd.module.scoreboard.display.placement_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 1 run scoreboard objectives setdisplay sidebar.team.dark_blue fzsd.module.scoreboard.display.placement_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 2 run scoreboard objectives setdisplay sidebar.team.dark_green fzsd.module.scoreboard.display.placement_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 3 run scoreboard objectives setdisplay sidebar.team.dark_aqua fzsd.module.scoreboard.display.placement_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 4 run scoreboard objectives setdisplay sidebar.team.dark_red fzsd.module.scoreboard.display.placement_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 5 run scoreboard objectives setdisplay sidebar.team.dark_purple fzsd.module.scoreboard.display.placement_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 run scoreboard objectives setdisplay sidebar.team.gold fzsd.module.scoreboard.display.placement_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 7 run scoreboard objectives setdisplay sidebar.team.gray fzsd.module.scoreboard.display.placement_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 8 run scoreboard objectives setdisplay sidebar.team.dark_gray fzsd.module.scoreboard.display.placement_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 9 run scoreboard objectives setdisplay sidebar.team.blue fzsd.module.scoreboard.display.placement_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 10 run scoreboard objectives setdisplay sidebar.team.green fzsd.module.scoreboard.display.placement_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 11 run scoreboard objectives setdisplay sidebar.team.aqua fzsd.module.scoreboard.display.placement_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 12 run scoreboard objectives setdisplay sidebar.team.red fzsd.module.scoreboard.display.placement_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 13 run scoreboard objectives setdisplay sidebar.team.light_purple fzsd.module.scoreboard.display.placement_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 14 run scoreboard objectives setdisplay sidebar.team.yellow fzsd.module.scoreboard.display.placement_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 15 run scoreboard objectives setdisplay sidebar.team.white fzsd.module.scoreboard.display.placement_count + +## 详细 +execute if score fzsd.logger.level fzsd.variable.integer matches ..300 run tellraw @a [{"nbt": "fzsd.level.fine", "interpret": true, "storage": "fzsd:logger"}, {"text": "已为队伍"}, {"nbt": "fzsd.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.scoreboard.text.placement_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/carousel/set_display/trade_count.mcfunction b/data/fzsd/functions/module/scoreboard/display/carousel/set_display/trade_count.mcfunction new file mode 100644 index 0000000..ed3b616 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/carousel/set_display/trade_count.mcfunction @@ -0,0 +1,22 @@ +# 调用者:fzsd:module/scoreboard/carousel/try_display/~ + +## 判断颜色代码,见:https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81 +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 0 run scoreboard objectives setdisplay sidebar.team.black fzsd.module.scoreboard.display.trade_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 1 run scoreboard objectives setdisplay sidebar.team.dark_blue fzsd.module.scoreboard.display.trade_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 2 run scoreboard objectives setdisplay sidebar.team.dark_green fzsd.module.scoreboard.display.trade_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 3 run scoreboard objectives setdisplay sidebar.team.dark_aqua fzsd.module.scoreboard.display.trade_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 4 run scoreboard objectives setdisplay sidebar.team.dark_red fzsd.module.scoreboard.display.trade_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 5 run scoreboard objectives setdisplay sidebar.team.dark_purple fzsd.module.scoreboard.display.trade_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 run scoreboard objectives setdisplay sidebar.team.gold fzsd.module.scoreboard.display.trade_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 7 run scoreboard objectives setdisplay sidebar.team.gray fzsd.module.scoreboard.display.trade_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 8 run scoreboard objectives setdisplay sidebar.team.dark_gray fzsd.module.scoreboard.display.trade_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 9 run scoreboard objectives setdisplay sidebar.team.blue fzsd.module.scoreboard.display.trade_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 10 run scoreboard objectives setdisplay sidebar.team.green fzsd.module.scoreboard.display.trade_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 11 run scoreboard objectives setdisplay sidebar.team.aqua fzsd.module.scoreboard.display.trade_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 12 run scoreboard objectives setdisplay sidebar.team.red fzsd.module.scoreboard.display.trade_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 13 run scoreboard objectives setdisplay sidebar.team.light_purple fzsd.module.scoreboard.display.trade_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 14 run scoreboard objectives setdisplay sidebar.team.yellow fzsd.module.scoreboard.display.trade_count +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 15 run scoreboard objectives setdisplay sidebar.team.white fzsd.module.scoreboard.display.trade_count + +## 详细 +execute if score fzsd.logger.level fzsd.variable.integer matches ..300 run tellraw @a [{"nbt": "fzsd.level.fine", "interpret": true, "storage": "fzsd:logger"}, {"text": "已为队伍"}, {"nbt": "fzsd.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.scoreboard.text.trade_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/carousel/try_display/activation.mcfunction b/data/fzsd/functions/module/scoreboard/display/carousel/try_display/activation.mcfunction new file mode 100644 index 0000000..7accfd3 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/carousel/try_display/activation.mcfunction @@ -0,0 +1 @@ +execute if score fzsd.module.scoreboard.display.current_id fzsd.variable.integer = fzsd.module.scoreboard.display.id.activation fzsd.variable.integer run function fzsd:module/scoreboard/display/carousel/set_display/activation \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/carousel/try_display/aviating_distance.mcfunction b/data/fzsd/functions/module/scoreboard/display/carousel/try_display/aviating_distance.mcfunction new file mode 100644 index 0000000..01c2b13 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/carousel/try_display/aviating_distance.mcfunction @@ -0,0 +1 @@ +execute if score fzsd.module.scoreboard.display.current_id fzsd.variable.integer = fzsd.module.scoreboard.display.id.aviating_distance fzsd.variable.integer run function fzsd:module/scoreboard/display/carousel/set_display/aviating_distance \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/carousel/try_display/damage_taken.mcfunction b/data/fzsd/functions/module/scoreboard/display/carousel/try_display/damage_taken.mcfunction new file mode 100644 index 0000000..81cf03e --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/carousel/try_display/damage_taken.mcfunction @@ -0,0 +1 @@ +execute if score fzsd.module.scoreboard.display.current_id fzsd.variable.integer = fzsd.module.scoreboard.display.id.damage_taken fzsd.variable.integer run function fzsd:module/scoreboard/display/carousel/set_display/damage_taken \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/carousel/try_display/death_count.mcfunction b/data/fzsd/functions/module/scoreboard/display/carousel/try_display/death_count.mcfunction new file mode 100644 index 0000000..3afdae3 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/carousel/try_display/death_count.mcfunction @@ -0,0 +1 @@ +execute if score fzsd.module.scoreboard.display.current_id fzsd.variable.integer = fzsd.module.scoreboard.display.id.death_count fzsd.variable.integer run function fzsd:module/scoreboard/display/carousel/set_display/death_count \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/carousel/try_display/dig_count.mcfunction b/data/fzsd/functions/module/scoreboard/display/carousel/try_display/dig_count.mcfunction new file mode 100644 index 0000000..7bcb99b --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/carousel/try_display/dig_count.mcfunction @@ -0,0 +1 @@ +execute if score fzsd.module.scoreboard.display.current_id fzsd.variable.integer = fzsd.module.scoreboard.display.id.dig_count fzsd.variable.integer run function fzsd:module/scoreboard/display/carousel/set_display/dig_count \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/carousel/try_display/fishing_count.mcfunction b/data/fzsd/functions/module/scoreboard/display/carousel/try_display/fishing_count.mcfunction new file mode 100644 index 0000000..43afe7d --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/carousel/try_display/fishing_count.mcfunction @@ -0,0 +1 @@ +execute if score fzsd.module.scoreboard.display.current_id fzsd.variable.integer = fzsd.module.scoreboard.display.id.fishing_count fzsd.variable.integer run function fzsd:module/scoreboard/display/carousel/set_display/fishing_count \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/carousel/try_display/general.mcfunction b/data/fzsd/functions/module/scoreboard/display/carousel/try_display/general.mcfunction new file mode 100644 index 0000000..fd7d501 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/carousel/try_display/general.mcfunction @@ -0,0 +1 @@ +execute if score fzsd.module.scoreboard.display.current_id fzsd.variable.integer = fzsd.module.scoreboard.display.id.general fzsd.variable.integer run function fzsd:module/scoreboard/display/carousel/set_display/general \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/carousel/try_display/kill_count.mcfunction b/data/fzsd/functions/module/scoreboard/display/carousel/try_display/kill_count.mcfunction new file mode 100644 index 0000000..dd5b990 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/carousel/try_display/kill_count.mcfunction @@ -0,0 +1 @@ +execute if score fzsd.module.scoreboard.display.current_id fzsd.variable.integer = fzsd.module.scoreboard.display.id.kill_count fzsd.variable.integer run function fzsd:module/scoreboard/display/carousel/set_display/kill_count \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/carousel/try_display/placement_count.mcfunction b/data/fzsd/functions/module/scoreboard/display/carousel/try_display/placement_count.mcfunction new file mode 100644 index 0000000..0127e6d --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/carousel/try_display/placement_count.mcfunction @@ -0,0 +1 @@ +execute if score fzsd.module.scoreboard.display.current_id fzsd.variable.integer = fzsd.module.scoreboard.display.id.placement_count fzsd.variable.integer run function fzsd:module/scoreboard/display/carousel/set_display/placement_count \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/carousel/try_display/trade_count.mcfunction b/data/fzsd/functions/module/scoreboard/display/carousel/try_display/trade_count.mcfunction new file mode 100644 index 0000000..c0020ce --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/carousel/try_display/trade_count.mcfunction @@ -0,0 +1 @@ +execute if score fzsd.module.scoreboard.display.current_id fzsd.variable.integer = fzsd.module.scoreboard.display.id.trade_count fzsd.variable.integer run function fzsd:module/scoreboard/display/carousel/set_display/trade_count \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/highest_id_add_1.mcfunction b/data/fzsd/functions/module/scoreboard/display/highest_id_add_1.mcfunction new file mode 100644 index 0000000..3c38a04 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/highest_id_add_1.mcfunction @@ -0,0 +1 @@ +scoreboard players add fzsd.module.scoreboard.display.highest_id fzsd.variable.integer 1 \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/register_id.mcfunction b/data/fzsd/functions/module/scoreboard/display/register_id.mcfunction new file mode 100644 index 0000000..7042b9f --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/register_id.mcfunction @@ -0,0 +1,39 @@ +#### 注册活跃度计分板id +function #fzsd:calculation/highest_id_add_1 +scoreboard players operation fzsd.module.scoreboard.display.id.activation fzsd.variable.integer = fzsd.module.scoreboard.display.highest_id fzsd.variable.integer + +#### 注册飞行距离计分板id +function #fzsd:calculation/highest_id_add_1 +scoreboard players operation fzsd.module.scoreboard.display.id.aviating_distance fzsd.variable.integer = fzsd.module.scoreboard.display.highest_id fzsd.variable.integer + +#### 注册抖M榜计分板id +function #fzsd:calculation/highest_id_add_1 +scoreboard players operation fzsd.module.scoreboard.display.id.damage_taken fzsd.variable.integer = fzsd.module.scoreboard.display.highest_id fzsd.variable.integer + +#### 注册死亡榜计分板id +function #fzsd:calculation/highest_id_add_1 +scoreboard players operation fzsd.module.scoreboard.display.id.death_count fzsd.variable.integer = fzsd.module.scoreboard.display.highest_id fzsd.variable.integer + +#### 注册挖掘榜计分板id +function #fzsd:calculation/highest_id_add_1 +scoreboard players operation fzsd.module.scoreboard.display.id.dig_count fzsd.variable.integer = fzsd.module.scoreboard.display.highest_id fzsd.variable.integer + +#### 注册钓鱼榜计分板id +function #fzsd:calculation/highest_id_add_1 +scoreboard players operation fzsd.module.scoreboard.display.id.fishing_count fzsd.variable.integer = fzsd.module.scoreboard.display.highest_id fzsd.variable.integer + +#### 注册总榜计分板id +function #fzsd:calculation/highest_id_add_1 +scoreboard players operation fzsd.module.scoreboard.display.id.general fzsd.variable.integer = fzsd.module.scoreboard.display.highest_id fzsd.variable.integer + +#### 注册击杀榜计分板id +function #fzsd:calculation/highest_id_add_1 +scoreboard players operation fzsd.module.scoreboard.display.id.kill_count fzsd.variable.integer = fzsd.module.scoreboard.display.highest_id fzsd.variable.integer + +#### 注册交易榜计分板id +function #fzsd:calculation/highest_id_add_1 +scoreboard players operation fzsd.module.scoreboard.display.id.trade_count fzsd.variable.integer = fzsd.module.scoreboard.display.highest_id fzsd.variable.integer + +#### 注册放置榜计分板id +function #fzsd:calculation/highest_id_add_1 +scoreboard players operation fzsd.module.scoreboard.display.id.placement_count fzsd.variable.integer = fzsd.module.scoreboard.display.highest_id fzsd.variable.integer \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/reset_id.mcfunction b/data/fzsd/functions/module/scoreboard/display/reset_id.mcfunction new file mode 100644 index 0000000..07525d5 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/reset_id.mcfunction @@ -0,0 +1,4 @@ +## 重置计分板最大id计数 +scoreboard players set fzsd.module.scoreboard.display.highest_id fzsd.variable.integer -1 +### 重置轮播计分板ID +scoreboard players set fzsd.module.scoreboard.display.current_id fzsd.variable.integer 0 \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/activation/aqua.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/activation/aqua.mcfunction new file mode 100644 index 0000000..a852806 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/activation/aqua.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/activation + +data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "aqua"}' +scoreboard objectives setdisplay sidebar.team.aqua fzsd.module.scoreboard.display.activation +scoreboard objectives modify fzsd.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "aqua"} +team modify fzsd.module.scoreboard.display.activation color aqua +team modify fzsd.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "aqua"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/activation/black.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/activation/black.mcfunction new file mode 100644 index 0000000..23f2d38 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/activation/black.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/activation + +data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "black"}' +scoreboard objectives setdisplay sidebar.team.black fzsd.module.scoreboard.display.activation +scoreboard objectives modify fzsd.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "black"} +team modify fzsd.module.scoreboard.display.activation color black +team modify fzsd.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "black"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/activation/blue.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/activation/blue.mcfunction new file mode 100644 index 0000000..e00b4da --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/activation/blue.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/activation + +data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "blue"}' +scoreboard objectives setdisplay sidebar.team.blue fzsd.module.scoreboard.display.activation +scoreboard objectives modify fzsd.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "blue"} +team modify fzsd.module.scoreboard.display.activation color blue +team modify fzsd.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "blue"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/activation/dark_aqua.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/activation/dark_aqua.mcfunction new file mode 100644 index 0000000..ce7d6a2 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/activation/dark_aqua.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/activation + +data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "dark_aqua"}' +scoreboard objectives setdisplay sidebar.team.dark_aqua fzsd.module.scoreboard.display.activation +scoreboard objectives modify fzsd.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "dark_aqua"} +team modify fzsd.module.scoreboard.display.activation color dark_aqua +team modify fzsd.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "dark_aqua"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/activation/dark_blue.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/activation/dark_blue.mcfunction new file mode 100644 index 0000000..e95ed98 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/activation/dark_blue.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/activation + +data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "dark_blue"}' +scoreboard objectives setdisplay sidebar.team.dark_blue fzsd.module.scoreboard.display.activation +scoreboard objectives modify fzsd.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "dark_blue"} +team modify fzsd.module.scoreboard.display.activation color dark_blue +team modify fzsd.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "dark_blue"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/activation/dark_gray.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/activation/dark_gray.mcfunction new file mode 100644 index 0000000..be9aa5d --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/activation/dark_gray.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/activation + +data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "dark_gray"}' +scoreboard objectives setdisplay sidebar.team.dark_gray fzsd.module.scoreboard.display.activation +scoreboard objectives modify fzsd.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "dark_gray"} +team modify fzsd.module.scoreboard.display.activation color dark_gray +team modify fzsd.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "dark_gray"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/activation/dark_green.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/activation/dark_green.mcfunction new file mode 100644 index 0000000..1994a7c --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/activation/dark_green.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/activation + +data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "dark_green"}' +scoreboard objectives setdisplay sidebar.team.dark_green fzsd.module.scoreboard.display.activation +scoreboard objectives modify fzsd.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "dark_green"} +team modify fzsd.module.scoreboard.display.activation color dark_green +team modify fzsd.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "dark_green"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/activation/dark_purple.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/activation/dark_purple.mcfunction new file mode 100644 index 0000000..837cafb --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/activation/dark_purple.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/activation + +data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "dark_purple"}' +scoreboard objectives setdisplay sidebar.team.dark_purple fzsd.module.scoreboard.display.activation +scoreboard objectives modify fzsd.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "dark_purple"} +team modify fzsd.module.scoreboard.display.activation color dark_purple +team modify fzsd.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "dark_purple"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/activation/dark_red.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/activation/dark_red.mcfunction new file mode 100644 index 0000000..2b62fa2 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/activation/dark_red.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/activation + +data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "dark_red"}' +scoreboard objectives setdisplay sidebar.team.dark_red fzsd.module.scoreboard.display.activation +scoreboard objectives modify fzsd.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "dark_red"} +team modify fzsd.module.scoreboard.display.activation color dark_red +team modify fzsd.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "dark_red"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/activation/gold.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/activation/gold.mcfunction new file mode 100644 index 0000000..45d2190 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/activation/gold.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/activation + +data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "gold"}' +scoreboard objectives setdisplay sidebar.team.gold fzsd.module.scoreboard.display.activation +scoreboard objectives modify fzsd.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "gold"} +team modify fzsd.module.scoreboard.display.activation color gold +team modify fzsd.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "gold"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/activation/gray.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/activation/gray.mcfunction new file mode 100644 index 0000000..af98eb5 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/activation/gray.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/activation + +data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "gray"}' +scoreboard objectives setdisplay sidebar.team.gray fzsd.module.scoreboard.display.activation +scoreboard objectives modify fzsd.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "gray"} +team modify fzsd.module.scoreboard.display.activation color gray +team modify fzsd.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "gray"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/activation/green.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/activation/green.mcfunction new file mode 100644 index 0000000..f9a1d1a --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/activation/green.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/activation + +data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "green"}' +scoreboard objectives setdisplay sidebar.team.green fzsd.module.scoreboard.display.activation +scoreboard objectives modify fzsd.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "green"} +team modify fzsd.module.scoreboard.display.activation color green +team modify fzsd.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "green"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/activation/light_purple.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/activation/light_purple.mcfunction new file mode 100644 index 0000000..3929da8 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/activation/light_purple.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/activation + +data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "light_purple"}' +scoreboard objectives setdisplay sidebar.team.light_purple fzsd.module.scoreboard.display.activation +scoreboard objectives modify fzsd.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "light_purple"} +team modify fzsd.module.scoreboard.display.activation color light_purple +team modify fzsd.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "light_purple"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/activation/red.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/activation/red.mcfunction new file mode 100644 index 0000000..5b7b9bc --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/activation/red.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/activation + +data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "red"}' +scoreboard objectives setdisplay sidebar.team.red fzsd.module.scoreboard.display.activation +scoreboard objectives modify fzsd.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "red"} +team modify fzsd.module.scoreboard.display.activation color red +team modify fzsd.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "red"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/activation/white.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/activation/white.mcfunction new file mode 100644 index 0000000..9b13270 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/activation/white.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/activation + +data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "white"}' +scoreboard objectives setdisplay sidebar.team.white fzsd.module.scoreboard.display.activation +scoreboard objectives modify fzsd.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "white"} +team modify fzsd.module.scoreboard.display.activation color white +team modify fzsd.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "white"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/activation/yellow.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/activation/yellow.mcfunction new file mode 100644 index 0000000..54854d3 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/activation/yellow.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/activation + +data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "yellow"}' +scoreboard objectives setdisplay sidebar.team.yellow fzsd.module.scoreboard.display.activation +scoreboard objectives modify fzsd.module.scoreboard.display.activation displayname {"text": "活跃时间(h)", "color": "yellow"} +team modify fzsd.module.scoreboard.display.activation color yellow +team modify fzsd.module.scoreboard.display.activation displayName {"text": "活跃时间(h)", "color": "yellow"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/aqua.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/aqua.mcfunction new file mode 100644 index 0000000..4ff1c72 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/aqua.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance + +data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "aqua"}' +scoreboard objectives setdisplay sidebar.team.aqua fzsd.module.scoreboard.display.aviating_distance +scoreboard objectives modify fzsd.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "aqua"} +team modify fzsd.module.scoreboard.display.aviating_distance color aqua +team modify fzsd.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "aqua"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/black.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/black.mcfunction new file mode 100644 index 0000000..1dc7fed --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/black.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance + +data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "black"}' +scoreboard objectives setdisplay sidebar.team.black fzsd.module.scoreboard.display.aviating_distance +scoreboard objectives modify fzsd.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "black"} +team modify fzsd.module.scoreboard.display.aviating_distance color black +team modify fzsd.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "black"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/blue.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/blue.mcfunction new file mode 100644 index 0000000..d41a9cf --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/blue.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance + +data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "blue"}' +scoreboard objectives setdisplay sidebar.team.blue fzsd.module.scoreboard.display.aviating_distance +scoreboard objectives modify fzsd.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "blue"} +team modify fzsd.module.scoreboard.display.aviating_distance color blue +team modify fzsd.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "blue"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/dark_aqua.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/dark_aqua.mcfunction new file mode 100644 index 0000000..e3e95b8 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/dark_aqua.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance + +data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "dark_aqua"}' +scoreboard objectives setdisplay sidebar.team.dark_aqua fzsd.module.scoreboard.display.aviating_distance +scoreboard objectives modify fzsd.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "dark_aqua"} +team modify fzsd.module.scoreboard.display.aviating_distance color dark_aqua +team modify fzsd.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "dark_aqua"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/dark_blue.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/dark_blue.mcfunction new file mode 100644 index 0000000..1f8b847 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/dark_blue.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance + +data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "dark_blue"}' +scoreboard objectives setdisplay sidebar.team.dark_blue fzsd.module.scoreboard.display.aviating_distance +scoreboard objectives modify fzsd.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "dark_blue"} +team modify fzsd.module.scoreboard.display.aviating_distance color dark_blue +team modify fzsd.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "dark_blue"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/dark_gray.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/dark_gray.mcfunction new file mode 100644 index 0000000..0e45065 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/dark_gray.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance + +data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "dark_gray"}' +scoreboard objectives setdisplay sidebar.team.dark_gray fzsd.module.scoreboard.display.aviating_distance +scoreboard objectives modify fzsd.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "dark_gray"} +team modify fzsd.module.scoreboard.display.aviating_distance color dark_gray +team modify fzsd.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "dark_gray"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/dark_green.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/dark_green.mcfunction new file mode 100644 index 0000000..036f374 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/dark_green.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance + +data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "dark_green"}' +scoreboard objectives setdisplay sidebar.team.dark_green fzsd.module.scoreboard.display.aviating_distance +scoreboard objectives modify fzsd.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "dark_green"} +team modify fzsd.module.scoreboard.display.aviating_distance color dark_green +team modify fzsd.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "dark_green"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/dark_purple.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/dark_purple.mcfunction new file mode 100644 index 0000000..e8b8a1e --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/dark_purple.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance + +data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "dark_purple"}' +scoreboard objectives setdisplay sidebar.team.dark_purple fzsd.module.scoreboard.display.aviating_distance +scoreboard objectives modify fzsd.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "dark_purple"} +team modify fzsd.module.scoreboard.display.aviating_distance color dark_purple +team modify fzsd.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "dark_purple"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/dark_red.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/dark_red.mcfunction new file mode 100644 index 0000000..221a101 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/dark_red.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance + +data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "dark_red"}' +scoreboard objectives setdisplay sidebar.team.dark_red fzsd.module.scoreboard.display.aviating_distance +scoreboard objectives modify fzsd.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "dark_red"} +team modify fzsd.module.scoreboard.display.aviating_distance color dark_red +team modify fzsd.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "dark_red"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/gold.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/gold.mcfunction new file mode 100644 index 0000000..056fd26 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/gold.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance + +data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "gold"}' +scoreboard objectives setdisplay sidebar.team.gold fzsd.module.scoreboard.display.aviating_distance +scoreboard objectives modify fzsd.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "gold"} +team modify fzsd.module.scoreboard.display.aviating_distance color gold +team modify fzsd.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "gold"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/gray.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/gray.mcfunction new file mode 100644 index 0000000..f451892 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/gray.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance + +data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "gray"}' +scoreboard objectives setdisplay sidebar.team.gray fzsd.module.scoreboard.display.aviating_distance +scoreboard objectives modify fzsd.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "gray"} +team modify fzsd.module.scoreboard.display.aviating_distance color gray +team modify fzsd.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "gray"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/green.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/green.mcfunction new file mode 100644 index 0000000..aaa227d --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/green.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance + +data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "green"}' +scoreboard objectives setdisplay sidebar.team.green fzsd.module.scoreboard.display.aviating_distance +scoreboard objectives modify fzsd.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "green"} +team modify fzsd.module.scoreboard.display.aviating_distance color green +team modify fzsd.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "green"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/light_purple.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/light_purple.mcfunction new file mode 100644 index 0000000..2cb2970 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/light_purple.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance + +data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "light_purple"}' +scoreboard objectives setdisplay sidebar.team.light_purple fzsd.module.scoreboard.display.aviating_distance +scoreboard objectives modify fzsd.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "light_purple"} +team modify fzsd.module.scoreboard.display.aviating_distance color light_purple +team modify fzsd.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "light_purple"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/red.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/red.mcfunction new file mode 100644 index 0000000..f3d1da0 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/red.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance + +data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "red"}' +scoreboard objectives setdisplay sidebar.team.red fzsd.module.scoreboard.display.aviating_distance +scoreboard objectives modify fzsd.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "red"} +team modify fzsd.module.scoreboard.display.aviating_distance color red +team modify fzsd.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "red"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/white.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/white.mcfunction new file mode 100644 index 0000000..c677446 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/white.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance + +data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "white"}' +scoreboard objectives setdisplay sidebar.team.white fzsd.module.scoreboard.display.aviating_distance +scoreboard objectives modify fzsd.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "white"} +team modify fzsd.module.scoreboard.display.aviating_distance color white +team modify fzsd.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "white"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/yellow.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/yellow.mcfunction new file mode 100644 index 0000000..0ea6f4a --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/aviating_distance/yellow.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance + +data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "yellow"}' +scoreboard objectives setdisplay sidebar.team.yellow fzsd.module.scoreboard.display.aviating_distance +scoreboard objectives modify fzsd.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "yellow"} +team modify fzsd.module.scoreboard.display.aviating_distance color yellow +team modify fzsd.module.scoreboard.display.aviating_distance displayName {"text": "飞行距离", "color": "yellow"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/carousel/aqua.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/aqua.mcfunction new file mode 100644 index 0000000..8f25f4d --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/aqua.mcfunction @@ -0,0 +1,6 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/carousel + +data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "aqua"}' +team modify fzsd.module.scoreboard.display.carousel color aqua +team modify fzsd.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "aqua"} +scoreboard players set fzsd.module.scoreboard.carousel.color fzsd.variable.integer 11 \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/carousel/black.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/black.mcfunction new file mode 100644 index 0000000..c5ce129 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/black.mcfunction @@ -0,0 +1,6 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/carousel + +data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "black"}' +team modify fzsd.module.scoreboard.display.carousel color black +team modify fzsd.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "black"} +scoreboard players set fzsd.module.scoreboard.carousel.color fzsd.variable.integer 0 \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/carousel/blue.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/blue.mcfunction new file mode 100644 index 0000000..f6587e8 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/blue.mcfunction @@ -0,0 +1,6 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/carousel + +data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "blue"}' +team modify fzsd.module.scoreboard.display.carousel color blue +team modify fzsd.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "blue"} +scoreboard players set fzsd.module.scoreboard.carousel.color fzsd.variable.integer 9 \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/carousel/dark_aqua.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/dark_aqua.mcfunction new file mode 100644 index 0000000..dd7df03 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/dark_aqua.mcfunction @@ -0,0 +1,6 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/carousel + +data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "dark_aqua"}' +team modify fzsd.module.scoreboard.display.carousel color dark_aqua +team modify fzsd.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "dark_aqua"} +scoreboard players set fzsd.module.scoreboard.carousel.color fzsd.variable.integer 3 \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/carousel/dark_blue.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/dark_blue.mcfunction new file mode 100644 index 0000000..fbae6ea --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/dark_blue.mcfunction @@ -0,0 +1,6 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/carousel + +data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "dark_blue"}' +team modify fzsd.module.scoreboard.display.carousel color dark_blue +team modify fzsd.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "dark_blue"} +scoreboard players set fzsd.module.scoreboard.carousel.color fzsd.variable.integer 1 \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/carousel/dark_gray.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/dark_gray.mcfunction new file mode 100644 index 0000000..4ba05df --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/dark_gray.mcfunction @@ -0,0 +1,6 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/carousel + +data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "dark_gray"}' +team modify fzsd.module.scoreboard.display.carousel color dark_gray +team modify fzsd.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "dark_gray"} +scoreboard players set fzsd.module.scoreboard.carousel.color fzsd.variable.integer 8 \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/carousel/dark_green.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/dark_green.mcfunction new file mode 100644 index 0000000..aa26b70 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/dark_green.mcfunction @@ -0,0 +1,6 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/carousel + +data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "dark_green"}' +team modify fzsd.module.scoreboard.display.carousel color dark_green +team modify fzsd.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "dark_green"} +scoreboard players set fzsd.module.scoreboard.carousel.color fzsd.variable.integer 2 \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/carousel/dark_purple.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/dark_purple.mcfunction new file mode 100644 index 0000000..a942bcd --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/dark_purple.mcfunction @@ -0,0 +1,6 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/carousel + +data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "dark_purple"}' +team modify fzsd.module.scoreboard.display.carousel color dark_purple +team modify fzsd.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "dark_purple"} +scoreboard players set fzsd.module.scoreboard.carousel.color fzsd.variable.integer 5 \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/carousel/dark_red.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/dark_red.mcfunction new file mode 100644 index 0000000..75d3ae5 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/dark_red.mcfunction @@ -0,0 +1,6 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/carousel + +data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "dark_red"}' +team modify fzsd.module.scoreboard.display.carousel color dark_red +team modify fzsd.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "dark_red"} +scoreboard players set fzsd.module.scoreboard.carousel.color fzsd.variable.integer 4 \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/carousel/gold.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/gold.mcfunction new file mode 100644 index 0000000..7f5027c --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/gold.mcfunction @@ -0,0 +1,6 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/carousel + +data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "gold"}' +team modify fzsd.module.scoreboard.display.carousel color gold +team modify fzsd.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "gold"} +scoreboard players set fzsd.module.scoreboard.carousel.color fzsd.variable.integer 6 \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/carousel/gray.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/gray.mcfunction new file mode 100644 index 0000000..b277287 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/gray.mcfunction @@ -0,0 +1,6 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/carousel + +data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "gray"}' +team modify fzsd.module.scoreboard.display.carousel color gray +team modify fzsd.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "gray"} +scoreboard players set fzsd.module.scoreboard.carousel.color fzsd.variable.integer 7 \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/carousel/green.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/green.mcfunction new file mode 100644 index 0000000..3193fb9 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/green.mcfunction @@ -0,0 +1,6 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/carousel + +data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "green"}' +team modify fzsd.module.scoreboard.display.carousel color green +team modify fzsd.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "green"} +scoreboard players set fzsd.module.scoreboard.carousel.color fzsd.variable.integer 10 \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/carousel/light_purple.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/light_purple.mcfunction new file mode 100644 index 0000000..d85a879 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/light_purple.mcfunction @@ -0,0 +1,6 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/carousel + +data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "light_purple"}' +team modify fzsd.module.scoreboard.display.carousel color light_purple +team modify fzsd.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "light_purple"} +scoreboard players set fzsd.module.scoreboard.carousel.color fzsd.variable.integer 13 \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/carousel/red.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/red.mcfunction new file mode 100644 index 0000000..33fdbee --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/red.mcfunction @@ -0,0 +1,6 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/carousel + +data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "red"}' +team modify fzsd.module.scoreboard.display.carousel color red +team modify fzsd.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "red"} +scoreboard players set fzsd.module.scoreboard.carousel.color fzsd.variable.integer 12 \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/carousel/white.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/white.mcfunction new file mode 100644 index 0000000..09b799c --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/white.mcfunction @@ -0,0 +1,6 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/carousel + +data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "white"}' +team modify fzsd.module.scoreboard.display.carousel color white +team modify fzsd.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "white"} +scoreboard players set fzsd.module.scoreboard.carousel.color fzsd.variable.integer 15 \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/carousel/yellow.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/yellow.mcfunction new file mode 100644 index 0000000..77c5faa --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/yellow.mcfunction @@ -0,0 +1,6 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/carousel + +data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "yellow"}' +team modify fzsd.module.scoreboard.display.carousel color yellow +team modify fzsd.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "yellow"} +scoreboard players set fzsd.module.scoreboard.carousel.color fzsd.variable.integer 14 \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/aqua.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/aqua.mcfunction new file mode 100644 index 0000000..803fda8 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/aqua.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/damage_taken + +data modify storage fzsd:module fzsd.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "aqua"}' +scoreboard objectives setdisplay sidebar.team.aqua fzsd.module.scoreboard.display.damage_taken +scoreboard objectives modify fzsd.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "aqua"} +team modify fzsd.module.scoreboard.display.damage_taken color aqua +team modify fzsd.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "aqua"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/black.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/black.mcfunction new file mode 100644 index 0000000..7611c4e --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/black.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/damage_taken + +data modify storage fzsd:module fzsd.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "black"}' +scoreboard objectives setdisplay sidebar.team.black fzsd.module.scoreboard.display.damage_taken +scoreboard objectives modify fzsd.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "black"} +team modify fzsd.module.scoreboard.display.damage_taken color black +team modify fzsd.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "black"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/blue.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/blue.mcfunction new file mode 100644 index 0000000..b5467e8 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/blue.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/damage_taken + +data modify storage fzsd:module fzsd.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "blue"}' +scoreboard objectives setdisplay sidebar.team.blue fzsd.module.scoreboard.display.damage_taken +scoreboard objectives modify fzsd.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "blue"} +team modify fzsd.module.scoreboard.display.damage_taken color blue +team modify fzsd.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "blue"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/dark_aqua.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/dark_aqua.mcfunction new file mode 100644 index 0000000..c1a9e40 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/dark_aqua.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/damage_taken + +data modify storage fzsd:module fzsd.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "dark_aqua"}' +scoreboard objectives setdisplay sidebar.team.dark_aqua fzsd.module.scoreboard.display.damage_taken +scoreboard objectives modify fzsd.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "dark_aqua"} +team modify fzsd.module.scoreboard.display.damage_taken color dark_aqua +team modify fzsd.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "dark_aqua"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/dark_blue.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/dark_blue.mcfunction new file mode 100644 index 0000000..f9b0344 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/dark_blue.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/damage_taken + +data modify storage fzsd:module fzsd.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "dark_blue"}' +scoreboard objectives setdisplay sidebar.team.dark_blue fzsd.module.scoreboard.display.damage_taken +scoreboard objectives modify fzsd.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "dark_blue"} +team modify fzsd.module.scoreboard.display.damage_taken color dark_blue +team modify fzsd.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "dark_blue"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/dark_gray.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/dark_gray.mcfunction new file mode 100644 index 0000000..6c740f5 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/dark_gray.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/damage_taken + +data modify storage fzsd:module fzsd.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "dark_gray"}' +scoreboard objectives setdisplay sidebar.team.dark_gray fzsd.module.scoreboard.display.damage_taken +scoreboard objectives modify fzsd.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "dark_gray"} +team modify fzsd.module.scoreboard.display.damage_taken color dark_gray +team modify fzsd.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "dark_gray"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/dark_green.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/dark_green.mcfunction new file mode 100644 index 0000000..4cee1b2 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/dark_green.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/damage_taken + +data modify storage fzsd:module fzsd.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "dark_green"}' +scoreboard objectives setdisplay sidebar.team.dark_green fzsd.module.scoreboard.display.damage_taken +scoreboard objectives modify fzsd.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "dark_green"} +team modify fzsd.module.scoreboard.display.damage_taken color dark_green +team modify fzsd.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "dark_green"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/dark_purple.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/dark_purple.mcfunction new file mode 100644 index 0000000..bc2ae45 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/dark_purple.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/damage_taken + +data modify storage fzsd:module fzsd.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "dark_purple"}' +scoreboard objectives setdisplay sidebar.team.dark_purple fzsd.module.scoreboard.display.damage_taken +scoreboard objectives modify fzsd.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "dark_purple"} +team modify fzsd.module.scoreboard.display.damage_taken color dark_purple +team modify fzsd.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "dark_purple"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/dark_red.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/dark_red.mcfunction new file mode 100644 index 0000000..a71d93e --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/dark_red.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/damage_taken + +data modify storage fzsd:module fzsd.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "dark_red"}' +scoreboard objectives setdisplay sidebar.team.dark_red fzsd.module.scoreboard.display.damage_taken +scoreboard objectives modify fzsd.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "dark_red"} +team modify fzsd.module.scoreboard.display.damage_taken color dark_red +team modify fzsd.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "dark_red"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/gold.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/gold.mcfunction new file mode 100644 index 0000000..faaec43 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/gold.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/damage_taken + +data modify storage fzsd:module fzsd.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "gold"}' +scoreboard objectives setdisplay sidebar.team.gold fzsd.module.scoreboard.display.damage_taken +scoreboard objectives modify fzsd.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "gold"} +team modify fzsd.module.scoreboard.display.damage_taken color gold +team modify fzsd.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "gold"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/gray.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/gray.mcfunction new file mode 100644 index 0000000..617d0c7 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/gray.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/damage_taken + +data modify storage fzsd:module fzsd.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "gray"}' +scoreboard objectives setdisplay sidebar.team.gray fzsd.module.scoreboard.display.damage_taken +scoreboard objectives modify fzsd.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "gray"} +team modify fzsd.module.scoreboard.display.damage_taken color gray +team modify fzsd.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "gray"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/green.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/green.mcfunction new file mode 100644 index 0000000..17c91b1 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/green.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/damage_taken + +data modify storage fzsd:module fzsd.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "green"}' +scoreboard objectives setdisplay sidebar.team.green fzsd.module.scoreboard.display.damage_taken +scoreboard objectives modify fzsd.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "green"} +team modify fzsd.module.scoreboard.display.damage_taken color green +team modify fzsd.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "green"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/light_purple.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/light_purple.mcfunction new file mode 100644 index 0000000..37eea31 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/light_purple.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/damage_taken + +data modify storage fzsd:module fzsd.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "light_purple"}' +scoreboard objectives setdisplay sidebar.team.light_purple fzsd.module.scoreboard.display.damage_taken +scoreboard objectives modify fzsd.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "light_purple"} +team modify fzsd.module.scoreboard.display.damage_taken color light_purple +team modify fzsd.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "light_purple"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/red.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/red.mcfunction new file mode 100644 index 0000000..84355b4 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/red.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/damage_taken + +data modify storage fzsd:module fzsd.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "red"}' +scoreboard objectives setdisplay sidebar.team.red fzsd.module.scoreboard.display.damage_taken +scoreboard objectives modify fzsd.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "red"} +team modify fzsd.module.scoreboard.display.damage_taken color red +team modify fzsd.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "red"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/white.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/white.mcfunction new file mode 100644 index 0000000..8c2334a --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/white.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/damage_taken + +data modify storage fzsd:module fzsd.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "white"}' +scoreboard objectives setdisplay sidebar.team.white fzsd.module.scoreboard.display.damage_taken +scoreboard objectives modify fzsd.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "white"} +team modify fzsd.module.scoreboard.display.damage_taken color white +team modify fzsd.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "white"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/yellow.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/yellow.mcfunction new file mode 100644 index 0000000..6319e28 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/damage_taken/yellow.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/damage_taken + +data modify storage fzsd:module fzsd.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "yellow"}' +scoreboard objectives setdisplay sidebar.team.yellow fzsd.module.scoreboard.display.damage_taken +scoreboard objectives modify fzsd.module.scoreboard.display.damage_taken displayname {"text": "抖M榜", "color": "yellow"} +team modify fzsd.module.scoreboard.display.damage_taken color yellow +team modify fzsd.module.scoreboard.display.damage_taken displayName {"text": "抖M榜", "color": "yellow"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/death_count/aqua.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/aqua.mcfunction new file mode 100644 index 0000000..0ebfcce --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/aqua.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/death_count + +data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "aqua"}' +scoreboard objectives setdisplay sidebar.team.aqua fzsd.module.scoreboard.display.death_count +scoreboard objectives modify fzsd.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "aqua"} +team modify fzsd.module.scoreboard.display.death_count color aqua +team modify fzsd.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "aqua"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/death_count/black.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/black.mcfunction new file mode 100644 index 0000000..55ae643 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/black.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/death_count + +data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "black"}' +scoreboard objectives setdisplay sidebar.team.black fzsd.module.scoreboard.display.death_count +scoreboard objectives modify fzsd.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "black"} +team modify fzsd.module.scoreboard.display.death_count color black +team modify fzsd.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "black"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/death_count/blue.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/blue.mcfunction new file mode 100644 index 0000000..8f0dde5 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/blue.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/death_count + +data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "blue"}' +scoreboard objectives setdisplay sidebar.team.blue fzsd.module.scoreboard.display.death_count +scoreboard objectives modify fzsd.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "blue"} +team modify fzsd.module.scoreboard.display.death_count color blue +team modify fzsd.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "blue"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/death_count/dark_aqua.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/dark_aqua.mcfunction new file mode 100644 index 0000000..009463a --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/dark_aqua.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/death_count + +data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "dark_aqua"}' +scoreboard objectives setdisplay sidebar.team.dark_aqua fzsd.module.scoreboard.display.death_count +scoreboard objectives modify fzsd.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "dark_aqua"} +team modify fzsd.module.scoreboard.display.death_count color dark_aqua +team modify fzsd.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "dark_aqua"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/death_count/dark_blue.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/dark_blue.mcfunction new file mode 100644 index 0000000..6632f2f --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/dark_blue.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/death_count + +data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "dark_blue"}' +scoreboard objectives setdisplay sidebar.team.dark_blue fzsd.module.scoreboard.display.death_count +scoreboard objectives modify fzsd.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "dark_blue"} +team modify fzsd.module.scoreboard.display.death_count color dark_blue +team modify fzsd.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "dark_blue"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/death_count/dark_gray.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/dark_gray.mcfunction new file mode 100644 index 0000000..9879137 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/dark_gray.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/death_count + +data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "dark_gray"}' +scoreboard objectives setdisplay sidebar.team.dark_gray fzsd.module.scoreboard.display.death_count +scoreboard objectives modify fzsd.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "dark_gray"} +team modify fzsd.module.scoreboard.display.death_count color dark_gray +team modify fzsd.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "dark_gray"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/death_count/dark_green.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/dark_green.mcfunction new file mode 100644 index 0000000..d886edd --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/dark_green.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/death_count + +data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "dark_green"}' +scoreboard objectives setdisplay sidebar.team.dark_green fzsd.module.scoreboard.display.death_count +scoreboard objectives modify fzsd.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "dark_green"} +team modify fzsd.module.scoreboard.display.death_count color dark_green +team modify fzsd.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "dark_green"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/death_count/dark_purple.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/dark_purple.mcfunction new file mode 100644 index 0000000..cdb20dc --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/dark_purple.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/death_count + +data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "dark_purple"}' +scoreboard objectives setdisplay sidebar.team.dark_purple fzsd.module.scoreboard.display.death_count +scoreboard objectives modify fzsd.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "dark_purple"} +team modify fzsd.module.scoreboard.display.death_count color dark_purple +team modify fzsd.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "dark_purple"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/death_count/dark_red.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/dark_red.mcfunction new file mode 100644 index 0000000..9376836 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/dark_red.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/death_count + +data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "dark_red"}' +scoreboard objectives setdisplay sidebar.team.dark_red fzsd.module.scoreboard.display.death_count +scoreboard objectives modify fzsd.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "dark_red"} +team modify fzsd.module.scoreboard.display.death_count color dark_red +team modify fzsd.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "dark_red"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/death_count/gold.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/gold.mcfunction new file mode 100644 index 0000000..bc288fe --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/gold.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/death_count + +data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "gold"}' +scoreboard objectives setdisplay sidebar.team.gold fzsd.module.scoreboard.display.death_count +scoreboard objectives modify fzsd.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "gold"} +team modify fzsd.module.scoreboard.display.death_count color gold +team modify fzsd.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "gold"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/death_count/gray.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/gray.mcfunction new file mode 100644 index 0000000..055d8b6 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/gray.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/death_count + +data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "gray"}' +scoreboard objectives setdisplay sidebar.team.gray fzsd.module.scoreboard.display.death_count +scoreboard objectives modify fzsd.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "gray"} +team modify fzsd.module.scoreboard.display.death_count color gray +team modify fzsd.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "gray"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/death_count/green.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/green.mcfunction new file mode 100644 index 0000000..678f3d9 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/green.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/death_count + +data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "green"}' +scoreboard objectives setdisplay sidebar.team.green fzsd.module.scoreboard.display.death_count +scoreboard objectives modify fzsd.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "green"} +team modify fzsd.module.scoreboard.display.death_count color green +team modify fzsd.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "green"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/death_count/light_purple.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/light_purple.mcfunction new file mode 100644 index 0000000..9672957 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/light_purple.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/death_count + +data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "light_purple"}' +scoreboard objectives setdisplay sidebar.team.light_purple fzsd.module.scoreboard.display.death_count +scoreboard objectives modify fzsd.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "light_purple"} +team modify fzsd.module.scoreboard.display.death_count color light_purple +team modify fzsd.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "light_purple"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/death_count/red.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/red.mcfunction new file mode 100644 index 0000000..2acfe18 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/red.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/death_count + +data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "red"}' +scoreboard objectives setdisplay sidebar.team.red fzsd.module.scoreboard.display.death_count +scoreboard objectives modify fzsd.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "red"} +team modify fzsd.module.scoreboard.display.death_count color red +team modify fzsd.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "red"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/death_count/white.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/white.mcfunction new file mode 100644 index 0000000..415911c --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/white.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/death_count + +data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "white"}' +scoreboard objectives setdisplay sidebar.team.white fzsd.module.scoreboard.display.death_count +scoreboard objectives modify fzsd.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "white"} +team modify fzsd.module.scoreboard.display.death_count color white +team modify fzsd.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "white"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/death_count/yellow.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/yellow.mcfunction new file mode 100644 index 0000000..e1705e1 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/death_count/yellow.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/death_count + +data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "yellow"}' +scoreboard objectives setdisplay sidebar.team.yellow fzsd.module.scoreboard.display.death_count +scoreboard objectives modify fzsd.module.scoreboard.display.death_count displayname {"text": "死亡榜", "color": "yellow"} +team modify fzsd.module.scoreboard.display.death_count color yellow +team modify fzsd.module.scoreboard.display.death_count displayName {"text": "死亡榜", "color": "yellow"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/aqua.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/aqua.mcfunction new file mode 100644 index 0000000..9f09279 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/aqua.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/dig_count + +data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "aqua"}' +scoreboard objectives setdisplay sidebar.team.aqua fzsd.module.scoreboard.display.dig_count +scoreboard objectives modify fzsd.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "aqua"} +team modify fzsd.module.scoreboard.display.dig_count color aqua +team modify fzsd.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "aqua"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/black.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/black.mcfunction new file mode 100644 index 0000000..381d8b9 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/black.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/dig_count + +data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "black"}' +scoreboard objectives setdisplay sidebar.team.black fzsd.module.scoreboard.display.dig_count +scoreboard objectives modify fzsd.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "black"} +team modify fzsd.module.scoreboard.display.dig_count color black +team modify fzsd.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "black"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/blue.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/blue.mcfunction new file mode 100644 index 0000000..29868f7 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/blue.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/dig_count + +data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "blue"}' +scoreboard objectives setdisplay sidebar.team.blue fzsd.module.scoreboard.display.dig_count +scoreboard objectives modify fzsd.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "blue"} +team modify fzsd.module.scoreboard.display.dig_count color blue +team modify fzsd.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "blue"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/dark_aqua.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/dark_aqua.mcfunction new file mode 100644 index 0000000..18c0761 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/dark_aqua.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/dig_count + +data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "dark_aqua"}' +scoreboard objectives setdisplay sidebar.team.dark_aqua fzsd.module.scoreboard.display.dig_count +scoreboard objectives modify fzsd.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "dark_aqua"} +team modify fzsd.module.scoreboard.display.dig_count color dark_aqua +team modify fzsd.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "dark_aqua"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/dark_blue.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/dark_blue.mcfunction new file mode 100644 index 0000000..0379e9f --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/dark_blue.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/dig_count + +data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "dark_blue"}' +scoreboard objectives setdisplay sidebar.team.dark_blue fzsd.module.scoreboard.display.dig_count +scoreboard objectives modify fzsd.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "dark_blue"} +team modify fzsd.module.scoreboard.display.dig_count color dark_blue +team modify fzsd.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "dark_blue"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/dark_gray.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/dark_gray.mcfunction new file mode 100644 index 0000000..e573161 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/dark_gray.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/dig_count + +data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "dark_gray"}' +scoreboard objectives setdisplay sidebar.team.dark_gray fzsd.module.scoreboard.display.dig_count +scoreboard objectives modify fzsd.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "dark_gray"} +team modify fzsd.module.scoreboard.display.dig_count color dark_gray +team modify fzsd.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "dark_gray"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/dark_green.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/dark_green.mcfunction new file mode 100644 index 0000000..7611e7a --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/dark_green.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/dig_count + +data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "dark_green"}' +scoreboard objectives setdisplay sidebar.team.dark_green fzsd.module.scoreboard.display.dig_count +scoreboard objectives modify fzsd.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "dark_green"} +team modify fzsd.module.scoreboard.display.dig_count color dark_green +team modify fzsd.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "dark_green"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/dark_purple.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/dark_purple.mcfunction new file mode 100644 index 0000000..ffbdee0 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/dark_purple.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/dig_count + +data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "dark_purple"}' +scoreboard objectives setdisplay sidebar.team.dark_purple fzsd.module.scoreboard.display.dig_count +scoreboard objectives modify fzsd.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "dark_purple"} +team modify fzsd.module.scoreboard.display.dig_count color dark_purple +team modify fzsd.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "dark_purple"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/dark_red.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/dark_red.mcfunction new file mode 100644 index 0000000..a03d0ec --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/dark_red.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/dig_count + +data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "dark_red"}' +scoreboard objectives setdisplay sidebar.team.dark_red fzsd.module.scoreboard.display.dig_count +scoreboard objectives modify fzsd.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "dark_red"} +team modify fzsd.module.scoreboard.display.dig_count color dark_red +team modify fzsd.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "dark_red"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/gold.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/gold.mcfunction new file mode 100644 index 0000000..c0172f4 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/gold.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/dig_count + +data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "gold"}' +scoreboard objectives setdisplay sidebar.team.gold fzsd.module.scoreboard.display.dig_count +scoreboard objectives modify fzsd.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "gold"} +team modify fzsd.module.scoreboard.display.dig_count color gold +team modify fzsd.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "gold"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/gray.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/gray.mcfunction new file mode 100644 index 0000000..5ab5bfb --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/gray.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/dig_count + +data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "gray"}' +scoreboard objectives setdisplay sidebar.team.gray fzsd.module.scoreboard.display.dig_count +scoreboard objectives modify fzsd.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "gray"} +team modify fzsd.module.scoreboard.display.dig_count color gray +team modify fzsd.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "gray"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/green.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/green.mcfunction new file mode 100644 index 0000000..c35fc35 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/green.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/dig_count + +data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "green"}' +scoreboard objectives setdisplay sidebar.team.green fzsd.module.scoreboard.display.dig_count +scoreboard objectives modify fzsd.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "green"} +team modify fzsd.module.scoreboard.display.dig_count color green +team modify fzsd.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "green"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/light_purple.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/light_purple.mcfunction new file mode 100644 index 0000000..9d1440d --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/light_purple.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/dig_count + +data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "light_purple"}' +scoreboard objectives setdisplay sidebar.team.light_purple fzsd.module.scoreboard.display.dig_count +scoreboard objectives modify fzsd.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "light_purple"} +team modify fzsd.module.scoreboard.display.dig_count color light_purple +team modify fzsd.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "light_purple"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/red.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/red.mcfunction new file mode 100644 index 0000000..14967f4 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/red.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/dig_count + +data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "red"}' +scoreboard objectives setdisplay sidebar.team.red fzsd.module.scoreboard.display.dig_count +scoreboard objectives modify fzsd.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "red"} +team modify fzsd.module.scoreboard.display.dig_count color red +team modify fzsd.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "red"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/white.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/white.mcfunction new file mode 100644 index 0000000..0dfbea9 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/white.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/dig_count + +data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "white"}' +scoreboard objectives setdisplay sidebar.team.white fzsd.module.scoreboard.display.dig_count +scoreboard objectives modify fzsd.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "white"} +team modify fzsd.module.scoreboard.display.dig_count color white +team modify fzsd.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "white"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/yellow.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/yellow.mcfunction new file mode 100644 index 0000000..24a0d41 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/dig_count/yellow.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/dig_count + +data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "yellow"}' +scoreboard objectives setdisplay sidebar.team.yellow fzsd.module.scoreboard.display.dig_count +scoreboard objectives modify fzsd.module.scoreboard.display.dig_count displayname {"text": "挖掘榜", "color": "yellow"} +team modify fzsd.module.scoreboard.display.dig_count color yellow +team modify fzsd.module.scoreboard.display.dig_count displayName {"text": "挖掘榜", "color": "yellow"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/aqua.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/aqua.mcfunction new file mode 100644 index 0000000..647d734 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/aqua.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count + +data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "aqua"}' +scoreboard objectives setdisplay sidebar.team.aqua fzsd.module.scoreboard.display.fishing_count +scoreboard objectives modify fzsd.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "aqua"} +team modify fzsd.module.scoreboard.display.fishing_count color aqua +team modify fzsd.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "aqua"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/black.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/black.mcfunction new file mode 100644 index 0000000..4dd0b5c --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/black.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count + +data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "black"}' +scoreboard objectives setdisplay sidebar.team.black fzsd.module.scoreboard.display.fishing_count +scoreboard objectives modify fzsd.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "black"} +team modify fzsd.module.scoreboard.display.fishing_count color black +team modify fzsd.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "black"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/blue.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/blue.mcfunction new file mode 100644 index 0000000..12ffb14 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/blue.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count + +data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "blue"}' +scoreboard objectives setdisplay sidebar.team.blue fzsd.module.scoreboard.display.fishing_count +scoreboard objectives modify fzsd.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "blue"} +team modify fzsd.module.scoreboard.display.fishing_count color blue +team modify fzsd.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "blue"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/dark_aqua.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/dark_aqua.mcfunction new file mode 100644 index 0000000..623124d --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/dark_aqua.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count + +data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "dark_aqua"}' +scoreboard objectives setdisplay sidebar.team.dark_aqua fzsd.module.scoreboard.display.fishing_count +scoreboard objectives modify fzsd.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "dark_aqua"} +team modify fzsd.module.scoreboard.display.fishing_count color dark_aqua +team modify fzsd.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "dark_aqua"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/dark_blue.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/dark_blue.mcfunction new file mode 100644 index 0000000..a70bdac --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/dark_blue.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count + +data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "dark_blue"}' +scoreboard objectives setdisplay sidebar.team.dark_blue fzsd.module.scoreboard.display.fishing_count +scoreboard objectives modify fzsd.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "dark_blue"} +team modify fzsd.module.scoreboard.display.fishing_count color dark_blue +team modify fzsd.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "dark_blue"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/dark_gray.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/dark_gray.mcfunction new file mode 100644 index 0000000..1fe57e4 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/dark_gray.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count + +data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "dark_gray"}' +scoreboard objectives setdisplay sidebar.team.dark_gray fzsd.module.scoreboard.display.fishing_count +scoreboard objectives modify fzsd.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "dark_gray"} +team modify fzsd.module.scoreboard.display.fishing_count color dark_gray +team modify fzsd.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "dark_gray"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/dark_green.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/dark_green.mcfunction new file mode 100644 index 0000000..f6ffc91 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/dark_green.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count + +data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "dark_green"}' +scoreboard objectives setdisplay sidebar.team.dark_green fzsd.module.scoreboard.display.fishing_count +scoreboard objectives modify fzsd.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "dark_green"} +team modify fzsd.module.scoreboard.display.fishing_count color dark_green +team modify fzsd.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "dark_green"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/dark_purple.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/dark_purple.mcfunction new file mode 100644 index 0000000..64e7679 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/dark_purple.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count + +data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "dark_purple"}' +scoreboard objectives setdisplay sidebar.team.dark_purple fzsd.module.scoreboard.display.fishing_count +scoreboard objectives modify fzsd.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "dark_purple"} +team modify fzsd.module.scoreboard.display.fishing_count color dark_purple +team modify fzsd.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "dark_purple"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/dark_red.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/dark_red.mcfunction new file mode 100644 index 0000000..1bc733e --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/dark_red.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count + +data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "dark_red"}' +scoreboard objectives setdisplay sidebar.team.dark_red fzsd.module.scoreboard.display.fishing_count +scoreboard objectives modify fzsd.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "dark_red"} +team modify fzsd.module.scoreboard.display.fishing_count color dark_red +team modify fzsd.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "dark_red"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/gold.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/gold.mcfunction new file mode 100644 index 0000000..b77694a --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/gold.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count + +data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "gold"}' +scoreboard objectives setdisplay sidebar.team.gold fzsd.module.scoreboard.display.fishing_count +scoreboard objectives modify fzsd.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "gold"} +team modify fzsd.module.scoreboard.display.fishing_count color gold +team modify fzsd.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "gold"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/gray.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/gray.mcfunction new file mode 100644 index 0000000..a883ee5 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/gray.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count + +data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "gray"}' +scoreboard objectives setdisplay sidebar.team.gray fzsd.module.scoreboard.display.fishing_count +scoreboard objectives modify fzsd.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "gray"} +team modify fzsd.module.scoreboard.display.fishing_count color gray +team modify fzsd.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "gray"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/green.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/green.mcfunction new file mode 100644 index 0000000..2bb7c65 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/green.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count + +data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "green"}' +scoreboard objectives setdisplay sidebar.team.green fzsd.module.scoreboard.display.fishing_count +scoreboard objectives modify fzsd.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "green"} +team modify fzsd.module.scoreboard.display.fishing_count color green +team modify fzsd.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "green"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/light_purple.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/light_purple.mcfunction new file mode 100644 index 0000000..a155b98 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/light_purple.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count + +data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "light_purple"}' +scoreboard objectives setdisplay sidebar.team.light_purple fzsd.module.scoreboard.display.fishing_count +scoreboard objectives modify fzsd.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "light_purple"} +team modify fzsd.module.scoreboard.display.fishing_count color light_purple +team modify fzsd.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "light_purple"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/red.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/red.mcfunction new file mode 100644 index 0000000..66fc2df --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/red.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count + +data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "red"}' +scoreboard objectives setdisplay sidebar.team.red fzsd.module.scoreboard.display.fishing_count +scoreboard objectives modify fzsd.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "red"} +team modify fzsd.module.scoreboard.display.fishing_count color red +team modify fzsd.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "red"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/white.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/white.mcfunction new file mode 100644 index 0000000..06c9593 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/white.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count + +data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "white"}' +scoreboard objectives setdisplay sidebar.team.white fzsd.module.scoreboard.display.fishing_count +scoreboard objectives modify fzsd.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "white"} +team modify fzsd.module.scoreboard.display.fishing_count color white +team modify fzsd.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "white"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/yellow.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/yellow.mcfunction new file mode 100644 index 0000000..7535c8f --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/fishing_count/yellow.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count + +data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "yellow"}' +scoreboard objectives setdisplay sidebar.team.yellow fzsd.module.scoreboard.display.fishing_count +scoreboard objectives modify fzsd.module.scoreboard.display.fishing_count displayname {"text": "钓鱼榜", "color": "yellow"} +team modify fzsd.module.scoreboard.display.fishing_count color yellow +team modify fzsd.module.scoreboard.display.fishing_count displayName {"text": "钓鱼榜", "color": "yellow"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/general/aqua.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/general/aqua.mcfunction new file mode 100644 index 0000000..d7e394a --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/general/aqua.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/general + +data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "aqua"}' +scoreboard objectives setdisplay sidebar.team.aqua fzsd.module.scoreboard.display.general +scoreboard objectives modify fzsd.module.scoreboard.display.general displayname {"text": "总榜", "color": "aqua"} +team modify fzsd.module.scoreboard.display.general color aqua +team modify fzsd.module.scoreboard.display.general displayName {"text": "总榜", "color": "aqua"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/general/black.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/general/black.mcfunction new file mode 100644 index 0000000..07a52a0 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/general/black.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/general + +data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "black"}' +scoreboard objectives setdisplay sidebar.team.black fzsd.module.scoreboard.display.general +scoreboard objectives modify fzsd.module.scoreboard.display.general displayname {"text": "总榜", "color": "black"} +team modify fzsd.module.scoreboard.display.general color black +team modify fzsd.module.scoreboard.display.general displayName {"text": "总榜", "color": "black"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/general/blue.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/general/blue.mcfunction new file mode 100644 index 0000000..fc89ff2 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/general/blue.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/general + +data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "blue"}' +scoreboard objectives setdisplay sidebar.team.blue fzsd.module.scoreboard.display.general +scoreboard objectives modify fzsd.module.scoreboard.display.general displayname {"text": "总榜", "color": "blue"} +team modify fzsd.module.scoreboard.display.general color blue +team modify fzsd.module.scoreboard.display.general displayName {"text": "总榜", "color": "blue"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/general/dark_aqua.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/general/dark_aqua.mcfunction new file mode 100644 index 0000000..143cb07 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/general/dark_aqua.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/general + +data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "dark_aqua"}' +scoreboard objectives setdisplay sidebar.team.dark_aqua fzsd.module.scoreboard.display.general +scoreboard objectives modify fzsd.module.scoreboard.display.general displayname {"text": "总榜", "color": "dark_aqua"} +team modify fzsd.module.scoreboard.display.general color dark_aqua +team modify fzsd.module.scoreboard.display.general displayName {"text": "总榜", "color": "dark_aqua"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/general/dark_blue.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/general/dark_blue.mcfunction new file mode 100644 index 0000000..1a57962 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/general/dark_blue.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/general + +data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "dark_blue"}' +scoreboard objectives setdisplay sidebar.team.dark_blue fzsd.module.scoreboard.display.general +scoreboard objectives modify fzsd.module.scoreboard.display.general displayname {"text": "总榜", "color": "dark_blue"} +team modify fzsd.module.scoreboard.display.general color dark_blue +team modify fzsd.module.scoreboard.display.general displayName {"text": "总榜", "color": "dark_blue"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/general/dark_gray.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/general/dark_gray.mcfunction new file mode 100644 index 0000000..6c1ed71 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/general/dark_gray.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/general + +data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "dark_gray"}' +scoreboard objectives setdisplay sidebar.team.dark_gray fzsd.module.scoreboard.display.general +scoreboard objectives modify fzsd.module.scoreboard.display.general displayname {"text": "总榜", "color": "dark_gray"} +team modify fzsd.module.scoreboard.display.general color dark_gray +team modify fzsd.module.scoreboard.display.general displayName {"text": "总榜", "color": "dark_gray"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/general/dark_green.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/general/dark_green.mcfunction new file mode 100644 index 0000000..649d58f --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/general/dark_green.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/general + +data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "dark_green"}' +scoreboard objectives setdisplay sidebar.team.dark_green fzsd.module.scoreboard.display.general +scoreboard objectives modify fzsd.module.scoreboard.display.general displayname {"text": "总榜", "color": "dark_green"} +team modify fzsd.module.scoreboard.display.general color dark_green +team modify fzsd.module.scoreboard.display.general displayName {"text": "总榜", "color": "dark_green"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/general/dark_purple.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/general/dark_purple.mcfunction new file mode 100644 index 0000000..9c63860 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/general/dark_purple.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/general + +data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "dark_purple"}' +scoreboard objectives setdisplay sidebar.team.dark_purple fzsd.module.scoreboard.display.general +scoreboard objectives modify fzsd.module.scoreboard.display.general displayname {"text": "总榜", "color": "dark_purple"} +team modify fzsd.module.scoreboard.display.general color dark_purple +team modify fzsd.module.scoreboard.display.general displayName {"text": "总榜", "color": "dark_purple"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/general/dark_red.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/general/dark_red.mcfunction new file mode 100644 index 0000000..e8b78ec --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/general/dark_red.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/general + +data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "dark_red"}' +scoreboard objectives setdisplay sidebar.team.dark_red fzsd.module.scoreboard.display.general +scoreboard objectives modify fzsd.module.scoreboard.display.general displayname {"text": "总榜", "color": "dark_red"} +team modify fzsd.module.scoreboard.display.general color dark_red +team modify fzsd.module.scoreboard.display.general displayName {"text": "总榜", "color": "dark_red"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/general/gold.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/general/gold.mcfunction new file mode 100644 index 0000000..7ab2f54 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/general/gold.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/general + +data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "gold"}' +scoreboard objectives setdisplay sidebar.team.gold fzsd.module.scoreboard.display.general +scoreboard objectives modify fzsd.module.scoreboard.display.general displayname {"text": "总榜", "color": "gold"} +team modify fzsd.module.scoreboard.display.general color gold +team modify fzsd.module.scoreboard.display.general displayName {"text": "总榜", "color": "gold"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/general/gray.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/general/gray.mcfunction new file mode 100644 index 0000000..ee883a8 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/general/gray.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/general + +data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "gray"}' +scoreboard objectives setdisplay sidebar.team.gray fzsd.module.scoreboard.display.general +scoreboard objectives modify fzsd.module.scoreboard.display.general displayname {"text": "总榜", "color": "gray"} +team modify fzsd.module.scoreboard.display.general color gray +team modify fzsd.module.scoreboard.display.general displayName {"text": "总榜", "color": "gray"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/general/green.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/general/green.mcfunction new file mode 100644 index 0000000..ed42268 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/general/green.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/general + +data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "green"}' +scoreboard objectives setdisplay sidebar.team.green fzsd.module.scoreboard.display.general +scoreboard objectives modify fzsd.module.scoreboard.display.general displayname {"text": "总榜", "color": "green"} +team modify fzsd.module.scoreboard.display.general color green +team modify fzsd.module.scoreboard.display.general displayName {"text": "总榜", "color": "green"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/general/light_purple.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/general/light_purple.mcfunction new file mode 100644 index 0000000..579d39d --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/general/light_purple.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/general + +data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "light_purple"}' +scoreboard objectives setdisplay sidebar.team.light_purple fzsd.module.scoreboard.display.general +scoreboard objectives modify fzsd.module.scoreboard.display.general displayname {"text": "总榜", "color": "light_purple"} +team modify fzsd.module.scoreboard.display.general color light_purple +team modify fzsd.module.scoreboard.display.general displayName {"text": "总榜", "color": "light_purple"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/general/red.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/general/red.mcfunction new file mode 100644 index 0000000..67c88f4 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/general/red.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/general + +data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "red"}' +scoreboard objectives setdisplay sidebar.team.red fzsd.module.scoreboard.display.general +scoreboard objectives modify fzsd.module.scoreboard.display.general displayname {"text": "总榜", "color": "red"} +team modify fzsd.module.scoreboard.display.general color red +team modify fzsd.module.scoreboard.display.general displayName {"text": "总榜", "color": "red"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/general/white.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/general/white.mcfunction new file mode 100644 index 0000000..dbccf83 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/general/white.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/general + +data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "white"}' +scoreboard objectives setdisplay sidebar.team.white fzsd.module.scoreboard.display.general +scoreboard objectives modify fzsd.module.scoreboard.display.general displayname {"text": "总榜", "color": "white"} +team modify fzsd.module.scoreboard.display.general color white +team modify fzsd.module.scoreboard.display.general displayName {"text": "总榜", "color": "white"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/general/yellow.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/general/yellow.mcfunction new file mode 100644 index 0000000..0a467d4 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/general/yellow.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/general + +data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "yellow"}' +scoreboard objectives setdisplay sidebar.team.yellow fzsd.module.scoreboard.display.general +scoreboard objectives modify fzsd.module.scoreboard.display.general displayname {"text": "总榜", "color": "yellow"} +team modify fzsd.module.scoreboard.display.general color yellow +team modify fzsd.module.scoreboard.display.general displayName {"text": "总榜", "color": "yellow"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/aqua.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/aqua.mcfunction new file mode 100644 index 0000000..5315a90 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/aqua.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/kill_count + +data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "aqua"}' +scoreboard objectives setdisplay sidebar.team.aqua fzsd.module.scoreboard.display.kill_count +scoreboard objectives modify fzsd.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "aqua"} +team modify fzsd.module.scoreboard.display.kill_count color aqua +team modify fzsd.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "aqua"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/black.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/black.mcfunction new file mode 100644 index 0000000..536074a --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/black.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/kill_count + +data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "black"}' +scoreboard objectives setdisplay sidebar.team.black fzsd.module.scoreboard.display.kill_count +scoreboard objectives modify fzsd.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "black"} +team modify fzsd.module.scoreboard.display.kill_count color black +team modify fzsd.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "black"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/blue.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/blue.mcfunction new file mode 100644 index 0000000..988bd8c --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/blue.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/kill_count + +data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "blue"}' +scoreboard objectives setdisplay sidebar.team.blue fzsd.module.scoreboard.display.kill_count +scoreboard objectives modify fzsd.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "blue"} +team modify fzsd.module.scoreboard.display.kill_count color blue +team modify fzsd.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "blue"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/dark_aqua.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/dark_aqua.mcfunction new file mode 100644 index 0000000..afae5eb --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/dark_aqua.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/kill_count + +data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "dark_aqua"}' +scoreboard objectives setdisplay sidebar.team.dark_aqua fzsd.module.scoreboard.display.kill_count +scoreboard objectives modify fzsd.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "dark_aqua"} +team modify fzsd.module.scoreboard.display.kill_count color dark_aqua +team modify fzsd.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "dark_aqua"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/dark_blue.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/dark_blue.mcfunction new file mode 100644 index 0000000..8f28323 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/dark_blue.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/kill_count + +data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "dark_blue"}' +scoreboard objectives setdisplay sidebar.team.dark_blue fzsd.module.scoreboard.display.kill_count +scoreboard objectives modify fzsd.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "dark_blue"} +team modify fzsd.module.scoreboard.display.kill_count color dark_blue +team modify fzsd.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "dark_blue"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/dark_gray.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/dark_gray.mcfunction new file mode 100644 index 0000000..4e36eaf --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/dark_gray.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/kill_count + +data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "dark_gray"}' +scoreboard objectives setdisplay sidebar.team.dark_gray fzsd.module.scoreboard.display.kill_count +scoreboard objectives modify fzsd.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "dark_gray"} +team modify fzsd.module.scoreboard.display.kill_count color dark_gray +team modify fzsd.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "dark_gray"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/dark_green.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/dark_green.mcfunction new file mode 100644 index 0000000..a7581f3 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/dark_green.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/kill_count + +data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "dark_green"}' +scoreboard objectives setdisplay sidebar.team.dark_green fzsd.module.scoreboard.display.kill_count +scoreboard objectives modify fzsd.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "dark_green"} +team modify fzsd.module.scoreboard.display.kill_count color dark_green +team modify fzsd.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "dark_green"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/dark_purple.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/dark_purple.mcfunction new file mode 100644 index 0000000..23937b1 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/dark_purple.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/kill_count + +data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "dark_purple"}' +scoreboard objectives setdisplay sidebar.team.dark_purple fzsd.module.scoreboard.display.kill_count +scoreboard objectives modify fzsd.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "dark_purple"} +team modify fzsd.module.scoreboard.display.kill_count color dark_purple +team modify fzsd.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "dark_purple"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/dark_red.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/dark_red.mcfunction new file mode 100644 index 0000000..4bb5a83 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/dark_red.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/kill_count + +data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "dark_red"}' +scoreboard objectives setdisplay sidebar.team.dark_red fzsd.module.scoreboard.display.kill_count +scoreboard objectives modify fzsd.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "dark_red"} +team modify fzsd.module.scoreboard.display.kill_count color dark_red +team modify fzsd.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "dark_red"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/gold.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/gold.mcfunction new file mode 100644 index 0000000..2f27b92 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/gold.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/kill_count + +data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "gold"}' +scoreboard objectives setdisplay sidebar.team.gold fzsd.module.scoreboard.display.kill_count +scoreboard objectives modify fzsd.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "gold"} +team modify fzsd.module.scoreboard.display.kill_count color gold +team modify fzsd.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "gold"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/gray.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/gray.mcfunction new file mode 100644 index 0000000..71b7353 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/gray.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/kill_count + +data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "gray"}' +scoreboard objectives setdisplay sidebar.team.gray fzsd.module.scoreboard.display.kill_count +scoreboard objectives modify fzsd.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "gray"} +team modify fzsd.module.scoreboard.display.kill_count color gray +team modify fzsd.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "gray"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/green.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/green.mcfunction new file mode 100644 index 0000000..ee03077 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/green.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/kill_count + +data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "green"}' +scoreboard objectives setdisplay sidebar.team.green fzsd.module.scoreboard.display.kill_count +scoreboard objectives modify fzsd.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "green"} +team modify fzsd.module.scoreboard.display.kill_count color green +team modify fzsd.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "green"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/light_purple.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/light_purple.mcfunction new file mode 100644 index 0000000..1de7027 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/light_purple.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/kill_count + +data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "light_purple"}' +scoreboard objectives setdisplay sidebar.team.light_purple fzsd.module.scoreboard.display.kill_count +scoreboard objectives modify fzsd.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "light_purple"} +team modify fzsd.module.scoreboard.display.kill_count color light_purple +team modify fzsd.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "light_purple"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/red.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/red.mcfunction new file mode 100644 index 0000000..b18a0c8 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/red.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/kill_count + +data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "red"}' +scoreboard objectives setdisplay sidebar.team.red fzsd.module.scoreboard.display.kill_count +scoreboard objectives modify fzsd.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "red"} +team modify fzsd.module.scoreboard.display.kill_count color red +team modify fzsd.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "red"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/white.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/white.mcfunction new file mode 100644 index 0000000..0717d27 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/white.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/kill_count + +data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "white"}' +scoreboard objectives setdisplay sidebar.team.white fzsd.module.scoreboard.display.kill_count +scoreboard objectives modify fzsd.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "white"} +team modify fzsd.module.scoreboard.display.kill_count color white +team modify fzsd.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "white"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/yellow.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/yellow.mcfunction new file mode 100644 index 0000000..bbac8a1 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/kill_count/yellow.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/kill_count + +data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "yellow"}' +scoreboard objectives setdisplay sidebar.team.yellow fzsd.module.scoreboard.display.kill_count +scoreboard objectives modify fzsd.module.scoreboard.display.kill_count displayname {"text": "击杀榜", "color": "yellow"} +team modify fzsd.module.scoreboard.display.kill_count color yellow +team modify fzsd.module.scoreboard.display.kill_count displayName {"text": "击杀榜", "color": "yellow"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/aqua.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/aqua.mcfunction new file mode 100644 index 0000000..fbd2beb --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/aqua.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/placement_count + +data modify storage fzsd:module fzsd.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "aqua"}' +scoreboard objectives setdisplay sidebar.team.aqua fzsd.module.scoreboard.display.placement_count +scoreboard objectives modify fzsd.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "aqua"} +team modify fzsd.module.scoreboard.display.placement_count color aqua +team modify fzsd.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "aqua"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/black.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/black.mcfunction new file mode 100644 index 0000000..56afec8 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/black.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/placement_count + +data modify storage fzsd:module fzsd.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "black"}' +scoreboard objectives setdisplay sidebar.team.black fzsd.module.scoreboard.display.placement_count +scoreboard objectives modify fzsd.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "black"} +team modify fzsd.module.scoreboard.display.placement_count color black +team modify fzsd.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "black"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/blue.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/blue.mcfunction new file mode 100644 index 0000000..0452626 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/blue.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/placement_count + +data modify storage fzsd:module fzsd.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "blue"}' +scoreboard objectives setdisplay sidebar.team.blue fzsd.module.scoreboard.display.placement_count +scoreboard objectives modify fzsd.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "blue"} +team modify fzsd.module.scoreboard.display.placement_count color blue +team modify fzsd.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "blue"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/dark_aqua.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/dark_aqua.mcfunction new file mode 100644 index 0000000..dad8477 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/dark_aqua.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/placement_count + +data modify storage fzsd:module fzsd.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "dark_aqua"}' +scoreboard objectives setdisplay sidebar.team.dark_aqua fzsd.module.scoreboard.display.placement_count +scoreboard objectives modify fzsd.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "dark_aqua"} +team modify fzsd.module.scoreboard.display.placement_count color dark_aqua +team modify fzsd.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "dark_aqua"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/dark_blue.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/dark_blue.mcfunction new file mode 100644 index 0000000..6fa8e48 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/dark_blue.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/placement_count + +data modify storage fzsd:module fzsd.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "dark_blue"}' +scoreboard objectives setdisplay sidebar.team.dark_blue fzsd.module.scoreboard.display.placement_count +scoreboard objectives modify fzsd.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "dark_blue"} +team modify fzsd.module.scoreboard.display.placement_count color dark_blue +team modify fzsd.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "dark_blue"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/dark_gray.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/dark_gray.mcfunction new file mode 100644 index 0000000..fa9a231 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/dark_gray.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/placement_count + +data modify storage fzsd:module fzsd.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "dark_gray"}' +scoreboard objectives setdisplay sidebar.team.dark_gray fzsd.module.scoreboard.display.placement_count +scoreboard objectives modify fzsd.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "dark_gray"} +team modify fzsd.module.scoreboard.display.placement_count color dark_gray +team modify fzsd.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "dark_gray"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/dark_green.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/dark_green.mcfunction new file mode 100644 index 0000000..5853ed8 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/dark_green.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/placement_count + +data modify storage fzsd:module fzsd.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "dark_green"}' +scoreboard objectives setdisplay sidebar.team.dark_green fzsd.module.scoreboard.display.placement_count +scoreboard objectives modify fzsd.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "dark_green"} +team modify fzsd.module.scoreboard.display.placement_count color dark_green +team modify fzsd.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "dark_green"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/dark_purple.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/dark_purple.mcfunction new file mode 100644 index 0000000..82faa73 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/dark_purple.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/placement_count + +data modify storage fzsd:module fzsd.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "dark_purple"}' +scoreboard objectives setdisplay sidebar.team.dark_purple fzsd.module.scoreboard.display.placement_count +scoreboard objectives modify fzsd.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "dark_purple"} +team modify fzsd.module.scoreboard.display.placement_count color dark_purple +team modify fzsd.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "dark_purple"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/dark_red.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/dark_red.mcfunction new file mode 100644 index 0000000..88dc5ea --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/dark_red.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/placement_count + +data modify storage fzsd:module fzsd.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "dark_red"}' +scoreboard objectives setdisplay sidebar.team.dark_red fzsd.module.scoreboard.display.placement_count +scoreboard objectives modify fzsd.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "dark_red"} +team modify fzsd.module.scoreboard.display.placement_count color dark_red +team modify fzsd.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "dark_red"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/gold.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/gold.mcfunction new file mode 100644 index 0000000..75192f2 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/gold.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/placement_count + +data modify storage fzsd:module fzsd.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "gold"}' +scoreboard objectives setdisplay sidebar.team.gold fzsd.module.scoreboard.display.placement_count +scoreboard objectives modify fzsd.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "gold"} +team modify fzsd.module.scoreboard.display.placement_count color gold +team modify fzsd.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "gold"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/gray.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/gray.mcfunction new file mode 100644 index 0000000..e98e5d6 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/gray.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/placement_count + +data modify storage fzsd:module fzsd.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "gray"}' +scoreboard objectives setdisplay sidebar.team.gray fzsd.module.scoreboard.display.placement_count +scoreboard objectives modify fzsd.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "gray"} +team modify fzsd.module.scoreboard.display.placement_count color gray +team modify fzsd.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "gray"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/green.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/green.mcfunction new file mode 100644 index 0000000..47a1dd4 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/green.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/placement_count + +data modify storage fzsd:module fzsd.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "green"}' +scoreboard objectives setdisplay sidebar.team.green fzsd.module.scoreboard.display.placement_count +scoreboard objectives modify fzsd.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "green"} +team modify fzsd.module.scoreboard.display.placement_count color green +team modify fzsd.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "green"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/light_purple.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/light_purple.mcfunction new file mode 100644 index 0000000..a51be4a --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/light_purple.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/placement_count + +data modify storage fzsd:module fzsd.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "light_purple"}' +scoreboard objectives setdisplay sidebar.team.light_purple fzsd.module.scoreboard.display.placement_count +scoreboard objectives modify fzsd.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "light_purple"} +team modify fzsd.module.scoreboard.display.placement_count color light_purple +team modify fzsd.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "light_purple"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/red.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/red.mcfunction new file mode 100644 index 0000000..8b8af7b --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/red.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/placement_count + +data modify storage fzsd:module fzsd.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "red"}' +scoreboard objectives setdisplay sidebar.team.red fzsd.module.scoreboard.display.placement_count +scoreboard objectives modify fzsd.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "red"} +team modify fzsd.module.scoreboard.display.placement_count color red +team modify fzsd.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "red"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/white.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/white.mcfunction new file mode 100644 index 0000000..715eaa2 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/white.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/placement_count + +data modify storage fzsd:module fzsd.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "white"}' +scoreboard objectives setdisplay sidebar.team.white fzsd.module.scoreboard.display.placement_count +scoreboard objectives modify fzsd.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "white"} +team modify fzsd.module.scoreboard.display.placement_count color white +team modify fzsd.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "white"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/yellow.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/yellow.mcfunction new file mode 100644 index 0000000..2cd9bef --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/placement_count/yellow.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/placement_count + +data modify storage fzsd:module fzsd.scoreboard.text.placement_count set value '{"text": "放置榜", "color": "yellow"}' +scoreboard objectives setdisplay sidebar.team.yellow fzsd.module.scoreboard.display.placement_count +scoreboard objectives modify fzsd.module.scoreboard.display.placement_count displayname {"text": "放置榜", "color": "yellow"} +team modify fzsd.module.scoreboard.display.placement_count color yellow +team modify fzsd.module.scoreboard.display.placement_count displayName {"text": "放置榜", "color": "yellow"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/aqua.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/aqua.mcfunction new file mode 100644 index 0000000..281b959 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/aqua.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/trade_count + +data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "aqua"}' +scoreboard objectives setdisplay sidebar.team.aqua fzsd.module.scoreboard.display.trade_count +scoreboard objectives modify fzsd.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "aqua"} +team modify fzsd.module.scoreboard.display.trade_count color aqua +team modify fzsd.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "aqua"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/black.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/black.mcfunction new file mode 100644 index 0000000..e4d8c96 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/black.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/trade_count + +data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "black"}' +scoreboard objectives setdisplay sidebar.team.black fzsd.module.scoreboard.display.trade_count +scoreboard objectives modify fzsd.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "black"} +team modify fzsd.module.scoreboard.display.trade_count color black +team modify fzsd.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "black"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/blue.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/blue.mcfunction new file mode 100644 index 0000000..df816a8 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/blue.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/trade_count + +data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "blue"}' +scoreboard objectives setdisplay sidebar.team.blue fzsd.module.scoreboard.display.trade_count +scoreboard objectives modify fzsd.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "blue"} +team modify fzsd.module.scoreboard.display.trade_count color blue +team modify fzsd.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "blue"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/dark_aqua.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/dark_aqua.mcfunction new file mode 100644 index 0000000..2060471 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/dark_aqua.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/trade_count + +data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "dark_aqua"}' +scoreboard objectives setdisplay sidebar.team.dark_aqua fzsd.module.scoreboard.display.trade_count +scoreboard objectives modify fzsd.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "dark_aqua"} +team modify fzsd.module.scoreboard.display.trade_count color dark_aqua +team modify fzsd.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "dark_aqua"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/dark_blue.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/dark_blue.mcfunction new file mode 100644 index 0000000..963c156 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/dark_blue.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/trade_count + +data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "dark_blue"}' +scoreboard objectives setdisplay sidebar.team.dark_blue fzsd.module.scoreboard.display.trade_count +scoreboard objectives modify fzsd.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "dark_blue"} +team modify fzsd.module.scoreboard.display.trade_count color dark_blue +team modify fzsd.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "dark_blue"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/dark_gray.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/dark_gray.mcfunction new file mode 100644 index 0000000..e440e33 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/dark_gray.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/trade_count + +data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "dark_gray"}' +scoreboard objectives setdisplay sidebar.team.dark_gray fzsd.module.scoreboard.display.trade_count +scoreboard objectives modify fzsd.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "dark_gray"} +team modify fzsd.module.scoreboard.display.trade_count color dark_gray +team modify fzsd.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "dark_gray"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/dark_green.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/dark_green.mcfunction new file mode 100644 index 0000000..8891664 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/dark_green.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/trade_count + +data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "dark_green"}' +scoreboard objectives setdisplay sidebar.team.dark_green fzsd.module.scoreboard.display.trade_count +scoreboard objectives modify fzsd.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "dark_green"} +team modify fzsd.module.scoreboard.display.trade_count color dark_green +team modify fzsd.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "dark_green"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/dark_purple.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/dark_purple.mcfunction new file mode 100644 index 0000000..ae10de1 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/dark_purple.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/trade_count + +data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "dark_purple"}' +scoreboard objectives setdisplay sidebar.team.dark_purple fzsd.module.scoreboard.display.trade_count +scoreboard objectives modify fzsd.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "dark_purple"} +team modify fzsd.module.scoreboard.display.trade_count color dark_purple +team modify fzsd.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "dark_purple"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/dark_red.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/dark_red.mcfunction new file mode 100644 index 0000000..13ec343 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/dark_red.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/trade_count + +data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "dark_red"}' +scoreboard objectives setdisplay sidebar.team.dark_red fzsd.module.scoreboard.display.trade_count +scoreboard objectives modify fzsd.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "dark_red"} +team modify fzsd.module.scoreboard.display.trade_count color dark_red +team modify fzsd.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "dark_red"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/gold.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/gold.mcfunction new file mode 100644 index 0000000..e72abcc --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/gold.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/trade_count + +data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "gold"}' +scoreboard objectives setdisplay sidebar.team.gold fzsd.module.scoreboard.display.trade_count +scoreboard objectives modify fzsd.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "gold"} +team modify fzsd.module.scoreboard.display.trade_count color gold +team modify fzsd.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "gold"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/gray.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/gray.mcfunction new file mode 100644 index 0000000..a798fe3 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/gray.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/trade_count + +data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "gray"}' +scoreboard objectives setdisplay sidebar.team.gray fzsd.module.scoreboard.display.trade_count +scoreboard objectives modify fzsd.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "gray"} +team modify fzsd.module.scoreboard.display.trade_count color gray +team modify fzsd.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "gray"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/green.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/green.mcfunction new file mode 100644 index 0000000..2163882 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/green.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/trade_count + +data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "green"}' +scoreboard objectives setdisplay sidebar.team.green fzsd.module.scoreboard.display.trade_count +scoreboard objectives modify fzsd.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "green"} +team modify fzsd.module.scoreboard.display.trade_count color green +team modify fzsd.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "green"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/light_purple.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/light_purple.mcfunction new file mode 100644 index 0000000..e8d1538 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/light_purple.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/trade_count + +data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "light_purple"}' +scoreboard objectives setdisplay sidebar.team.light_purple fzsd.module.scoreboard.display.trade_count +scoreboard objectives modify fzsd.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "light_purple"} +team modify fzsd.module.scoreboard.display.trade_count color light_purple +team modify fzsd.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "light_purple"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/red.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/red.mcfunction new file mode 100644 index 0000000..edb6311 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/red.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/trade_count + +data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "red"}' +scoreboard objectives setdisplay sidebar.team.red fzsd.module.scoreboard.display.trade_count +scoreboard objectives modify fzsd.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "red"} +team modify fzsd.module.scoreboard.display.trade_count color red +team modify fzsd.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "red"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/white.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/white.mcfunction new file mode 100644 index 0000000..8367dc4 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/white.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/trade_count + +data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "white"}' +scoreboard objectives setdisplay sidebar.team.white fzsd.module.scoreboard.display.trade_count +scoreboard objectives modify fzsd.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "white"} +team modify fzsd.module.scoreboard.display.trade_count color white +team modify fzsd.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "white"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/yellow.mcfunction b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/yellow.mcfunction new file mode 100644 index 0000000..45c5771 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/display/set_text/trade_count/yellow.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/display/set_text/trade_count + +data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "yellow"}' +scoreboard objectives setdisplay sidebar.team.yellow fzsd.module.scoreboard.display.trade_count +scoreboard objectives modify fzsd.module.scoreboard.display.trade_count displayname {"text": "交易榜", "color": "yellow"} +team modify fzsd.module.scoreboard.display.trade_count color yellow +team modify fzsd.module.scoreboard.display.trade_count displayName {"text": "交易榜", "color": "yellow"} \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/install.mcfunction b/data/fzsd/functions/module/scoreboard/install.mcfunction new file mode 100644 index 0000000..7e78c59 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/install.mcfunction @@ -0,0 +1,63 @@ +# 调用者:#fzsd:module/scoreboard/install + +## 源计分板 + +### 总榜 +scoreboard objectives add fzsd.module.scoreboard.assign.general dummy + +## 轮播 +team add fzsd.module.scoreboard.display.carousel + +## 创建显示计分板 +###### 判据均为dummy,便于升级维护! + +### 总榜 +scoreboard objectives add fzsd.module.scoreboard.display.general dummy +team add fzsd.module.scoreboard.display.general + +### 活跃度 +scoreboard objectives add fzsd.module.scoreboard.display.activation dummy +team add fzsd.module.scoreboard.display.activation + +### 飞行距离 +scoreboard objectives add fzsd.module.scoreboard.display.aviating_distance dummy +team add fzsd.module.scoreboard.display.aviating_distance + +### 抖M榜 +scoreboard objectives add fzsd.module.scoreboard.display.damage_taken dummy +team add fzsd.module.scoreboard.display.damage_taken + +### 死亡榜 +scoreboard objectives add fzsd.module.scoreboard.display.death_count dummy +team add fzsd.module.scoreboard.display.death_count + +### 挖掘榜 +scoreboard objectives add fzsd.module.scoreboard.display.dig_count dummy +team add fzsd.module.scoreboard.display.dig_count + +### 钓鱼榜 +scoreboard objectives add fzsd.module.scoreboard.display.fishing_count dummy +team add fzsd.module.scoreboard.display.fishing_count + +### 击杀榜 +scoreboard objectives add fzsd.module.scoreboard.display.kill_count dummy +team add fzsd.module.scoreboard.display.kill_count + +### 放置榜 +scoreboard objectives add fzsd.module.scoreboard.display.placement_count dummy +team add fzsd.module.scoreboard.display.placement_count + +### 交易榜 +scoreboard objectives add fzsd.module.scoreboard.display.trade_count dummy +team add fzsd.module.scoreboard.display.trade_count + +team add fzsd.module.scoreboard.fake +team add fzsd.module.scoreboard.shadow +team modify fzsd.module.scoreboard.fake prefix {"text": "假的"} +team modify fzsd.module.scoreboard.shadow prefix {"text": "挂机"} + +## 标记为已安装 +data modify storage fzsd:installed fzsd.module.scoreboard set value 1b + +## 日志 +execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "已安装组件:计分板"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/interactor/display.mcfunction b/data/fzsd/functions/module/scoreboard/interactor/display.mcfunction new file mode 100644 index 0000000..f93a4af --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/interactor/display.mcfunction @@ -0,0 +1,5 @@ +# 调用者:#fzsd:module/scoreboard/interactor/display + +execute if data storage fzsd:installed fzsd.module{scoreboard:1b} run tellraw @s {"text": "计分板:"} + +execute if data storage fzsd:installed fzsd.module{scoreboard:1b} run tellraw @s [[{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "contents": {"text": "关", "color": "dark_red"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1000"}}, {"text": "关", "color": "dark_red"}, {"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1010"}}, {"nbt": "fzsd.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.scoreboard.text.general", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1020"}}, {"nbt": "fzsd.scoreboard.text.general", "interpret": true, "storage": "fzsd:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.scoreboard.text.activation", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1030"}}, {"nbt": "fzsd.scoreboard.text.activation", "interpret": true, "storage": "fzsd:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.scoreboard.text.aviating_distance", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1040"}}, {"nbt": "fzsd.scoreboard.text.aviating_distance", "interpret": true, "storage": "fzsd:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.scoreboard.text.damage_taken", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1050"}}, {"nbt": "fzsd.scoreboard.text.damage_taken", "interpret": true, "storage": "fzsd:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.scoreboard.text.death_count", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1060"}}, {"nbt": "fzsd.scoreboard.text.death_count", "interpret": true, "storage": "fzsd:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.scoreboard.text.dig_count", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1070"}}, {"nbt": "fzsd.scoreboard.text.dig_count", "interpret": true, "storage": "fzsd:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.scoreboard.text.fishing_count", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1080"}}, {"nbt": "fzsd.scoreboard.text.fishing_count", "interpret": true, "storage": "fzsd:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.scoreboard.text.kill_count", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1090"}}, {"nbt": "fzsd.scoreboard.text.kill_count", "interpret": true, "storage": "fzsd:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.scoreboard.text.trade_count", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1100"}}, {"nbt": "fzsd.scoreboard.text.trade_count", "interpret": true, "storage": "fzsd:module"}, {"text": "]"}]] \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/interactor/on_click.mcfunction b/data/fzsd/functions/module/scoreboard/interactor/on_click.mcfunction new file mode 100644 index 0000000..fd8fd51 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/interactor/on_click.mcfunction @@ -0,0 +1,11 @@ +execute if score @s fzsd.module.interactor.trigger matches -1000 run function #fzsd:module/scoreboard/interactor/subscribe/off +execute if score @s fzsd.module.interactor.trigger matches -1010 run function #fzsd:module/scoreboard/interactor/subscribe/carousel +execute if score @s fzsd.module.interactor.trigger matches -1020 run function #fzsd:module/scoreboard/interactor/subscribe/general +execute if score @s fzsd.module.interactor.trigger matches -1030 run function #fzsd:module/scoreboard/interactor/subscribe/activation +execute if score @s fzsd.module.interactor.trigger matches -1040 run function #fzsd:module/scoreboard/interactor/subscribe/aviating_distance +execute if score @s fzsd.module.interactor.trigger matches -1050 run function #fzsd:module/scoreboard/interactor/subscribe/damage_taken +execute if score @s fzsd.module.interactor.trigger matches -1060 run function #fzsd:module/scoreboard/interactor/subscribe/death_count +execute if score @s fzsd.module.interactor.trigger matches -1070 run function #fzsd:module/scoreboard/interactor/subscribe/dig_count +execute if score @s fzsd.module.interactor.trigger matches -1080 run function #fzsd:module/scoreboard/interactor/subscribe/fishing_count +execute if score @s fzsd.module.interactor.trigger matches -1090 run function #fzsd:module/scoreboard/interactor/subscribe/kill_count +execute if score @s fzsd.module.interactor.trigger matches -1100 run function #fzsd:module/scoreboard/interactor/subscribe/trade_count \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/interactor/subscribe/activation.mcfunction b/data/fzsd/functions/module/scoreboard/interactor/subscribe/activation.mcfunction new file mode 100644 index 0000000..3147f6f --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/interactor/subscribe/activation.mcfunction @@ -0,0 +1,6 @@ +# 调用者:fzsd:module/scoreboard/interactor/subscribe/~ + +team join fzsd.module.scoreboard.display.activation @s + +## 调试 +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": "订阅了"}, {"nbt": "fzsd.scoreboard.text.activation", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/interactor/subscribe/aviating_distance.mcfunction b/data/fzsd/functions/module/scoreboard/interactor/subscribe/aviating_distance.mcfunction new file mode 100644 index 0000000..0f09d97 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/interactor/subscribe/aviating_distance.mcfunction @@ -0,0 +1,6 @@ +# 调用者:fzsd:module/scoreboard/interactor/subscribe/~ + +team join fzsd.module.scoreboard.display.aviating_distance @s + +## 调试 +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": "订阅了"}, {"nbt": "fzsd.scoreboard.text.aviating_distance", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/interactor/subscribe/carousel.mcfunction b/data/fzsd/functions/module/scoreboard/interactor/subscribe/carousel.mcfunction new file mode 100644 index 0000000..3988a23 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/interactor/subscribe/carousel.mcfunction @@ -0,0 +1,6 @@ +# 调用者:fzsd:module/scoreboard/interactor/subscribe/~ + +team join fzsd.module.scoreboard.display.carousel @s + +## 调试 +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": "订阅了"}, {"nbt": "fzsd.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/interactor/subscribe/damage_taken.mcfunction b/data/fzsd/functions/module/scoreboard/interactor/subscribe/damage_taken.mcfunction new file mode 100644 index 0000000..92f30a3 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/interactor/subscribe/damage_taken.mcfunction @@ -0,0 +1,6 @@ +# 调用者:fzsd:module/scoreboard/interactor/subscribe/~ + +team join fzsd.module.scoreboard.display.damage_taken @s + +## 调试 +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": "订阅了"}, {"nbt": "fzsd.scoreboard.text.damage_taken", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/interactor/subscribe/death_count.mcfunction b/data/fzsd/functions/module/scoreboard/interactor/subscribe/death_count.mcfunction new file mode 100644 index 0000000..b10f5b3 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/interactor/subscribe/death_count.mcfunction @@ -0,0 +1,6 @@ +# 调用者:fzsd:module/scoreboard/interactor/subscribe/~ + +team join fzsd.module.scoreboard.display.death_count @s + +## 调试 +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": "订阅了"}, {"nbt": "fzsd.scoreboard.text.death_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/interactor/subscribe/dig_count.mcfunction b/data/fzsd/functions/module/scoreboard/interactor/subscribe/dig_count.mcfunction new file mode 100644 index 0000000..badf5e9 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/interactor/subscribe/dig_count.mcfunction @@ -0,0 +1,6 @@ +# 调用者:fzsd:module/scoreboard/interactor/subscribe/~ + +team join fzsd.module.scoreboard.display.dig_count @s + +## 调试 +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": "订阅了"}, {"nbt": "fzsd.scoreboard.text.dig_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/interactor/subscribe/fishing_count.mcfunction b/data/fzsd/functions/module/scoreboard/interactor/subscribe/fishing_count.mcfunction new file mode 100644 index 0000000..3d71e2b --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/interactor/subscribe/fishing_count.mcfunction @@ -0,0 +1,6 @@ +# 调用者:fzsd:module/scoreboard/interactor/subscribe/~ + +team join fzsd.module.scoreboard.display.fishing_count @s + +## 调试 +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": "订阅了"}, {"nbt": "fzsd.scoreboard.text.fishing_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/interactor/subscribe/general.mcfunction b/data/fzsd/functions/module/scoreboard/interactor/subscribe/general.mcfunction new file mode 100644 index 0000000..cdb7ef0 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/interactor/subscribe/general.mcfunction @@ -0,0 +1,6 @@ +# 调用者:fzsd:module/scoreboard/interactor/subscribe/~ + +team join fzsd.module.scoreboard.display.general @s + +## 调试 +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": "订阅了"}, {"nbt": "fzsd.scoreboard.text.general", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/interactor/subscribe/kill_count.mcfunction b/data/fzsd/functions/module/scoreboard/interactor/subscribe/kill_count.mcfunction new file mode 100644 index 0000000..40c7e62 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/interactor/subscribe/kill_count.mcfunction @@ -0,0 +1,6 @@ +# 调用者:fzsd:module/scoreboard/interactor/subscribe/~ + +team join fzsd.module.scoreboard.display.kill_count @s + +## 调试 +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": "订阅了"}, {"nbt": "fzsd.scoreboard.text.kill_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/interactor/subscribe/off.mcfunction b/data/fzsd/functions/module/scoreboard/interactor/subscribe/off.mcfunction new file mode 100644 index 0000000..33c8674 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/interactor/subscribe/off.mcfunction @@ -0,0 +1,6 @@ +# 调用者:#fzsd:module/scoreboard/interactor/subscribe/~ + +team leave @s + +## 调试 +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": "取消了计分板订阅"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/interactor/subscribe/placement_count.mcfunction b/data/fzsd/functions/module/scoreboard/interactor/subscribe/placement_count.mcfunction new file mode 100644 index 0000000..24a78d6 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/interactor/subscribe/placement_count.mcfunction @@ -0,0 +1,6 @@ +# 调用者:fzsd:module/scoreboard/interactor/subscribe/~ + +team join fzsd.module.scoreboard.display.placement_count @s + +## 调试 +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": "订阅了"}, {"nbt": "fzsd.scoreboard.text.placement_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/interactor/subscribe/trade_count.mcfunction b/data/fzsd/functions/module/scoreboard/interactor/subscribe/trade_count.mcfunction new file mode 100644 index 0000000..c438662 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/interactor/subscribe/trade_count.mcfunction @@ -0,0 +1,6 @@ +# 调用者:fzsd:module/scoreboard/interactor/subscribe/~ + +team join fzsd.module.scoreboard.display.trade_count @s + +## 调试 +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": "订阅了"}, {"nbt": "fzsd.scoreboard.text.trade_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/load.mcfunction b/data/fzsd/functions/module/scoreboard/load.mcfunction new file mode 100644 index 0000000..ee31025 --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/load.mcfunction @@ -0,0 +1,16 @@ +# 调用者:#fzsd:module/scoreboard/load + +## 调试 +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "计分板显示文本已设为:"}] +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"text": "", "color": "green"}, {"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "fzsd.module.scoreboard.display.general - "}, {"nbt": "fzsd.scoreboard.text.general", "interpret": true, "storage": "fzsd:module"}] +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"text": "", "color": "green"}, {"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "fzsd.module.scoreboard.display.activation - "}, {"nbt": "fzsd.scoreboard.text.activation", "interpret": true, "storage": "fzsd:module"}] +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"text": "", "color": "green"}, {"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "fzsd.module.scoreboard.display.aviating_distance - "}, {"nbt": "fzsd.scoreboard.text.aviating_distance", "interpret": true, "storage": "fzsd:module"}] +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"text": "", "color": "green"}, {"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "fzsd.module.scoreboard.display.damage_taken - "}, {"nbt": "fzsd.scoreboard.text.damage_taken", "interpret": true, "storage": "fzsd:module"}] +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"text": "", "color": "green"}, {"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "fzsd.module.scoreboard.display.death_count - "}, {"nbt": "fzsd.scoreboard.text.death_count", "interpret": true, "storage": "fzsd:module"}] +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"text": "", "color": "green"}, {"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "fzsd.module.scoreboard.display.dig_count - "}, {"nbt": "fzsd.scoreboard.text.dig_count", "interpret": true, "storage": "fzsd:module"}] +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"text": "", "color": "green"}, {"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "fzsd.module.scoreboard.display.fishing_count - "}, {"nbt": "fzsd.scoreboard.text.fishing_count", "interpret": true, "storage": "fzsd:module"}] +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"text": "", "color": "green"}, {"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "fzsd.module.scoreboard.display.kill_count - "}, {"nbt": "fzsd.scoreboard.text.kill_count", "interpret": true, "storage": "fzsd:module"}] +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"text": "", "color": "green"}, {"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "fzsd.module.scoreboard.display.trade_count - "}, {"nbt": "fzsd.scoreboard.text.trade_count", "interpret": true, "storage": "fzsd:module"}] + +## 日志 +execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "已加载组件:计分板"}] \ No newline at end of file diff --git a/data/fz/functions/module/scoreboard/uninstall.mcfunction b/data/fzsd/functions/module/scoreboard/uninstall.mcfunction similarity index 50% rename from data/fz/functions/module/scoreboard/uninstall.mcfunction rename to data/fzsd/functions/module/scoreboard/uninstall.mcfunction index a829a2b..6a30ff6 100644 --- a/data/fz/functions/module/scoreboard/uninstall.mcfunction +++ b/data/fzsd/functions/module/scoreboard/uninstall.mcfunction @@ -1,34 +1,34 @@ -# 调用者:#fz:module/scoreboard/uninstall - -## 关闭轮播循环 -schedule clear fz:module/scoreboard/display/carousel/loop - -## 关闭计分板显示 -scoreboard objectives setdisplay sidebar.team.aqua -scoreboard objectives setdisplay sidebar.team.black -scoreboard objectives setdisplay sidebar.team.blue -scoreboard objectives setdisplay sidebar.team.dark_aqua -scoreboard objectives setdisplay sidebar.team.dark_blue -scoreboard objectives setdisplay sidebar.team.dark_gray -scoreboard objectives setdisplay sidebar.team.dark_green -scoreboard objectives setdisplay sidebar.team.dark_purple -scoreboard objectives setdisplay sidebar.team.dark_red -scoreboard objectives setdisplay sidebar.team.gold -scoreboard objectives setdisplay sidebar.team.gray -scoreboard objectives setdisplay sidebar.team.green -scoreboard objectives setdisplay sidebar.team.light_purple -scoreboard objectives setdisplay sidebar.team.red -scoreboard objectives setdisplay sidebar.team.white -scoreboard objectives setdisplay sidebar.team.yellow - -team remove fz.module.scoreboard.fake -team remove fz.module.scoreboard.shadow - -## 询问是否清除数据 -execute if score fz.logger.level fz.variable.integer matches ..600 run tellraw @s [{"nbt": "fz.level.alert", "interpret": true, "storage": "fz:logger"}, {"text": "您要删除计分板数据吗,它将会永久失去!(真的很久!)"}, {"text": "[确定]", "color": "dark_red", "clickEvent": {"action": "suggest_command", "value": "/function #fz:module/scoreboard/clear_data"}, "hoverEvent": {"action": "show_text", "contents": {"text": "将命令填入聊天框"}}}] - -## 标记为已卸载 -data modify storage fz:installed fz.module.scoreboard set value 0b - -## 日志 -execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已卸载组件:计分板"}] \ No newline at end of file +# 调用者:#fzsd:module/scoreboard/uninstall + +## 关闭轮播循环 +schedule clear fzsd:module/scoreboard/display/carousel/loop + +## 关闭计分板显示 +scoreboard objectives setdisplay sidebar.team.aqua +scoreboard objectives setdisplay sidebar.team.black +scoreboard objectives setdisplay sidebar.team.blue +scoreboard objectives setdisplay sidebar.team.dark_aqua +scoreboard objectives setdisplay sidebar.team.dark_blue +scoreboard objectives setdisplay sidebar.team.dark_gray +scoreboard objectives setdisplay sidebar.team.dark_green +scoreboard objectives setdisplay sidebar.team.dark_purple +scoreboard objectives setdisplay sidebar.team.dark_red +scoreboard objectives setdisplay sidebar.team.gold +scoreboard objectives setdisplay sidebar.team.gray +scoreboard objectives setdisplay sidebar.team.green +scoreboard objectives setdisplay sidebar.team.light_purple +scoreboard objectives setdisplay sidebar.team.red +scoreboard objectives setdisplay sidebar.team.white +scoreboard objectives setdisplay sidebar.team.yellow + +team remove fzsd.module.scoreboard.fake +team remove fzsd.module.scoreboard.shadow + +## 询问是否清除数据 +execute if score fzsd.logger.level fzsd.variable.integer matches ..600 run tellraw @s [{"nbt": "fzsd.level.alert", "interpret": true, "storage": "fzsd:logger"}, {"text": "您要删除计分板数据吗,它将会永久失去!(真的很久!)"}, {"text": "[确定]", "color": "dark_red", "clickEvent": {"action": "suggest_command", "value": "/function #fzsd:module/scoreboard/clear_data"}, "hoverEvent": {"action": "show_text", "contents": {"text": "将命令填入聊天框"}}}] + +## 标记为已卸载 +data modify storage fzsd:installed fzsd.module.scoreboard 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": "已卸载组件:计分板"}] \ No newline at end of file diff --git a/data/fzsd/functions/module/try_install.mcfunction b/data/fzsd/functions/module/try_install.mcfunction new file mode 100644 index 0000000..d57980f --- /dev/null +++ b/data/fzsd/functions/module/try_install.mcfunction @@ -0,0 +1,11 @@ +# 调用者:#fzsd:module/try_install + +## 判断是否需要安装 +execute unless data storage fzsd:installed fzsd.module{health:0b} run function #fzsd:module/health/install +execute unless data storage fzsd:installed fzsd.module{here:0b} run function #fzsd:module/here/install +execute unless data storage fzsd:installed fzsd.module{interactor:0b} run function #fzsd:module/interactor/install +execute unless data storage fzsd:installed fzsd.module{join_message:0b} run function #fzsd:module/join_message/install +execute unless data storage fzsd:installed fzsd.module{last_death:0b} run function #fzsd:module/last_death/install +execute unless data storage fzsd:installed fzsd.module{last_nether_portal:0b} run function #fzsd:module/last_nether_portal/install +execute unless data storage fzsd:installed fzsd.module{last_spawn_point:0b} run function #fzsd:module/last_spawn_point/install +execute unless data storage fzsd:installed fzsd.module{scoreboard:0b} run function #fzsd:module/scoreboard/install diff --git a/data/fzsd/functions/module/try_load.mcfunction b/data/fzsd/functions/module/try_load.mcfunction new file mode 100644 index 0000000..ddcf4bf --- /dev/null +++ b/data/fzsd/functions/module/try_load.mcfunction @@ -0,0 +1,6 @@ +# 调用者:#fzsd:module/try_load + +## 判断是否安装,如果安装则加载 +execute if data storage fzsd:installed fzsd.module{health:1b} run function #fzsd:module/health/load +execute if data storage fzsd:installed fzsd.module{interactor:1b} run function #fzsd:module/interactor/load +execute if data storage fzsd:installed fzsd.module{scoreboard:1b} run function #fzsd:module/scoreboard/load diff --git a/data/fz.admin/functions/preset_carpet.mcfunction b/data/fzsd/functions/system/carpet/settings_preset.mcfunction similarity index 100% rename from data/fz.admin/functions/preset_carpet.mcfunction rename to data/fzsd/functions/system/carpet/settings_preset.mcfunction diff --git a/data/fzsd/functions/system/carpet/try_load_fzsd_score.mcfunction b/data/fzsd/functions/system/carpet/try_load_fzsd_score.mcfunction new file mode 100644 index 0000000..195b0d2 --- /dev/null +++ b/data/fzsd/functions/system/carpet/try_load_fzsd_score.mcfunction @@ -0,0 +1 @@ +script run if(system_info('app_list') ~ 'fzsd_score' == null && run('script load fzsd_score'):0 == 0,run('carpet commandPlayer false'); print(player('all'), '未安装计分板配套插件,请按使用说明安装或联系服务器管理员!已禁用地毯假人,以避免污染计分板,请自行启用!')) \ No newline at end of file diff --git a/data/fzsd/functions/system/install/after.mcfunction b/data/fzsd/functions/system/install/after.mcfunction new file mode 100644 index 0000000..d4ba957 --- /dev/null +++ b/data/fzsd/functions/system/install/after.mcfunction @@ -0,0 +1,5 @@ +## 标记为已安装 +data modify storage fzsd:installed fzsd.global set value 1b + +## 日志 +tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "安装完成!"}] \ No newline at end of file diff --git a/data/fzsd/functions/system/install/install.mcfunction b/data/fzsd/functions/system/install/install.mcfunction new file mode 100644 index 0000000..4bb211d --- /dev/null +++ b/data/fzsd/functions/system/install/install.mcfunction @@ -0,0 +1,2 @@ +## 整数类型 +scoreboard objectives add fzsd.variable.integer dummy \ No newline at end of file diff --git a/data/fzsd/functions/system/load/after.mcfunction b/data/fzsd/functions/system/load/after.mcfunction new file mode 100644 index 0000000..a0f7346 --- /dev/null +++ b/data/fzsd/functions/system/load/after.mcfunction @@ -0,0 +1,2 @@ +## 日志 +execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "加载完成!"}] \ No newline at end of file diff --git a/data/fzsd/functions/system/load/load.mcfunction b/data/fzsd/functions/system/load/load.mcfunction new file mode 100644 index 0000000..9cbc1cc --- /dev/null +++ b/data/fzsd/functions/system/load/load.mcfunction @@ -0,0 +1,4 @@ +## 常量 +scoreboard players set 10 fzsd.variable.integer 10 +scoreboard players set 200 fzsd.variable.integer 200 +scoreboard players set 72000 fzsd.variable.integer 72000 \ No newline at end of file diff --git a/data/fzsd/functions/system/uninstall/cache_module_install_data.mcfunction b/data/fzsd/functions/system/uninstall/cache_module_install_data.mcfunction new file mode 100644 index 0000000..2b269f0 --- /dev/null +++ b/data/fzsd/functions/system/uninstall/cache_module_install_data.mcfunction @@ -0,0 +1,2 @@ +## 将模块安装记录缓存,因为模块的卸载函数会覆盖该记录 +data modify storage fzsd:installed fzsd.cache set from storage fzsd:installed fzsd.module \ No newline at end of file diff --git a/data/fzsd/functions/system/uninstall/restore_module_install_data.mcfunction b/data/fzsd/functions/system/uninstall/restore_module_install_data.mcfunction new file mode 100644 index 0000000..8d96824 --- /dev/null +++ b/data/fzsd/functions/system/uninstall/restore_module_install_data.mcfunction @@ -0,0 +1,3 @@ +## 恢复模块安装记录 +data modify storage fzsd:installed fzsd.module set from storage fzsd:installed fzsd.cache +data remove storage fzsd:installed fzsd.cache \ No newline at end of file diff --git a/data/fzsd/functions/system/uninstall/uninstall.mcfunction b/data/fzsd/functions/system/uninstall/uninstall.mcfunction new file mode 100644 index 0000000..d05ffbb --- /dev/null +++ b/data/fzsd/functions/system/uninstall/uninstall.mcfunction @@ -0,0 +1,5 @@ +## 整数类型 +scoreboard objectives remove fzsd.variable.integer + +## 清除缓存 +data remove storage fzsd:global fzsd \ No newline at end of file diff --git a/data/fzsd/functions/system/uninstall/uninstalled.mcfunction b/data/fzsd/functions/system/uninstall/uninstalled.mcfunction new file mode 100644 index 0000000..010a330 --- /dev/null +++ b/data/fzsd/functions/system/uninstall/uninstalled.mcfunction @@ -0,0 +1,5 @@ +## 标记为已卸载 +data modify storage fzsd:installed fzsd.global 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": "卸载完成!"}] \ No newline at end of file diff --git a/data/fzsd/functions/system/update.mcfunction b/data/fzsd/functions/system/update.mcfunction new file mode 100644 index 0000000..6ebc09d --- /dev/null +++ b/data/fzsd/functions/system/update.mcfunction @@ -0,0 +1,2 @@ +execute if data storage fzsd:installed fzsd{global: 1b} run function #fzsd:uninstall +function #fzsd:install diff --git a/data/fz/predicates/axe_in_hand_effective.json b/data/fzsd/predicates/axe_in_hand_effective.json similarity index 90% rename from data/fz/predicates/axe_in_hand_effective.json rename to data/fzsd/predicates/axe_in_hand_effective.json index 4376a5c..6693fd6 100644 --- a/data/fz/predicates/axe_in_hand_effective.json +++ b/data/fzsd/predicates/axe_in_hand_effective.json @@ -8,7 +8,7 @@ "predicate": { "equipment": { "mainhand": { - "tag": "fz:tool/axes" + "tag": "fzsd:tool/axes" } } } @@ -25,7 +25,7 @@ "predicate": { "equipment": { "mainhand": { - "tag": "fz:tools" + "tag": "fzsd:tools" } } } @@ -38,7 +38,7 @@ "predicate": { "equipment": { "offhand": { - "tag": "fz:tool/axes" + "tag": "fzsd:tool/axes" } } } diff --git a/data/fz/predicates/in_dimension_overworld.json b/data/fzsd/predicates/in_dimension_overworld.json similarity index 100% rename from data/fz/predicates/in_dimension_overworld.json rename to data/fzsd/predicates/in_dimension_overworld.json diff --git a/data/fz/predicates/in_dimension_the_nether.json b/data/fzsd/predicates/in_dimension_the_nether.json similarity index 100% rename from data/fz/predicates/in_dimension_the_nether.json rename to data/fzsd/predicates/in_dimension_the_nether.json diff --git a/data/fz/predicates/is_fake_player.json b/data/fzsd/predicates/is_fake_player.json similarity index 68% rename from data/fz/predicates/is_fake_player.json rename to data/fzsd/predicates/is_fake_player.json index d333fcd..b0f390b 100644 --- a/data/fz/predicates/is_fake_player.json +++ b/data/fzsd/predicates/is_fake_player.json @@ -2,6 +2,6 @@ "condition": "minecraft:entity_properties", "entity": "this", "predicate": { - "team": "fz.module.scoreboard.fake" + "team": "fzsd.module.scoreboard.fake" } } \ No newline at end of file diff --git a/data/fz/predicates/is_real_player.json b/data/fzsd/predicates/is_real_player.json similarity index 73% rename from data/fz/predicates/is_real_player.json rename to data/fzsd/predicates/is_real_player.json index 85773b3..f8ebc9c 100644 --- a/data/fz/predicates/is_real_player.json +++ b/data/fzsd/predicates/is_real_player.json @@ -2,6 +2,6 @@ "condition": "minecraft:inverted", "term": { "condition": "minecraft:reference", - "name": "fz:not_real_player" + "name": "fzsd:not_real_player" } } \ No newline at end of file diff --git a/data/fz/predicates/is_shadow_player.json b/data/fzsd/predicates/is_shadow_player.json similarity index 67% rename from data/fz/predicates/is_shadow_player.json rename to data/fzsd/predicates/is_shadow_player.json index d0a3a01..e037631 100644 --- a/data/fz/predicates/is_shadow_player.json +++ b/data/fzsd/predicates/is_shadow_player.json @@ -2,6 +2,6 @@ "condition": "minecraft:entity_properties", "entity": "this", "predicate": { - "team": "fz.module.scoreboard.shadow" + "team": "fzsd.module.scoreboard.shadow" } } \ No newline at end of file diff --git a/data/fz/predicates/not_real_player.json b/data/fzsd/predicates/not_real_player.json similarity index 70% rename from data/fz/predicates/not_real_player.json rename to data/fzsd/predicates/not_real_player.json index f595a91..a89beb5 100644 --- a/data/fz/predicates/not_real_player.json +++ b/data/fzsd/predicates/not_real_player.json @@ -3,11 +3,11 @@ "terms": [ { "condition": "minecraft:reference", - "name": "fz:is_fake_player" + "name": "fzsd:is_fake_player" }, { "condition": "minecraft:reference", - "name": "fz:is_shadow_player" + "name": "fzsd:is_shadow_player" } ] } \ No newline at end of file diff --git a/data/fz/predicates/used_tool.json b/data/fzsd/predicates/used_tool.json similarity index 77% rename from data/fz/predicates/used_tool.json rename to data/fzsd/predicates/used_tool.json index 1f4e824..a192834 100644 --- a/data/fz/predicates/used_tool.json +++ b/data/fzsd/predicates/used_tool.json @@ -5,7 +5,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.used_tool.diamond_axe": { + "fzsd.event.used_tool.diamond_axe": { "min": 1 } } @@ -14,7 +14,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.used_tool.diamond_hoe": { + "fzsd.event.used_tool.diamond_hoe": { "min": 1 } } @@ -23,7 +23,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.used_tool.diamond_pickaxe": { + "fzsd.event.used_tool.diamond_pickaxe": { "min": 1 } } @@ -32,7 +32,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.used_tool.diamond_shovel": { + "fzsd.event.used_tool.diamond_shovel": { "min": 1 } } @@ -41,7 +41,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.used_tool.diamond_sword": { + "fzsd.event.used_tool.diamond_sword": { "min": 1 } } @@ -50,7 +50,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.used_tool.golden_axe": { + "fzsd.event.used_tool.golden_axe": { "min": 1 } } @@ -59,7 +59,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.used_tool.golden_hoe": { + "fzsd.event.used_tool.golden_hoe": { "min": 1 } } @@ -68,7 +68,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.used_tool.golden_pickaxe": { + "fzsd.event.used_tool.golden_pickaxe": { "min": 1 } } @@ -77,7 +77,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.used_tool.golden_shovel": { + "fzsd.event.used_tool.golden_shovel": { "min": 1 } } @@ -86,7 +86,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.used_tool.golden_sword": { + "fzsd.event.used_tool.golden_sword": { "min": 1 } } @@ -95,7 +95,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.used_tool.iron_axe": { + "fzsd.event.used_tool.iron_axe": { "min": 1 } } @@ -104,7 +104,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.used_tool.iron_hoe": { + "fzsd.event.used_tool.iron_hoe": { "min": 1 } } @@ -113,7 +113,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.used_tool.iron_pickaxe": { + "fzsd.event.used_tool.iron_pickaxe": { "min": 1 } } @@ -122,7 +122,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.used_tool.iron_shovel": { + "fzsd.event.used_tool.iron_shovel": { "min": 1 } } @@ -131,7 +131,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.used_tool.iron_sword": { + "fzsd.event.used_tool.iron_sword": { "min": 1 } } @@ -140,7 +140,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.used_tool.netherite_axe": { + "fzsd.event.used_tool.netherite_axe": { "min": 1 } } @@ -149,7 +149,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.used_tool.netherite_hoe": { + "fzsd.event.used_tool.netherite_hoe": { "min": 1 } } @@ -158,7 +158,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.used_tool.netherite_pickaxe": { + "fzsd.event.used_tool.netherite_pickaxe": { "min": 1 } } @@ -167,7 +167,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.used_tool.netherite_shovel": { + "fzsd.event.used_tool.netherite_shovel": { "min": 1 } } @@ -176,7 +176,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.used_tool.netherite_sword": { + "fzsd.event.used_tool.netherite_sword": { "min": 1 } } @@ -185,7 +185,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.used_tool.shears": { + "fzsd.event.used_tool.shears": { "min": 1 } } @@ -194,7 +194,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.used_tool.stone_axe": { + "fzsd.event.used_tool.stone_axe": { "min": 1 } } @@ -203,7 +203,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.used_tool.stone_hoe": { + "fzsd.event.used_tool.stone_hoe": { "min": 1 } } @@ -212,7 +212,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.used_tool.stone_pickaxe": { + "fzsd.event.used_tool.stone_pickaxe": { "min": 1 } } @@ -221,7 +221,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.used_tool.stone_shovel": { + "fzsd.event.used_tool.stone_shovel": { "min": 1 } } @@ -230,7 +230,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.used_tool.stone_sword": { + "fzsd.event.used_tool.stone_sword": { "min": 1 } } @@ -239,7 +239,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.used_tool.wooden_axe": { + "fzsd.event.used_tool.wooden_axe": { "min": 1 } } @@ -248,7 +248,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.used_tool.wooden_hoe": { + "fzsd.event.used_tool.wooden_hoe": { "min": 1 } } @@ -257,7 +257,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.used_tool.wooden_pickaxe": { + "fzsd.event.used_tool.wooden_pickaxe": { "min": 1 } } @@ -266,7 +266,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.used_tool.wooden_shovel": { + "fzsd.event.used_tool.wooden_shovel": { "min": 1 } } @@ -275,7 +275,7 @@ "condition": "minecraft:entity_scores", "entity": "this", "scores": { - "fz.event.used_tool.wooden_sword": { + "fzsd.event.used_tool.wooden_sword": { "min": 1 } } diff --git a/data/fz/tags/blocks/stripped_blocks.json b/data/fzsd/tags/blocks/stripped_blocks.json similarity index 100% rename from data/fz/tags/blocks/stripped_blocks.json rename to data/fzsd/tags/blocks/stripped_blocks.json diff --git a/data/fz/tags/entity_types/ignore_on_player_killed_entity.json b/data/fzsd/tags/entity_types/ignore_on_player_killed_entity.json similarity index 100% rename from data/fz/tags/entity_types/ignore_on_player_killed_entity.json rename to data/fzsd/tags/entity_types/ignore_on_player_killed_entity.json diff --git a/data/fz/tags/entity_types/shearable.json b/data/fzsd/tags/entity_types/shearable.json similarity index 100% rename from data/fz/tags/entity_types/shearable.json rename to data/fzsd/tags/entity_types/shearable.json diff --git a/data/fzsd/tags/functions/api/get_dimension_name.json b/data/fzsd/tags/functions/api/get_dimension_name.json new file mode 100644 index 0000000..4b69c89 --- /dev/null +++ b/data/fzsd/tags/functions/api/get_dimension_name.json @@ -0,0 +1,9 @@ +{ + "replace": false, + "values": [ + "fzsd:api/get_dimension_name/default", + "#fzsd:api/get_dimension_name/minecraft/overworld", + "#fzsd:api/get_dimension_name/minecraft/the_end", + "#fzsd:api/get_dimension_name/minecraft/the_nether" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/api/get_dimension_name/minecraft/overworld.json b/data/fzsd/tags/functions/api/get_dimension_name/minecraft/overworld.json new file mode 100644 index 0000000..6f97d3c --- /dev/null +++ b/data/fzsd/tags/functions/api/get_dimension_name/minecraft/overworld.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:api/get_dimension_name/minecraft/overworld" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/api/get_dimension_name/minecraft/the_end.json b/data/fzsd/tags/functions/api/get_dimension_name/minecraft/the_end.json new file mode 100644 index 0000000..1a8b468 --- /dev/null +++ b/data/fzsd/tags/functions/api/get_dimension_name/minecraft/the_end.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:api/get_dimension_name/minecraft/the_end" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/api/get_dimension_name/minecraft/the_nether.json b/data/fzsd/tags/functions/api/get_dimension_name/minecraft/the_nether.json new file mode 100644 index 0000000..568d8ac --- /dev/null +++ b/data/fzsd/tags/functions/api/get_dimension_name/minecraft/the_nether.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:api/get_dimension_name/minecraft/the_nether" + ] +} \ No newline at end of file diff --git a/data/fz/tags/functions/api/get_player_dimension.json b/data/fzsd/tags/functions/api/get_player_dimension.json similarity index 54% rename from data/fz/tags/functions/api/get_player_dimension.json rename to data/fzsd/tags/functions/api/get_player_dimension.json index 523650d..862c1d0 100644 --- a/data/fz/tags/functions/api/get_player_dimension.json +++ b/data/fzsd/tags/functions/api/get_player_dimension.json @@ -1,6 +1,6 @@ { "replace": false, "values": [ - "fz:api/get_player_dimension" + "fzsd:api/get_player_dimension" ] } \ No newline at end of file diff --git a/data/fzsd/tags/functions/calculation/highest_id_add_1.json b/data/fzsd/tags/functions/calculation/highest_id_add_1.json new file mode 100644 index 0000000..0d2f172 --- /dev/null +++ b/data/fzsd/tags/functions/calculation/highest_id_add_1.json @@ -0,0 +1,6 @@ +{ + "replace": true, + "values": [ + "fzsd:module/scoreboard/display/highest_id_add_1" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/deep_install.json b/data/fzsd/tags/functions/deep_install.json new file mode 100644 index 0000000..64a3dd0 --- /dev/null +++ b/data/fzsd/tags/functions/deep_install.json @@ -0,0 +1,10 @@ +{ + "__comment": "本标签将强制安装所有模块", + "replace": false, + "values": [ + "#fzsd:system/install/before", + "#fzsd:system/install/system", + "#fzsd:system/install/module/force", + "#fzsd:system/install/after" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/deep_reinstall.json b/data/fzsd/tags/functions/deep_reinstall.json new file mode 100644 index 0000000..a2a9c44 --- /dev/null +++ b/data/fzsd/tags/functions/deep_reinstall.json @@ -0,0 +1,8 @@ +{ + "__comment": "本标签将强制重装所有模块", + "replace": false, + "values": [ + "#fzsd:uninstall", + "#fzsd:deep_install" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/deep_uninstall.json b/data/fzsd/tags/functions/deep_uninstall.json new file mode 100644 index 0000000..0d2f19a --- /dev/null +++ b/data/fzsd/tags/functions/deep_uninstall.json @@ -0,0 +1,10 @@ +{ + "__comment": "本标签将强制重装所有模块", + "replace": false, + "values": [ + "#fzsd:system/uninstall/before", + "#fzsd:system/uninstall/module", + "#fzsd:system/uninstall/system", + "#fzsd:system/uninstall/after" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/game_event/advancement/reset_advancements.json b/data/fzsd/tags/functions/game_event/advancement/reset_advancements.json new file mode 100644 index 0000000..4909996 --- /dev/null +++ b/data/fzsd/tags/functions/game_event/advancement/reset_advancements.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:game_event/advancement/reset_advancements" + ] +} \ No newline at end of file diff --git a/data/fz/tags/functions/game_event/player/on_hurt_entity_with_tools.json b/data/fzsd/tags/functions/game_event/on_tick.json similarity index 100% rename from data/fz/tags/functions/game_event/player/on_hurt_entity_with_tools.json rename to data/fzsd/tags/functions/game_event/on_tick.json diff --git a/data/fzsd/tags/functions/game_event/player/on_aviate_one_meter.json b/data/fzsd/tags/functions/game_event/player/on_aviate_one_meter.json new file mode 100644 index 0000000..066489b --- /dev/null +++ b/data/fzsd/tags/functions/game_event/player/on_aviate_one_meter.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "#fzsd:module/scoreboard/assign/scoreboard/aviating_distance" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/game_event/player/on_broke_block_with_tool.json b/data/fzsd/tags/functions/game_event/player/on_broke_block_with_tool.json new file mode 100644 index 0000000..d76ccdf --- /dev/null +++ b/data/fzsd/tags/functions/game_event/player/on_broke_block_with_tool.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "#fzsd:module/scoreboard/assign/scoreboard/dig_count" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/game_event/player/on_dead.json b/data/fzsd/tags/functions/game_event/player/on_dead.json new file mode 100644 index 0000000..a98eee5 --- /dev/null +++ b/data/fzsd/tags/functions/game_event/player/on_dead.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "#fzsd:module/scoreboard/assign/scoreboard/death_count" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/game_event/player/on_entered_nether_portal.json b/data/fzsd/tags/functions/game_event/player/on_entered_nether_portal.json new file mode 100644 index 0000000..7a09c06 --- /dev/null +++ b/data/fzsd/tags/functions/game_event/player/on_entered_nether_portal.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "#fzsd:module/last_nether_portal/event/on_entered_nether_portal" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/game_event/player/on_fished.json b/data/fzsd/tags/functions/game_event/player/on_fished.json new file mode 100644 index 0000000..9364527 --- /dev/null +++ b/data/fzsd/tags/functions/game_event/player/on_fished.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "#fzsd:module/scoreboard/assign/scoreboard/fishing_count" + ] +} \ No newline at end of file diff --git a/data/fz/tags/functions/game_event/player/on_shears_used_on_entity.json b/data/fzsd/tags/functions/game_event/player/on_hurt_entity_with_tools.json similarity index 100% rename from data/fz/tags/functions/game_event/player/on_shears_used_on_entity.json rename to data/fzsd/tags/functions/game_event/player/on_hurt_entity_with_tools.json diff --git a/data/fzsd/tags/functions/game_event/player/on_killed_mob_or_player.json b/data/fzsd/tags/functions/game_event/player/on_killed_mob_or_player.json new file mode 100644 index 0000000..f95a913 --- /dev/null +++ b/data/fzsd/tags/functions/game_event/player/on_killed_mob_or_player.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "#fzsd:module/scoreboard/assign/scoreboard/kill_count" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/game_event/player/on_login.json b/data/fzsd/tags/functions/game_event/player/on_login.json new file mode 100644 index 0000000..d3411ba --- /dev/null +++ b/data/fzsd/tags/functions/game_event/player/on_login.json @@ -0,0 +1,8 @@ +{ + "replace": false, + "values": [ + "#fzsd:module/interactor/reset_trigger", + "#fzsd:module/interactor/event/reset_advancements", + "fzsd:module/join_message/event/on_login/on_login" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/game_event/player/on_piglin_trade.json b/data/fzsd/tags/functions/game_event/player/on_piglin_trade.json new file mode 100644 index 0000000..9a10072 --- /dev/null +++ b/data/fzsd/tags/functions/game_event/player/on_piglin_trade.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "#fzsd:module/scoreboard/assign/scoreboard/trade_count" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/game_event/player/on_placed_block.json b/data/fzsd/tags/functions/game_event/player/on_placed_block.json new file mode 100644 index 0000000..5210f29 --- /dev/null +++ b/data/fzsd/tags/functions/game_event/player/on_placed_block.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "#fzsd:module/scoreboard/assign/scoreboard/placement_count" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/game_event/player/on_play_one_hour.json b/data/fzsd/tags/functions/game_event/player/on_play_one_hour.json new file mode 100644 index 0000000..8459e67 --- /dev/null +++ b/data/fzsd/tags/functions/game_event/player/on_play_one_hour.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "#fzsd:module/scoreboard/assign/scoreboard/activation" + ] +} \ No newline at end of file diff --git a/data/fz/tags/functions/game_event/player/on_sneak.json b/data/fzsd/tags/functions/game_event/player/on_shears_used_on_entity.json similarity index 100% rename from data/fz/tags/functions/game_event/player/on_sneak.json rename to data/fzsd/tags/functions/game_event/player/on_shears_used_on_entity.json diff --git a/data/fz/tags/functions/game_event/player/on_tools_right_click_used.json b/data/fzsd/tags/functions/game_event/player/on_sneak.json similarity index 100% rename from data/fz/tags/functions/game_event/player/on_tools_right_click_used.json rename to data/fzsd/tags/functions/game_event/player/on_sneak.json diff --git a/data/fzsd/tags/functions/game_event/player/on_took_damage.json b/data/fzsd/tags/functions/game_event/player/on_took_damage.json new file mode 100644 index 0000000..7cf64b6 --- /dev/null +++ b/data/fzsd/tags/functions/game_event/player/on_took_damage.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "#fzsd:module/scoreboard/assign/scoreboard/damage_taken" + ] +} \ No newline at end of file diff --git a/data/fz/tags/functions/game_event/player/on_tools_used_on_block.json b/data/fzsd/tags/functions/game_event/player/on_tools_right_click_used.json similarity index 100% rename from data/fz/tags/functions/game_event/player/on_tools_used_on_block.json rename to data/fzsd/tags/functions/game_event/player/on_tools_right_click_used.json diff --git a/data/fz/tags/functions/system/load/loaded.json b/data/fzsd/tags/functions/game_event/player/on_tools_used_on_block.json similarity index 63% rename from data/fz/tags/functions/system/load/loaded.json rename to data/fzsd/tags/functions/game_event/player/on_tools_used_on_block.json index e7cf16e..907e30b 100644 --- a/data/fz/tags/functions/system/load/loaded.json +++ b/data/fzsd/tags/functions/game_event/player/on_tools_used_on_block.json @@ -1,6 +1,6 @@ { "replace": false, "values": [ - "fz:system/loaded" + ] } \ No newline at end of file diff --git a/data/fzsd/tags/functions/game_event/player/on_unsneak.json b/data/fzsd/tags/functions/game_event/player/on_unsneak.json new file mode 100644 index 0000000..e07d337 --- /dev/null +++ b/data/fzsd/tags/functions/game_event/player/on_unsneak.json @@ -0,0 +1,7 @@ +{ + "__comment": "调用者:fzsd:game_event/on_unsneaked,当玩家蹲起后触发此事件", + "replace": false, + "values": [ + "fzsd:module/interactor/event/on_unsneak/on_unsneak" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/game_event/player/on_used_tool.json b/data/fzsd/tags/functions/game_event/player/on_used_tool.json new file mode 100644 index 0000000..2259bd7 --- /dev/null +++ b/data/fzsd/tags/functions/game_event/player/on_used_tool.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:game_event/player/on_broke_block_with_tool/on_used_tool" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/game_event/player/on_used_tool/reset_used_tool.json b/data/fzsd/tags/functions/game_event/player/on_used_tool/reset_used_tool.json new file mode 100644 index 0000000..705614c --- /dev/null +++ b/data/fzsd/tags/functions/game_event/player/on_used_tool/reset_used_tool.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:game_event/player/on_used_tool/reset_used_tool" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/game_event/player/on_villager_trade.json b/data/fzsd/tags/functions/game_event/player/on_villager_trade.json new file mode 100644 index 0000000..9a10072 --- /dev/null +++ b/data/fzsd/tags/functions/game_event/player/on_villager_trade.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "#fzsd:module/scoreboard/assign/scoreboard/trade_count" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/game_event/reset_all.json b/data/fzsd/tags/functions/game_event/reset_all.json new file mode 100644 index 0000000..c1b23bd --- /dev/null +++ b/data/fzsd/tags/functions/game_event/reset_all.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "#fzsd:game_event/advancement/reset_advancements", + "#fzsd:game_event/player/on_used_tool/reset_used_tool" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/install.json b/data/fzsd/tags/functions/install.json new file mode 100644 index 0000000..5880d42 --- /dev/null +++ b/data/fzsd/tags/functions/install.json @@ -0,0 +1,10 @@ +{ + "__comment": "本标签将尝试安装安装记录不为0b的模块", + "replace": false, + "values": [ + "#fzsd:system/install/before", + "#fzsd:system/install/system", + "#fzsd:system/install/module/try", + "#fzsd:system/install/after" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/load.json b/data/fzsd/tags/functions/load.json new file mode 100644 index 0000000..7c1ee47 --- /dev/null +++ b/data/fzsd/tags/functions/load.json @@ -0,0 +1,10 @@ +{ + "__comment": "本标签将尝试加载安装记录为1b的模块", + "replace": false, + "values": [ + "#fzsd:system/load/before", + "#fzsd:system/load/system", + "#fzsd:system/load/module/try", + "#fzsd:system/load/after" + ] +} \ No newline at end of file diff --git a/data/fz.admin/tags/functions/log_level/fine.json b/data/fzsd/tags/functions/logger/clear_data.json similarity index 58% rename from data/fz.admin/tags/functions/log_level/fine.json rename to data/fzsd/tags/functions/logger/clear_data.json index f5aea0e..9fba972 100644 --- a/data/fz.admin/tags/functions/log_level/fine.json +++ b/data/fzsd/tags/functions/logger/clear_data.json @@ -1,6 +1,6 @@ { "replace": false, "values": [ - "fz:logger/level/fine" + "fzsd:logger/clear_data" ] } \ No newline at end of file diff --git a/data/fz/tags/functions/module/here/install.json b/data/fzsd/tags/functions/module/health/install.json similarity index 55% rename from data/fz/tags/functions/module/here/install.json rename to data/fzsd/tags/functions/module/health/install.json index afb72c0..6e61403 100644 --- a/data/fz/tags/functions/module/here/install.json +++ b/data/fzsd/tags/functions/module/health/install.json @@ -1,6 +1,6 @@ { "replace": false, "values": [ - "fz:module/here/install" + "fzsd:module/health/install" ] } \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/health/load.json b/data/fzsd/tags/functions/module/health/load.json new file mode 100644 index 0000000..f3c0d82 --- /dev/null +++ b/data/fzsd/tags/functions/module/health/load.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "#fzsd:module/health/set_health_name", + "fzsd:module/health/load" + ] +} \ No newline at end of file diff --git a/data/fz/tags/functions/module/health/set_health_name.json b/data/fzsd/tags/functions/module/health/set_health_name.json similarity index 80% rename from data/fz/tags/functions/module/health/set_health_name.json rename to data/fzsd/tags/functions/module/health/set_health_name.json index 413b2e6..076eb23 100644 --- a/data/fz/tags/functions/module/health/set_health_name.json +++ b/data/fzsd/tags/functions/module/health/set_health_name.json @@ -4,6 +4,6 @@ "replace": false, "__comment_values": "此处只能填写一个函数!", "values": [ - "fz:module/health/set_health_name/default" + "fzsd:module/health/set_health_name/default" ] } \ No newline at end of file diff --git a/data/fz/tags/functions/module/here/uninstall.json b/data/fzsd/tags/functions/module/health/uninstall.json similarity index 54% rename from data/fz/tags/functions/module/here/uninstall.json rename to data/fzsd/tags/functions/module/health/uninstall.json index 28e444d..1ac2c87 100644 --- a/data/fz/tags/functions/module/here/uninstall.json +++ b/data/fzsd/tags/functions/module/health/uninstall.json @@ -1,6 +1,6 @@ { "replace": false, "values": [ - "fz:module/here/uninstall" + "fzsd:module/health/uninstall" ] } \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/here/get_dimension_message.json b/data/fzsd/tags/functions/module/here/get_dimension_message.json new file mode 100644 index 0000000..9c0f364 --- /dev/null +++ b/data/fzsd/tags/functions/module/here/get_dimension_message.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "fzsd:module/here/get_dimension_message/overworld", + "fzsd:module/here/get_dimension_message/the_nether" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/here/get_message.json b/data/fzsd/tags/functions/module/here/get_message.json new file mode 100644 index 0000000..8601c96 --- /dev/null +++ b/data/fzsd/tags/functions/module/here/get_message.json @@ -0,0 +1,9 @@ +{ + "replace": false, + "values": [ + "#fzsd:api/get_player_dimension", + "#fzsd:api/get_dimension_name", + "fzsd:module/here/get_message", + "#fzsd:module/here/get_dimension_message" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/here/global_message.json b/data/fzsd/tags/functions/module/here/global_message.json new file mode 100644 index 0000000..2a76977 --- /dev/null +++ b/data/fzsd/tags/functions/module/here/global_message.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "#fzsd:module/here/get_message", + "fzsd:module/here/global_message" + ] +} \ No newline at end of file diff --git a/data/fz/tags/functions/module/health/install.json b/data/fzsd/tags/functions/module/here/install.json similarity index 57% rename from data/fz/tags/functions/module/health/install.json rename to data/fzsd/tags/functions/module/here/install.json index dc1241a..0efe1d0 100644 --- a/data/fz/tags/functions/module/health/install.json +++ b/data/fzsd/tags/functions/module/here/install.json @@ -1,6 +1,6 @@ { "replace": false, "values": [ - "fz:module/health/install" + "fzsd:module/here/install" ] } \ No newline at end of file diff --git a/data/fz/tags/functions/module/here/interactor/display.json b/data/fzsd/tags/functions/module/here/interactor/display.json similarity index 50% rename from data/fz/tags/functions/module/here/interactor/display.json rename to data/fzsd/tags/functions/module/here/interactor/display.json index dbe19f8..032b9d4 100644 --- a/data/fz/tags/functions/module/here/interactor/display.json +++ b/data/fzsd/tags/functions/module/here/interactor/display.json @@ -1,6 +1,6 @@ { "replace": false, "values": [ - "fz:module/here/interactor/display" + "fzsd:module/here/interactor/display" ] } \ No newline at end of file diff --git a/data/fz/tags/functions/module/here/interactor/on_click.json b/data/fzsd/tags/functions/module/here/interactor/on_click.json similarity index 50% rename from data/fz/tags/functions/module/here/interactor/on_click.json rename to data/fzsd/tags/functions/module/here/interactor/on_click.json index fe78d2e..31778a2 100644 --- a/data/fz/tags/functions/module/here/interactor/on_click.json +++ b/data/fzsd/tags/functions/module/here/interactor/on_click.json @@ -1,6 +1,6 @@ { "replace": false, "values": [ - "fz:module/here/interactor/on_click" + "fzsd:module/here/interactor/on_click" ] } \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/here/private_message.json b/data/fzsd/tags/functions/module/here/private_message.json new file mode 100644 index 0000000..440181a --- /dev/null +++ b/data/fzsd/tags/functions/module/here/private_message.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "#fzsd:module/here/get_message", + "fzsd:module/here/private_message" + ] +} \ No newline at end of file diff --git a/data/fz/tags/functions/module/health/uninstall.json b/data/fzsd/tags/functions/module/here/uninstall.json similarity index 55% rename from data/fz/tags/functions/module/health/uninstall.json rename to data/fzsd/tags/functions/module/here/uninstall.json index 3018803..0d4f548 100644 --- a/data/fz/tags/functions/module/health/uninstall.json +++ b/data/fzsd/tags/functions/module/here/uninstall.json @@ -1,6 +1,6 @@ { "replace": false, "values": [ - "fz:module/health/uninstall" + "fzsd:module/here/uninstall" ] } \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/interactor/display.json b/data/fzsd/tags/functions/module/interactor/display.json new file mode 100644 index 0000000..008f19e --- /dev/null +++ b/data/fzsd/tags/functions/module/interactor/display.json @@ -0,0 +1,12 @@ +{ + "__comment": "调用者:fzsd:module/interactor/on_click、fzsd:module/interactor/trigger", + "replace": false, + "values": [ + "fzsd:module/interactor/interactor/display", + "#fzsd:module/scoreboard/interactor/display", + "#fzsd:module/here/interactor/display", + "#fzsd:module/last_death/interactor/display", + "#fzsd:module/last_nether_portal/interactor/display", + "#fzsd:module/last_spawn_point/interactor/display" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/interactor/event/on_click.json b/data/fzsd/tags/functions/module/interactor/event/on_click.json new file mode 100644 index 0000000..7e4edb7 --- /dev/null +++ b/data/fzsd/tags/functions/module/interactor/event/on_click.json @@ -0,0 +1,11 @@ +{ + "replace": false, + "values": [ + "fzsd:module/interactor/interactor/on_click", + "#fzsd:module/scoreboard/interactor/on_click", + "#fzsd:module/here/interactor/on_click", + "#fzsd:module/last_death/interactor/on_click", + "#fzsd:module/last_nether_portal/interactor/on_click", + "#fzsd:module/last_spawn_point/interactor/on_click" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/interactor/event/on_start_interact.json b/data/fzsd/tags/functions/module/interactor/event/on_start_interact.json new file mode 100644 index 0000000..c94e1b6 --- /dev/null +++ b/data/fzsd/tags/functions/module/interactor/event/on_start_interact.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "#fzsd:module/interactor/display", + "#fzsd:module/interactor/reset_trigger" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/interactor/event/reset_advancements.json b/data/fzsd/tags/functions/module/interactor/event/reset_advancements.json new file mode 100644 index 0000000..bbab5d7 --- /dev/null +++ b/data/fzsd/tags/functions/module/interactor/event/reset_advancements.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/interactor/event/reset_advancements" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/interactor/install.json b/data/fzsd/tags/functions/module/interactor/install.json new file mode 100644 index 0000000..56145f1 --- /dev/null +++ b/data/fzsd/tags/functions/module/interactor/install.json @@ -0,0 +1,7 @@ +{ + "__comment": "调用者:#fzsd:module/install", + "replace": false, + "values": [ + "fzsd:module/interactor/install" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/interactor/load.json b/data/fzsd/tags/functions/module/interactor/load.json new file mode 100644 index 0000000..980a65f --- /dev/null +++ b/data/fzsd/tags/functions/module/interactor/load.json @@ -0,0 +1,7 @@ +{ + "__comment": "调用者:fzsd:module/try_load", + "replace": false, + "values": [ + "fzsd:module/interactor/load" + ] +} \ No newline at end of file diff --git a/data/fz/tags/functions/module/interactor/reset_trigger.json b/data/fzsd/tags/functions/module/interactor/reset_trigger.json similarity index 50% rename from data/fz/tags/functions/module/interactor/reset_trigger.json rename to data/fzsd/tags/functions/module/interactor/reset_trigger.json index 8ba5445..05d6f51 100644 --- a/data/fz/tags/functions/module/interactor/reset_trigger.json +++ b/data/fzsd/tags/functions/module/interactor/reset_trigger.json @@ -1,6 +1,6 @@ { "replace": false, "values": [ - "fz:module/interactor/reset_trigger" + "fzsd:module/interactor/reset_trigger" ] } \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/interactor/uninstall.json b/data/fzsd/tags/functions/module/interactor/uninstall.json new file mode 100644 index 0000000..1274fae --- /dev/null +++ b/data/fzsd/tags/functions/module/interactor/uninstall.json @@ -0,0 +1,7 @@ +{ + "__comment": "调用者:#fzsd:module/uninstall", + "replace": false, + "values": [ + "fzsd:module/interactor/uninstall" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/join_message/default_message.json b/data/fzsd/tags/functions/module/join_message/default_message.json new file mode 100644 index 0000000..d419905 --- /dev/null +++ b/data/fzsd/tags/functions/module/join_message/default_message.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/join_message/default_message" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/join_message/install.json b/data/fzsd/tags/functions/module/join_message/install.json new file mode 100644 index 0000000..29de367 --- /dev/null +++ b/data/fzsd/tags/functions/module/join_message/install.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/join_message/install" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/join_message/send_message.json b/data/fzsd/tags/functions/module/join_message/send_message.json new file mode 100644 index 0000000..64ce7fd --- /dev/null +++ b/data/fzsd/tags/functions/module/join_message/send_message.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "#fzsd:module/join_message/default_message" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/join_message/uninstall.json b/data/fzsd/tags/functions/module/join_message/uninstall.json new file mode 100644 index 0000000..7c21298 --- /dev/null +++ b/data/fzsd/tags/functions/module/join_message/uninstall.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/join_message/uninstall" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/last_death/get_death_point.json b/data/fzsd/tags/functions/module/last_death/get_death_point.json new file mode 100644 index 0000000..24036a5 --- /dev/null +++ b/data/fzsd/tags/functions/module/last_death/get_death_point.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "fzsd:module/last_death/get_death_point", + "#fzsd:api/get_dimension_name" + ] +} \ No newline at end of file diff --git a/data/fz/tags/functions/module/last_death/install.json b/data/fzsd/tags/functions/module/last_death/install.json similarity index 53% rename from data/fz/tags/functions/module/last_death/install.json rename to data/fzsd/tags/functions/module/last_death/install.json index a80ef61..03707ab 100644 --- a/data/fz/tags/functions/module/last_death/install.json +++ b/data/fzsd/tags/functions/module/last_death/install.json @@ -1,6 +1,6 @@ { "replace": false, "values": [ - "fz:module/last_death/install" + "fzsd:module/last_death/install" ] } \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/last_death/interactor/display.json b/data/fzsd/tags/functions/module/last_death/interactor/display.json new file mode 100644 index 0000000..6e2ff7c --- /dev/null +++ b/data/fzsd/tags/functions/module/last_death/interactor/display.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/last_death/interactor/display" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/last_death/interactor/on_click.json b/data/fzsd/tags/functions/module/last_death/interactor/on_click.json new file mode 100644 index 0000000..6482ba3 --- /dev/null +++ b/data/fzsd/tags/functions/module/last_death/interactor/on_click.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/last_death/interactor/on_click" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/last_death/private_message.json b/data/fzsd/tags/functions/module/last_death/private_message.json new file mode 100644 index 0000000..5151100 --- /dev/null +++ b/data/fzsd/tags/functions/module/last_death/private_message.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "#fzsd:module/last_death/get_death_point", + "fzsd:module/last_death/private_message" + ] +} \ No newline at end of file diff --git a/data/fz/tags/functions/module/last_death/uninstall.json b/data/fzsd/tags/functions/module/last_death/uninstall.json similarity index 52% rename from data/fz/tags/functions/module/last_death/uninstall.json rename to data/fzsd/tags/functions/module/last_death/uninstall.json index 7e4a7b1..4f4c04b 100644 --- a/data/fz/tags/functions/module/last_death/uninstall.json +++ b/data/fzsd/tags/functions/module/last_death/uninstall.json @@ -1,6 +1,6 @@ { "replace": false, "values": [ - "fz:module/last_death/uninstall" + "fzsd:module/last_death/uninstall" ] } \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/last_nether_portal/event/on_entered_nether_portal.json b/data/fzsd/tags/functions/module/last_nether_portal/event/on_entered_nether_portal.json new file mode 100644 index 0000000..ab735f5 --- /dev/null +++ b/data/fzsd/tags/functions/module/last_nether_portal/event/on_entered_nether_portal.json @@ -0,0 +1,8 @@ +{ + "replace": false, + "values": [ + "#fzsd:api/get_player_dimension", + "#fzsd:api/get_dimension_name", + "fzsd:module/last_nether_portal/event/on_entered_nether_portal" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/last_nether_portal/get_message.json b/data/fzsd/tags/functions/module/last_nether_portal/get_message.json new file mode 100644 index 0000000..a38db8d --- /dev/null +++ b/data/fzsd/tags/functions/module/last_nether_portal/get_message.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "fzsd:module/last_nether_portal/get_message", + "#fzsd:api/get_dimension_name" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/last_nether_portal/global_message.json b/data/fzsd/tags/functions/module/last_nether_portal/global_message.json new file mode 100644 index 0000000..df0dd1b --- /dev/null +++ b/data/fzsd/tags/functions/module/last_nether_portal/global_message.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "#fzsd:module/last_nether_portal/get_message", + "fzsd:module/last_nether_portal/global_message" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/last_nether_portal/install.json b/data/fzsd/tags/functions/module/last_nether_portal/install.json new file mode 100644 index 0000000..eeefc17 --- /dev/null +++ b/data/fzsd/tags/functions/module/last_nether_portal/install.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/last_nether_portal/install" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/last_nether_portal/interactor/display.json b/data/fzsd/tags/functions/module/last_nether_portal/interactor/display.json new file mode 100644 index 0000000..0294dec --- /dev/null +++ b/data/fzsd/tags/functions/module/last_nether_portal/interactor/display.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/last_nether_portal/interactor/display" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/last_nether_portal/interactor/on_click.json b/data/fzsd/tags/functions/module/last_nether_portal/interactor/on_click.json new file mode 100644 index 0000000..5d719b1 --- /dev/null +++ b/data/fzsd/tags/functions/module/last_nether_portal/interactor/on_click.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/last_nether_portal/interactor/on_click" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/last_nether_portal/private_message.json b/data/fzsd/tags/functions/module/last_nether_portal/private_message.json new file mode 100644 index 0000000..9a89067 --- /dev/null +++ b/data/fzsd/tags/functions/module/last_nether_portal/private_message.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "#fzsd:module/last_nether_portal/get_message", + "fzsd:module/last_nether_portal/private_message" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/last_nether_portal/uninstall.json b/data/fzsd/tags/functions/module/last_nether_portal/uninstall.json new file mode 100644 index 0000000..6c4afe0 --- /dev/null +++ b/data/fzsd/tags/functions/module/last_nether_portal/uninstall.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/last_nether_portal/uninstall" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/last_spawn_point/get_spawn_point.json b/data/fzsd/tags/functions/module/last_spawn_point/get_spawn_point.json new file mode 100644 index 0000000..b62d1fc --- /dev/null +++ b/data/fzsd/tags/functions/module/last_spawn_point/get_spawn_point.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "fzsd:module/last_spawn_point/get_spawn_point", + "#fzsd:api/get_dimension_name" + ] +} \ No newline at end of file diff --git a/data/fz/tags/functions/module/last_nether_portal/install.json b/data/fzsd/tags/functions/module/last_spawn_point/install.json similarity index 50% rename from data/fz/tags/functions/module/last_nether_portal/install.json rename to data/fzsd/tags/functions/module/last_spawn_point/install.json index 5958980..c010035 100644 --- a/data/fz/tags/functions/module/last_nether_portal/install.json +++ b/data/fzsd/tags/functions/module/last_spawn_point/install.json @@ -1,6 +1,6 @@ { "replace": false, "values": [ - "fz:module/last_nether_portal/install" + "fzsd:module/last_spawn_point/install" ] } \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/last_spawn_point/interactor/display.json b/data/fzsd/tags/functions/module/last_spawn_point/interactor/display.json new file mode 100644 index 0000000..acd02d8 --- /dev/null +++ b/data/fzsd/tags/functions/module/last_spawn_point/interactor/display.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/last_spawn_point/interactor/display" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/last_spawn_point/interactor/on_click.json b/data/fzsd/tags/functions/module/last_spawn_point/interactor/on_click.json new file mode 100644 index 0000000..11e3bd2 --- /dev/null +++ b/data/fzsd/tags/functions/module/last_spawn_point/interactor/on_click.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/last_spawn_point/interactor/on_click" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/last_spawn_point/private_message.json b/data/fzsd/tags/functions/module/last_spawn_point/private_message.json new file mode 100644 index 0000000..8e5171c --- /dev/null +++ b/data/fzsd/tags/functions/module/last_spawn_point/private_message.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "#fzsd:module/last_spawn_point/get_spawn_point", + "fzsd:module/last_spawn_point/private_message" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/last_spawn_point/uninstall.json b/data/fzsd/tags/functions/module/last_spawn_point/uninstall.json new file mode 100644 index 0000000..6bbd983 --- /dev/null +++ b/data/fzsd/tags/functions/module/last_spawn_point/uninstall.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/last_spawn_point/uninstall" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/activation.json b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/activation.json new file mode 100644 index 0000000..63e7adf --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/activation.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "fzsd:module/scoreboard/assign/scoreboard/activation", + "#fzsd:module/scoreboard/assign/scoreboard/general/activation" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/aviating_distance.json b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/aviating_distance.json new file mode 100644 index 0000000..191188c --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/aviating_distance.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "fzsd:module/scoreboard/assign/scoreboard/aviating_distance", + "#fzsd:module/scoreboard/assign/scoreboard/general/aviating_distance" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/damage_taken.json b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/damage_taken.json new file mode 100644 index 0000000..c239022 --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/damage_taken.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "fzsd:module/scoreboard/assign/scoreboard/damage_taken", + "#fzsd:module/scoreboard/assign/scoreboard/general/damage_taken" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/death_count.json b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/death_count.json new file mode 100644 index 0000000..9f08b8c --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/death_count.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "fzsd:module/scoreboard/assign/scoreboard/death_count", + "#fzsd:module/scoreboard/assign/scoreboard/general/death_count" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/dig_count.json b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/dig_count.json new file mode 100644 index 0000000..0f18813 --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/dig_count.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "fzsd:module/scoreboard/assign/scoreboard/dig_count", + "#fzsd:module/scoreboard/assign/scoreboard/general/dig_count" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/fishing_count.json b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/fishing_count.json new file mode 100644 index 0000000..4eaa039 --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/fishing_count.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "fzsd:module/scoreboard/assign/scoreboard/fishing_count", + "#fzsd:module/scoreboard/assign/scoreboard/general/fishing_count" + ] +} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/general/activation.json b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/general/activation.json similarity index 71% rename from data/fz/tags/functions/module/scoreboard/assign/scoreboard/general/activation.json rename to data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/general/activation.json index 7f4bd51..885053b 100644 --- a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/general/activation.json +++ b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/general/activation.json @@ -3,6 +3,6 @@ "replace": false, "__comment_values": "此处只能填写一个函数!", "values": [ - "fz:module/scoreboard/assign/scoreboard/general/activation" + "fzsd:module/scoreboard/assign/scoreboard/general/activation" ] } \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/general/aviating_distance.json b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/general/aviating_distance.json similarity index 69% rename from data/fz/tags/functions/module/scoreboard/assign/scoreboard/general/aviating_distance.json rename to data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/general/aviating_distance.json index 9fb2d9f..91d8fe9 100644 --- a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/general/aviating_distance.json +++ b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/general/aviating_distance.json @@ -3,6 +3,6 @@ "replace": false, "__comment_values": "此处只能填写一个函数!", "values": [ - "fz:module/scoreboard/assign/scoreboard/general/aviating_distance" + "fzsd:module/scoreboard/assign/scoreboard/general/aviating_distance" ] } \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/general/damage_taken.json b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/general/damage_taken.json similarity index 70% rename from data/fz/tags/functions/module/scoreboard/assign/scoreboard/general/damage_taken.json rename to data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/general/damage_taken.json index d66db60..1103866 100644 --- a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/general/damage_taken.json +++ b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/general/damage_taken.json @@ -3,6 +3,6 @@ "replace": false, "__comment_values": "此处只能填写一个函数!", "values": [ - "fz:module/scoreboard/assign/scoreboard/general/damage_taken" + "fzsd:module/scoreboard/assign/scoreboard/general/damage_taken" ] } \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/general/fishing_count.json b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/general/death_count.json similarity index 73% rename from data/fz/tags/functions/module/scoreboard/assign/scoreboard/general/fishing_count.json rename to data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/general/death_count.json index a686849..cc43ee2 100644 --- a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/general/fishing_count.json +++ b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/general/death_count.json @@ -3,6 +3,6 @@ "replace": false, "__comment_values": "此处只能填写一个函数!", "values": [ - "fz:module/scoreboard/assign/scoreboard/general/fishing_count" + "fzsd:module/scoreboard/assign/scoreboard/general/death_count" ] } \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/general/death_count.json b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/general/dig_count.json similarity index 73% rename from data/fz/tags/functions/module/scoreboard/assign/scoreboard/general/death_count.json rename to data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/general/dig_count.json index 87a25c5..b4cedf9 100644 --- a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/general/death_count.json +++ b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/general/dig_count.json @@ -3,6 +3,6 @@ "replace": false, "__comment_values": "此处只能填写一个函数!", "values": [ - "fz:module/scoreboard/assign/scoreboard/general/death_count" + "fzsd:module/scoreboard/assign/scoreboard/general/dig_count" ] } \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/general/dig_count.json b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/general/fishing_count.json similarity index 70% rename from data/fz/tags/functions/module/scoreboard/assign/scoreboard/general/dig_count.json rename to data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/general/fishing_count.json index f39bd7a..35d33a1 100644 --- a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/general/dig_count.json +++ b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/general/fishing_count.json @@ -3,6 +3,6 @@ "replace": false, "__comment_values": "此处只能填写一个函数!", "values": [ - "fz:module/scoreboard/assign/scoreboard/general/dig_count" + "fzsd:module/scoreboard/assign/scoreboard/general/fishing_count" ] } \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/general/kill_count.json b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/general/kill_count.json similarity index 71% rename from data/fz/tags/functions/module/scoreboard/assign/scoreboard/general/kill_count.json rename to data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/general/kill_count.json index b9931c3..7407593 100644 --- a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/general/kill_count.json +++ b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/general/kill_count.json @@ -3,6 +3,6 @@ "replace": false, "__comment_values": "此处只能填写一个函数!", "values": [ - "fz:module/scoreboard/assign/scoreboard/general/kill_count" + "fzsd:module/scoreboard/assign/scoreboard/general/kill_count" ] } \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/general/placement_count.json b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/general/placement_count.json similarity index 69% rename from data/fz/tags/functions/module/scoreboard/assign/scoreboard/general/placement_count.json rename to data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/general/placement_count.json index 559641d..8fe5a34 100644 --- a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/general/placement_count.json +++ b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/general/placement_count.json @@ -3,6 +3,6 @@ "replace": false, "__comment_values": "此处只能填写一个函数!", "values": [ - "fz:module/scoreboard/assign/scoreboard/general/placement_count" + "fzsd:module/scoreboard/assign/scoreboard/general/placement_count" ] } \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/general/trade_count.json b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/general/trade_count.json similarity index 71% rename from data/fz/tags/functions/module/scoreboard/assign/scoreboard/general/trade_count.json rename to data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/general/trade_count.json index d0fb556..b15cc20 100644 --- a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/general/trade_count.json +++ b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/general/trade_count.json @@ -3,6 +3,6 @@ "replace": false, "__comment_values": "此处只能填写一个函数!", "values": [ - "fz:module/scoreboard/assign/scoreboard/general/trade_count" + "fzsd:module/scoreboard/assign/scoreboard/general/trade_count" ] } \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/kill_count.json b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/kill_count.json new file mode 100644 index 0000000..d5a87b6 --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/kill_count.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "fzsd:module/scoreboard/assign/scoreboard/kill_count", + "#fzsd:module/scoreboard/assign/scoreboard/general/kill_count" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/placement_count.json b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/placement_count.json new file mode 100644 index 0000000..f3bdd3f --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/placement_count.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "fzsd:module/scoreboard/assign/scoreboard/placement_count", + "#fzsd:module/scoreboard/assign/scoreboard/general/placement_count" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/trade_count.json b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/trade_count.json new file mode 100644 index 0000000..485e8ed --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/assign/scoreboard/trade_count.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "fzsd:module/scoreboard/assign/scoreboard/trade_count", + "#fzsd:module/scoreboard/assign/scoreboard/general/trade_count" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/clear_data.json b/data/fzsd/tags/functions/module/scoreboard/clear_data.json new file mode 100644 index 0000000..7f23bf6 --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/clear_data.json @@ -0,0 +1,7 @@ +{ + "__comment": "调用者:fzsd:module:scoreboard/uninstall", + "replace": false, + "values": [ + "fzsd:module/scoreboard/clear_data" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/display/carousel/try_display.json b/data/fzsd/tags/functions/module/scoreboard/display/carousel/try_display.json new file mode 100644 index 0000000..ce99b38 --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/display/carousel/try_display.json @@ -0,0 +1,15 @@ +{ + "replace": false, + "values": [ + "fzsd:module/scoreboard/display/carousel/try_display/activation", + "fzsd:module/scoreboard/display/carousel/try_display/aviating_distance", + "fzsd:module/scoreboard/display/carousel/try_display/damage_taken", + "fzsd:module/scoreboard/display/carousel/try_display/death_count", + "fzsd:module/scoreboard/display/carousel/try_display/dig_count", + "fzsd:module/scoreboard/display/carousel/try_display/fishing_count", + "fzsd:module/scoreboard/display/carousel/try_display/general", + "fzsd:module/scoreboard/display/carousel/try_display/kill_count", + "fzsd:module/scoreboard/display/carousel/try_display/placement_count", + "fzsd:module/scoreboard/display/carousel/try_display/trade_count" + ] +} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/display/register_id.json b/data/fzsd/tags/functions/module/scoreboard/display/register_id.json similarity index 55% rename from data/fz/tags/functions/module/scoreboard/display/register_id.json rename to data/fzsd/tags/functions/module/scoreboard/display/register_id.json index d5f2dca..093b87b 100644 --- a/data/fz/tags/functions/module/scoreboard/display/register_id.json +++ b/data/fzsd/tags/functions/module/scoreboard/display/register_id.json @@ -1,10 +1,10 @@ { "__comments": [ - "调用者:fz:module/scoreboard/load", + "调用者:fzsd:module/scoreboard/load", "用于在加载注册计分板的运行时ID" ], "replace": false, "values": [ - "fz:module/scoreboard/display/register_id" + "fzsd:module/scoreboard/display/register_id" ] } \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/display/set_text.json b/data/fzsd/tags/functions/module/scoreboard/display/set_text.json new file mode 100644 index 0000000..d27bbc4 --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/display/set_text.json @@ -0,0 +1,20 @@ +{ + "__comments": [ + "调用者:fzsd:module/scoreboard/load", + "用于在加载时储存计分板颜色,不同计分板不得使用同一颜色!" + ], + "replace": false, + "values": [ + "#fzsd:module/scoreboard/display/set_text/activation", + "#fzsd:module/scoreboard/display/set_text/aviating_distance", + "#fzsd:module/scoreboard/display/set_text/carousel", + "#fzsd:module/scoreboard/display/set_text/damage_taken", + "#fzsd:module/scoreboard/display/set_text/death_count", + "#fzsd:module/scoreboard/display/set_text/dig_count", + "#fzsd:module/scoreboard/display/set_text/fishing_count", + "#fzsd:module/scoreboard/display/set_text/general", + "#fzsd:module/scoreboard/display/set_text/kill_count", + "#fzsd:module/scoreboard/display/set_text/placement_count", + "#fzsd:module/scoreboard/display/set_text/trade_count" + ] +} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/display/set_text/general.json b/data/fzsd/tags/functions/module/scoreboard/display/set_text/activation.json similarity index 73% rename from data/fz/tags/functions/module/scoreboard/display/set_text/general.json rename to data/fzsd/tags/functions/module/scoreboard/display/set_text/activation.json index 9d6fb41..4d1bbb2 100644 --- a/data/fz/tags/functions/module/scoreboard/display/set_text/general.json +++ b/data/fzsd/tags/functions/module/scoreboard/display/set_text/activation.json @@ -1,13 +1,13 @@ -{ - "__comments": [ - "调用者:#fz:module/scoreboard/display/set_text", - "用于在加载时储存计分板颜色,不同计分板不得使用同一颜色!", - "建议不要直接修改本文件,可编写扩展数据包并覆写本标签!" - ], - "__comment_replace": "编写扩展数据包时必须为true", - "replace": false, - "__comment_values": "此处只能填写一个函数!", - "values": [ - "fz:module/scoreboard/display/set_text/general/dark_aqua" - ] +{ + "__comments": [ + "调用者:#fzsd:module/scoreboard/display/set_text", + "用于在加载时储存计分板颜色,不同计分板不得使用同一颜色!", + "建议不要直接修改本文件,可编写扩展数据包并覆写本标签!" + ], + "__comment_replace": "编写扩展数据包时必须为true", + "replace": false, + "__comment_values": "此处只能填写一个函数!", + "values": [ + "fzsd:module/scoreboard/display/set_text/activation/aqua" + ] } \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/display/set_text/death_count.json b/data/fzsd/tags/functions/module/scoreboard/display/set_text/aviating_distance.json similarity index 72% rename from data/fz/tags/functions/module/scoreboard/display/set_text/death_count.json rename to data/fzsd/tags/functions/module/scoreboard/display/set_text/aviating_distance.json index 1c26c4b..de281dc 100644 --- a/data/fz/tags/functions/module/scoreboard/display/set_text/death_count.json +++ b/data/fzsd/tags/functions/module/scoreboard/display/set_text/aviating_distance.json @@ -1,13 +1,13 @@ -{ - "__comments": [ - "调用者:#fz:module/scoreboard/display/set_text", - "用于在加载时储存计分板颜色,不同计分板不得使用同一颜色!", - "建议不要直接修改本文件,可编写扩展数据包并覆写本标签!" - ], - "__comment_replace": "编写扩展数据包时必须为true", - "replace": false, - "__comment_values": "此处只能填写一个函数!", - "values": [ - "fz:module/scoreboard/display/set_text/death_count/dark_red" - ] +{ + "__comments": [ + "调用者:#fzsd:module/scoreboard/display/set_text", + "用于在加载时储存计分板颜色,不同计分板不得使用同一颜色!", + "建议不要直接修改本文件,可编写扩展数据包并覆写本标签!" + ], + "__comment_replace": "编写扩展数据包时必须为true", + "replace": false, + "__comment_values": "此处只能填写一个函数!", + "values": [ + "fzsd:module/scoreboard/display/set_text/aviating_distance/light_purple" + ] } \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/display/set_text/carousel.json b/data/fzsd/tags/functions/module/scoreboard/display/set_text/carousel.json similarity index 74% rename from data/fz/tags/functions/module/scoreboard/display/set_text/carousel.json rename to data/fzsd/tags/functions/module/scoreboard/display/set_text/carousel.json index 4648091..cf6569d 100644 --- a/data/fz/tags/functions/module/scoreboard/display/set_text/carousel.json +++ b/data/fzsd/tags/functions/module/scoreboard/display/set_text/carousel.json @@ -1,13 +1,13 @@ -{ - "__comments": [ - "调用者:#fz:module/scoreboard/display/set_text", - "用于在加载时储存计分板颜色,不同计分板不得使用同一颜色!", - "建议不要直接修改本文件,可编写扩展数据包并覆写本标签!" - ], - "__comment_replace": "编写扩展数据包时必须为true", - "replace": false, - "__comment_values": "此处只能填写一个函数!", - "values": [ - "fz:module/scoreboard/display/set_text/carousel/gold" - ] +{ + "__comments": [ + "调用者:#fzsd:module/scoreboard/display/set_text", + "用于在加载时储存计分板颜色,不同计分板不得使用同一颜色!", + "建议不要直接修改本文件,可编写扩展数据包并覆写本标签!" + ], + "__comment_replace": "编写扩展数据包时必须为true", + "replace": false, + "__comment_values": "此处只能填写一个函数!", + "values": [ + "fzsd:module/scoreboard/display/set_text/carousel/gold" + ] } \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/display/set_text/activation.json b/data/fzsd/tags/functions/module/scoreboard/display/set_text/damage_taken.json similarity index 73% rename from data/fz/tags/functions/module/scoreboard/display/set_text/activation.json rename to data/fzsd/tags/functions/module/scoreboard/display/set_text/damage_taken.json index ee6d902..de3b00d 100644 --- a/data/fz/tags/functions/module/scoreboard/display/set_text/activation.json +++ b/data/fzsd/tags/functions/module/scoreboard/display/set_text/damage_taken.json @@ -1,13 +1,13 @@ -{ - "__comments": [ - "调用者:#fz:module/scoreboard/display/set_text", - "用于在加载时储存计分板颜色,不同计分板不得使用同一颜色!", - "建议不要直接修改本文件,可编写扩展数据包并覆写本标签!" - ], - "__comment_replace": "编写扩展数据包时必须为true", - "replace": false, - "__comment_values": "此处只能填写一个函数!", - "values": [ - "fz:module/scoreboard/display/set_text/activation/aqua" - ] +{ + "__comments": [ + "调用者:#fzsd:module/scoreboard/display/set_text", + "用于在加载时储存计分板颜色,不同计分板不得使用同一颜色!", + "建议不要直接修改本文件,可编写扩展数据包并覆写本标签!" + ], + "__comment_replace": "编写扩展数据包时必须为true", + "replace": false, + "__comment_values": "此处只能填写一个函数!", + "values": [ + "fzsd:module/scoreboard/display/set_text/damage_taken/yellow" + ] } \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/display/set_text/death_count.json b/data/fzsd/tags/functions/module/scoreboard/display/set_text/death_count.json new file mode 100644 index 0000000..5fc0668 --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/display/set_text/death_count.json @@ -0,0 +1,13 @@ +{ + "__comments": [ + "调用者:#fzsd:module/scoreboard/display/set_text", + "用于在加载时储存计分板颜色,不同计分板不得使用同一颜色!", + "建议不要直接修改本文件,可编写扩展数据包并覆写本标签!" + ], + "__comment_replace": "编写扩展数据包时必须为true", + "replace": false, + "__comment_values": "此处只能填写一个函数!", + "values": [ + "fzsd:module/scoreboard/display/set_text/death_count/dark_red" + ] +} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/display/set_text/dig_count.json b/data/fzsd/tags/functions/module/scoreboard/display/set_text/dig_count.json similarity index 73% rename from data/fz/tags/functions/module/scoreboard/display/set_text/dig_count.json rename to data/fzsd/tags/functions/module/scoreboard/display/set_text/dig_count.json index b9178df..05ccff9 100644 --- a/data/fz/tags/functions/module/scoreboard/display/set_text/dig_count.json +++ b/data/fzsd/tags/functions/module/scoreboard/display/set_text/dig_count.json @@ -1,13 +1,13 @@ -{ - "__comments": [ - "调用者:#fz:module/scoreboard/display/set_text", - "用于在加载时储存计分板颜色,不同计分板不得使用同一颜色!", - "建议不要直接修改本文件,可编写扩展数据包并覆写本标签!" - ], - "__comment_replace": "编写扩展数据包时必须为true", - "replace": false, - "__comment_values": "此处只能填写一个函数!", - "values": [ - "fz:module/scoreboard/display/set_text/dig_count/gray" - ] +{ + "__comments": [ + "调用者:#fzsd:module/scoreboard/display/set_text", + "用于在加载时储存计分板颜色,不同计分板不得使用同一颜色!", + "建议不要直接修改本文件,可编写扩展数据包并覆写本标签!" + ], + "__comment_replace": "编写扩展数据包时必须为true", + "replace": false, + "__comment_values": "此处只能填写一个函数!", + "values": [ + "fzsd:module/scoreboard/display/set_text/dig_count/gray" + ] } \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/display/set_text/fishing_count.json b/data/fzsd/tags/functions/module/scoreboard/display/set_text/fishing_count.json new file mode 100644 index 0000000..a6b3071 --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/display/set_text/fishing_count.json @@ -0,0 +1,13 @@ +{ + "__comments": [ + "调用者:#fzsd:module/scoreboard/display/set_text", + "用于在加载时储存计分板颜色,不同计分板不得使用同一颜色!", + "建议不要直接修改本文件,可编写扩展数据包并覆写本标签!" + ], + "__comment_replace": "编写扩展数据包时必须为true", + "replace": false, + "__comment_values": "此处只能填写一个函数!", + "values": [ + "fzsd:module/scoreboard/display/set_text/fishing_count/blue" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/display/set_text/general.json b/data/fzsd/tags/functions/module/scoreboard/display/set_text/general.json new file mode 100644 index 0000000..cbd599a --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/display/set_text/general.json @@ -0,0 +1,13 @@ +{ + "__comments": [ + "调用者:#fzsd:module/scoreboard/display/set_text", + "用于在加载时储存计分板颜色,不同计分板不得使用同一颜色!", + "建议不要直接修改本文件,可编写扩展数据包并覆写本标签!" + ], + "__comment_replace": "编写扩展数据包时必须为true", + "replace": false, + "__comment_values": "此处只能填写一个函数!", + "values": [ + "fzsd:module/scoreboard/display/set_text/general/dark_aqua" + ] +} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/display/set_text/kill_count.json b/data/fzsd/tags/functions/module/scoreboard/display/set_text/kill_count.json similarity index 73% rename from data/fz/tags/functions/module/scoreboard/display/set_text/kill_count.json rename to data/fzsd/tags/functions/module/scoreboard/display/set_text/kill_count.json index a238da7..b87ffda 100644 --- a/data/fz/tags/functions/module/scoreboard/display/set_text/kill_count.json +++ b/data/fzsd/tags/functions/module/scoreboard/display/set_text/kill_count.json @@ -1,13 +1,13 @@ -{ - "__comments": [ - "调用者:#fz:module/scoreboard/display/set_text", - "用于在加载时储存计分板颜色,不同计分板不得使用同一颜色!", - "建议不要直接修改本文件,可编写扩展数据包并覆写本标签!" - ], - "__comment_replace": "编写扩展数据包时必须为true", - "replace": false, - "__comment_values": "此处只能填写一个函数!", - "values": [ - "fz:module/scoreboard/display/set_text/kill_count/red" - ] +{ + "__comments": [ + "调用者:#fzsd:module/scoreboard/display/set_text", + "用于在加载时储存计分板颜色,不同计分板不得使用同一颜色!", + "建议不要直接修改本文件,可编写扩展数据包并覆写本标签!" + ], + "__comment_replace": "编写扩展数据包时必须为true", + "replace": false, + "__comment_values": "此处只能填写一个函数!", + "values": [ + "fzsd:module/scoreboard/display/set_text/kill_count/red" + ] } \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/display/set_text/placement_count.json b/data/fzsd/tags/functions/module/scoreboard/display/set_text/placement_count.json new file mode 100644 index 0000000..3f55146 --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/display/set_text/placement_count.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/scoreboard/display/set_text/placement_count/dark_blue" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/display/set_text/trade_count.json b/data/fzsd/tags/functions/module/scoreboard/display/set_text/trade_count.json new file mode 100644 index 0000000..b6f7cb7 --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/display/set_text/trade_count.json @@ -0,0 +1,13 @@ +{ + "__comments": [ + "调用者:#fzsd:module/scoreboard/display/set_text", + "用于在加载时储存计分板颜色,不同计分板不得使用同一颜色!", + "建议不要直接修改本文件,可编写扩展数据包并覆写本标签!" + ], + "__comment_replace": "编写扩展数据包时必须为true", + "replace": false, + "__comment_values": "此处只能填写一个函数!", + "values": [ + "fzsd:module/scoreboard/display/set_text/trade_count/green" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/install.json b/data/fzsd/tags/functions/module/scoreboard/install.json new file mode 100644 index 0000000..9296b8f --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/install.json @@ -0,0 +1,7 @@ +{ + "__comment": "调用者:#fzsd:module/install", + "replace": false, + "values": [ + "fzsd:module/scoreboard/install" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/interactor/display.json b/data/fzsd/tags/functions/module/scoreboard/interactor/display.json new file mode 100644 index 0000000..333b080 --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/interactor/display.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/scoreboard/interactor/display" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/interactor/on_click.json b/data/fzsd/tags/functions/module/scoreboard/interactor/on_click.json new file mode 100644 index 0000000..73ed3fd --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/interactor/on_click.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/scoreboard/interactor/on_click" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/activation.json b/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/activation.json new file mode 100644 index 0000000..8150208 --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/activation.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/scoreboard/interactor/subscribe/activation" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/aviating_distance.json b/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/aviating_distance.json new file mode 100644 index 0000000..6e50095 --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/aviating_distance.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/scoreboard/interactor/subscribe/aviating_distance" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/carousel.json b/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/carousel.json new file mode 100644 index 0000000..7695336 --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/carousel.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/scoreboard/interactor/subscribe/carousel" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/damage_taken.json b/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/damage_taken.json new file mode 100644 index 0000000..55bc2c0 --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/damage_taken.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/scoreboard/interactor/subscribe/damage_taken" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/death_count.json b/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/death_count.json new file mode 100644 index 0000000..8b11cf4 --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/death_count.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/scoreboard/interactor/subscribe/death_count" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/dig_count.json b/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/dig_count.json new file mode 100644 index 0000000..82531b6 --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/dig_count.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/scoreboard/interactor/subscribe/dig_count" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/fishing_count.json b/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/fishing_count.json new file mode 100644 index 0000000..77c7c90 --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/fishing_count.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/scoreboard/interactor/subscribe/fishing_count" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/general.json b/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/general.json new file mode 100644 index 0000000..b44146a --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/general.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/scoreboard/interactor/subscribe/general" + ] +} \ No newline at end of file diff --git a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/placement_count.json b/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/kill_count.json similarity index 59% rename from data/fz/tags/functions/module/scoreboard/assign/scoreboard/placement_count.json rename to data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/kill_count.json index 4bb229f..e642611 100644 --- a/data/fz/tags/functions/module/scoreboard/assign/scoreboard/placement_count.json +++ b/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/kill_count.json @@ -1,7 +1,6 @@ { "replace": false, "values": [ - "fz:module/scoreboard/assign/scoreboard/placement_count", - "#fz:module/scoreboard/assign/scoreboard/general/placement_count" + "fzsd:module/scoreboard/interactor/subscribe/kill_count" ] } \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/off.json b/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/off.json new file mode 100644 index 0000000..62bfaf3 --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/off.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/scoreboard/interactor/subscribe/off" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/placement_count.json b/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/placement_count.json new file mode 100644 index 0000000..6c4f641 --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/placement_count.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/scoreboard/interactor/subscribe/placement_count" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/trade_count.json b/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/trade_count.json new file mode 100644 index 0000000..33269fb --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/interactor/subscribe/trade_count.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/scoreboard/interactor/subscribe/trade_count" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/load.json b/data/fzsd/tags/functions/module/scoreboard/load.json new file mode 100644 index 0000000..cfd72cf --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/load.json @@ -0,0 +1,11 @@ +{ + "__comment": "调用者:fzsd:module/try_load", + "replace": false, + "values": [ + "fzsd:module/scoreboard/display/reset_id", + "fzsd:module/scoreboard/display/register_id", + "#fzsd:module/scoreboard/display/set_text", + "fzsd:module/scoreboard/display/carousel/loop", + "fzsd:module/scoreboard/load" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/uninstall.json b/data/fzsd/tags/functions/module/scoreboard/uninstall.json new file mode 100644 index 0000000..98002b9 --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/uninstall.json @@ -0,0 +1,7 @@ +{ + "__comment": "调用者:#fzsd:module/uninstall", + "replace": false, + "values": [ + "fzsd:module/scoreboard/uninstall" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/try_install.json b/data/fzsd/tags/functions/module/try_install.json new file mode 100644 index 0000000..191680a --- /dev/null +++ b/data/fzsd/tags/functions/module/try_install.json @@ -0,0 +1,7 @@ +{ + "__comment": "调用者:fzsd:load", + "replace": false, + "values": [ + "fzsd:module/try_install" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/try_load.json b/data/fzsd/tags/functions/module/try_load.json new file mode 100644 index 0000000..19142d7 --- /dev/null +++ b/data/fzsd/tags/functions/module/try_load.json @@ -0,0 +1,7 @@ +{ + "__comment": "调用者:fzsd:load", + "replace": false, + "values": [ + "fzsd:module/try_load" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/reinstall.json b/data/fzsd/tags/functions/reinstall.json new file mode 100644 index 0000000..1ee9520 --- /dev/null +++ b/data/fzsd/tags/functions/reinstall.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "#fzsd:uninstall", + "#fzsd:install" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/system/install/after.json b/data/fzsd/tags/functions/system/install/after.json new file mode 100644 index 0000000..fa5b18b --- /dev/null +++ b/data/fzsd/tags/functions/system/install/after.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:system/install/after" + ] +} \ No newline at end of file diff --git a/data/fz/tags/functions/system/install/installed.json b/data/fzsd/tags/functions/system/install/before.json similarity index 61% rename from data/fz/tags/functions/system/install/installed.json rename to data/fzsd/tags/functions/system/install/before.json index a705943..907e30b 100644 --- a/data/fz/tags/functions/system/install/installed.json +++ b/data/fzsd/tags/functions/system/install/before.json @@ -1,6 +1,6 @@ { "replace": false, "values": [ - "fz:system/installed" + ] } \ No newline at end of file diff --git a/data/fzsd/tags/functions/system/install/module/force.json b/data/fzsd/tags/functions/system/install/module/force.json new file mode 100644 index 0000000..e82877b --- /dev/null +++ b/data/fzsd/tags/functions/system/install/module/force.json @@ -0,0 +1,12 @@ +{ + "replace": false, + "values": [ + "#fzsd:module/health/install", + "#fzsd:module/here/install", + "#fzsd:module/interactor/install", + "#fzsd:module/last_death/install", + "#fzsd:module/last_nether_portal/install", + "#fzsd:module/last_spawn_point/install", + "#fzsd:module/scoreboard/install" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/system/install/module/try.json b/data/fzsd/tags/functions/system/install/module/try.json new file mode 100644 index 0000000..6970b3e --- /dev/null +++ b/data/fzsd/tags/functions/system/install/module/try.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "#fzsd:module/try_install" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/system/install/system.json b/data/fzsd/tags/functions/system/install/system.json new file mode 100644 index 0000000..743b29e --- /dev/null +++ b/data/fzsd/tags/functions/system/install/system.json @@ -0,0 +1,8 @@ +{ + "replace": false, + "values": [ + "fzsd:system/install/install", + "fzsd:logger/install", + "fzsd:game_event/install" + ] +} \ No newline at end of file diff --git a/data/fz.admin/tags/functions/log_level/info.json b/data/fzsd/tags/functions/system/load/after.json similarity index 58% rename from data/fz.admin/tags/functions/log_level/info.json rename to data/fzsd/tags/functions/system/load/after.json index b7f5112..7342c34 100644 --- a/data/fz.admin/tags/functions/log_level/info.json +++ b/data/fzsd/tags/functions/system/load/after.json @@ -1,6 +1,6 @@ { "replace": false, "values": [ - "fz:logger/level/info" + "fzsd:system/load/after" ] } \ No newline at end of file diff --git a/data/fz/tags/functions/system/load/module.json b/data/fzsd/tags/functions/system/load/before.json similarity index 61% rename from data/fz/tags/functions/system/load/module.json rename to data/fzsd/tags/functions/system/load/before.json index cb8a6c3..907e30b 100644 --- a/data/fz/tags/functions/system/load/module.json +++ b/data/fzsd/tags/functions/system/load/before.json @@ -1,6 +1,6 @@ { "replace": false, "values": [ - "#fz:module/try_load" + ] } \ No newline at end of file diff --git a/data/fz.admin/tags/functions/log_level/debug.json b/data/fzsd/tags/functions/system/load/module/try.json similarity index 59% rename from data/fz.admin/tags/functions/log_level/debug.json rename to data/fzsd/tags/functions/system/load/module/try.json index 93f432e..9b259b1 100644 --- a/data/fz.admin/tags/functions/log_level/debug.json +++ b/data/fzsd/tags/functions/system/load/module/try.json @@ -1,6 +1,6 @@ { "replace": false, "values": [ - "fz:logger/level/debug" + "#fzsd:module/try_load" ] } \ No newline at end of file diff --git a/data/fzsd/tags/functions/system/load/system.json b/data/fzsd/tags/functions/system/load/system.json new file mode 100644 index 0000000..b92ac2d --- /dev/null +++ b/data/fzsd/tags/functions/system/load/system.json @@ -0,0 +1,8 @@ +{ + "replace": false, + "values": [ + "fzsd:system/load/load", + "fzsd:logger/load", + "fzsd:game_event/load" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/system/uninstall/after.json b/data/fzsd/tags/functions/system/uninstall/after.json new file mode 100644 index 0000000..bf81b5c --- /dev/null +++ b/data/fzsd/tags/functions/system/uninstall/after.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "__comment": "将在卸载后恢复安装记录", + "values": [ + "fzsd:system/uninstall/uninstalled" + ] +} \ No newline at end of file diff --git a/data/fz/tags/functions/logger/clear_data.json b/data/fzsd/tags/functions/system/uninstall/before.json similarity index 60% rename from data/fz/tags/functions/logger/clear_data.json rename to data/fzsd/tags/functions/system/uninstall/before.json index 5c8ef16..907e30b 100644 --- a/data/fz/tags/functions/logger/clear_data.json +++ b/data/fzsd/tags/functions/system/uninstall/before.json @@ -1,6 +1,6 @@ { "replace": false, "values": [ - "fz:logger/clear_data" + ] } \ No newline at end of file diff --git a/data/fzsd/tags/functions/system/uninstall/module.json b/data/fzsd/tags/functions/system/uninstall/module.json new file mode 100644 index 0000000..9003747 --- /dev/null +++ b/data/fzsd/tags/functions/system/uninstall/module.json @@ -0,0 +1,13 @@ +{ + "replace": false, + "__comment": "在卸载前将安装记录缓存,卸载后恢复(位于#fzsd:system/unstalled)", + "values": [ + "#fzsd:module/health/uninstall", + "#fzsd:module/here/uninstall", + "#fzsd:module/interactor/uninstall", + "#fzsd:module/last_death/uninstall", + "#fzsd:module/last_nether_portal/uninstall", + "#fzsd:module/last_spawn_point/uninstall", + "#fzsd:module/scoreboard/uninstall" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/system/uninstall/system.json b/data/fzsd/tags/functions/system/uninstall/system.json new file mode 100644 index 0000000..ab32ba0 --- /dev/null +++ b/data/fzsd/tags/functions/system/uninstall/system.json @@ -0,0 +1,8 @@ +{ + "replace": false, + "values": [ + "fzsd:game_event/uninstall", + "fzsd:logger/uninstall", + "fzsd:system/uninstall/uninstall" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/uninstall.json b/data/fzsd/tags/functions/uninstall.json new file mode 100644 index 0000000..b78e8d9 --- /dev/null +++ b/data/fzsd/tags/functions/uninstall.json @@ -0,0 +1,12 @@ +{ + "__comment": "不同于模块的卸载操作,本标签不会将模块的安装记录设为0b", + "replace": false, + "values": [ + "#fzsd:system/uninstall/before", + "fzsd:system/uninstall/cache_module_install_data", + "#fzsd:system/uninstall/module", + "fzsd:system/uninstall/restore_module_install_data", + "#fzsd:system/uninstall/system", + "#fzsd:system/uninstall/after" + ] +} \ No newline at end of file diff --git a/data/fz/tags/items/raw_fishes.json b/data/fzsd/tags/items/raw_fishes.json similarity index 100% rename from data/fz/tags/items/raw_fishes.json rename to data/fzsd/tags/items/raw_fishes.json diff --git a/data/fz/tags/items/tool/axes.json b/data/fzsd/tags/items/tool/axes.json similarity index 100% rename from data/fz/tags/items/tool/axes.json rename to data/fzsd/tags/items/tool/axes.json diff --git a/data/fz/tags/items/tool/hoes.json b/data/fzsd/tags/items/tool/hoes.json similarity index 100% rename from data/fz/tags/items/tool/hoes.json rename to data/fzsd/tags/items/tool/hoes.json diff --git a/data/fz/tags/items/tool/pickaxes.json b/data/fzsd/tags/items/tool/pickaxes.json similarity index 100% rename from data/fz/tags/items/tool/pickaxes.json rename to data/fzsd/tags/items/tool/pickaxes.json diff --git a/data/fz/tags/items/tool/shears.json b/data/fzsd/tags/items/tool/shears.json similarity index 100% rename from data/fz/tags/items/tool/shears.json rename to data/fzsd/tags/items/tool/shears.json diff --git a/data/fz/tags/items/tool/shovels.json b/data/fzsd/tags/items/tool/shovels.json similarity index 100% rename from data/fz/tags/items/tool/shovels.json rename to data/fzsd/tags/items/tool/shovels.json diff --git a/data/fz/tags/items/tool/swords.json b/data/fzsd/tags/items/tool/swords.json similarity index 100% rename from data/fz/tags/items/tool/swords.json rename to data/fzsd/tags/items/tool/swords.json diff --git a/data/fzsd/tags/items/tools.json b/data/fzsd/tags/items/tools.json new file mode 100644 index 0000000..2334d49 --- /dev/null +++ b/data/fzsd/tags/items/tools.json @@ -0,0 +1,11 @@ +{ + "replace": false, + "values": [ + "#fzsd:tool/axes", + "#fzsd:tool/hoes", + "#fzsd:tool/pickaxes", + "#fzsd:tool/shears", + "#fzsd:tool/shovels", + "#fzsd:tool/swords" + ] +} \ No newline at end of file diff --git a/data/minecraft/tags/functions/load.json b/data/minecraft/tags/functions/load.json index a9ca816..f8bae53 100644 --- a/data/minecraft/tags/functions/load.json +++ b/data/minecraft/tags/functions/load.json @@ -1,6 +1,6 @@ { "replace": false, "values": [ - "fz:system/entry" + "fzsd:entry" ] } \ No newline at end of file diff --git a/data/minecraft/tags/functions/tick.json b/data/minecraft/tags/functions/tick.json deleted file mode 100644 index e1550df..0000000 --- a/data/minecraft/tags/functions/tick.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "#fz:game_event/on_tick" - ] -} \ No newline at end of file diff --git a/scripts/fz_score.sc b/scripts/fzsd_score.sc similarity index 95% rename from scripts/fz_score.sc rename to scripts/fzsd_score.sc index 1bd2658..e13c5e5 100644 --- a/scripts/fz_score.sc +++ b/scripts/fzsd_score.sc @@ -1,7 +1,7 @@ // 计分板模块扩展插件 // 忽略假人分数 // **请勿修改文件名!!** -global_app_version = '1.0-beta.2'; +global_app_version = '1.0-beta.4'; __config() -> { 'scope' -> 'global', @@ -23,7 +23,7 @@ __config() -> { __on_start() -> ( global_team_cache = read_file('team_cache', 'json'); debug(global_team_cache); - print(player('all'), 'fz_score.sc已加载!'); + print(player('all'), 'fzsd_score.sc已加载!'); ); __on_close() -> ( @@ -124,17 +124,6 @@ restore_merge_old() -> ( ); merge_score(from, to) -> ( - - // 旧计分板总分名字 - l_1 = sort(scoreboard(from)); - total_name_old = l_1:(length(l_1 - 1)); - - // 如有非法字符则确定是总分 - if(!(total_name_old ~ '\\W'), - total_name_old = null; - debug('1' + total_name_old); - ); - // 如果目标计分板不存在则创建 if(scoreboard() ~ to == null, scoreboard_add(to)); @@ -151,10 +140,10 @@ merge_score(from, to) -> ( debug('3.3' + str(_ != total_name_old)); debug('3.4' + str((!contains(fake_players, _) || contains(new_players, _) - ) && _ != total_name_old)); + ) && !(_ ~ '\\W'))); if((!contains(fake_players, _) || contains(new_players, _) - ) && _ != total_name_old, + ) && !(_ ~ '\\W'), debug('4' + _); debug('from' + scoreboard(from, _)); debug('to' + scoreboard(to, _)); @@ -264,6 +253,7 @@ display_total_score(scoreboard) -> ( ); restore_from_stats() -> ( + print('暂未开发'); return(0); );