完善日志组件、完善配置组件、完善计分板组件

This commit is contained in:
延皓 2022-06-25 02:22:23 +08:00
parent 6f6ccb05be
commit d74bb19964
241 changed files with 846 additions and 553 deletions

15
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,15 @@
{
"datapack.snippets": {
"executeIfScoreSet": "execute if score ${1:score_holder} ${2:objective} = ${1:score_holder} ${2:objective} $0",
"scoreboardPlayersOperation": "scoreboard players operation ${1:target_score_holder} ${2:target_objective} ${3|+=,-=,*=,/=,%=,=,>,<,<>|} ${4:source_score_holder} ${5:source_objective}",
"scoreboardPlayersSet": "scoreboard players set ${1:score_holder} ${2:objective} ${3:0}",
"tagAdd": "tag ${1:target} add ${2:tag}",
"tagRemove": "tag ${1:target} remove ${2:tag}",
"dataModifyStorageFromSelf": "data modify storage ${1:id} ${2:path} set from entity @s ${3:path}",
"summonAec": "summon minecraft:area_effect_cloud ~ ~ ~ {Age: -2147483648, Duration: -1, WaitTime: -2147483648, Tags: [\"${1:tag}\"]}",
"logInfo": "tellraw @a [{\"nbt\": \"fz.level.info\", \"interpret\": true, \"storage\": \"fz:logger\"}, {\"text\": \"${1:log_info}\"}]",
"logWarn": "tellraw @a [{\"nbt\": \"fz.level.warn\", \"interpret\": true, \"storage\": \"fz:logger\"}, {\"text\": \"${1:log_warn}\"}]",
"logError": "tellraw @a [{\"nbt\": \"fz.level.error\", \"interpret\": true, \"storage\": \"fz:logger\"}, {\"text\": \"${1:log_error}\"}]",
"logDebug": "execute if data storage fz:logger fz{debug:1b} run tellraw @a [{\"nbt\": \"fz.level.debug\", \"interpret\": true, \"storage\": \"fz:logger\"}, {\"text\": \"${1:log_debug}\"}]",
}
}

View File

@ -2,11 +2,17 @@
"parent": "fz:sneak",
"criteria": {
"unsneak": {
"trigger": "tick",
"trigger": "minecraft:tick",
"conditions": {
"player": {
"flags": {
"is_sneaking": false
},
"type_specific": {
"type": "player",
"advancements": {
"fz:sneak": true
}
}
}
}

View File

@ -0,0 +1,3 @@
function #fz:init
function #fz:install
function #fz:load

View File

@ -0,0 +1,4 @@
scoreboard objectives add fz.event.leave_game minecraft.custom:leave_game
## 调试
execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已初始化系统组件:事件"}]

View File

@ -1 +0,0 @@
scoreboard objectives add fz.event.leave_game minecraft.custom:leave_game

View File

@ -1,3 +1,6 @@
## 调试
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:event/on_login
## 复位其他触发器

View File

@ -1,8 +1,12 @@
## 调试
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:event/on_unsneak
execute if entity @s[y_rotation = 90] run function #fz:event/config/on_trigger
execute if entity @s[x_rotation = -90] run function #fz:event/config/on_trigger
## 复位进度触发器
advancement revoke @s until fz:unsneak

View File

@ -1 +0,0 @@
scoreboard objectives remove fz.event.leave_game

View File

@ -0,0 +1,8 @@
## 先初始化日志组件
function #fz:logger/init
## 再初始化事件组件因为事件组件的初始化函数中使用了日志组件
function #fz:event/init
## 日志
execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "系统组件初始化完成!"}]

View File

@ -1,8 +1,5 @@
# 调用者#fz:install
function #fz:event/install
function #fz:logger/install
## 整数类型
scoreboard objectives add fz.variable.integer dummy
@ -12,4 +9,5 @@ function #fz:module/install
## 标记为已安装
data modify storage fz:install_manager fz.global set value 1b
## 日志
tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "安装完成!"}]

View File

@ -2,4 +2,5 @@
function #fz:module/try_load
tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "加载完成!"}]
## 日志
execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "加载完成!"}]

View File

@ -0,0 +1,6 @@
# 调用者fz:logger/uninstall
## 日志
tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已删除日志配置!"}]
data remove storage fz:logger fz

View File

@ -1 +0,0 @@
data modify storage fz:logger fz.debug set value 0b

View File

@ -1 +0,0 @@
data modify storage fz:logger fz.debug set value 1b

View File

@ -1,17 +1,29 @@
# 调用者#fz:logger/install
# 调用者#fz:logger/init
##### 使用方式形如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"}]'
### 不同日志等级
data modify storage fz:logger fz.level.debug set value '[{"text": "", "color": "dark_aqua"}, {"nbt": "fz.root", "interpret": true, "storage": "fz:logger"}, {"text": "[调试]"}]'
data modify storage fz:logger fz.level.info set value '[{"text": "", "color": "green"}, {"nbt": "fz.root", "interpret": true, "storage": "fz:logger"}, {"text": "[信息]"}]'
data modify storage fz:logger fz.level.warn set value '[{"text": "", "color": "yellow"}, {"nbt": "fz.root", "interpret": true, "storage": "fz:logger"}, {"text": "[警告]"}]'
#### 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.debug run data modify storage fz:logger fz.debug set value 0b
## 第一次安装时日志等级默认为一般消息
execute unless data storage fz:logger fz.levels.current run data modify storage fz:logger fz.levels.current set value 500
## 读取debug等级存入缓存
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 ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已初始化系统组件:日志"}]

View File

@ -0,0 +1,6 @@
## debug 400
data modify storage fz:logger fz.levels.current set value 400
## 日志
tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "日志等级设为调试"}]

View File

@ -0,0 +1,6 @@
## fine 300
data modify storage fz:logger fz.levels.current set value 300
## 日志
tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "日志等级设为详细"}]

View File

@ -0,0 +1,6 @@
## info 500
data modify storage fz:logger fz.levels.current set value 500
## 日志
tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "日志等级设为一般信息"}]

View File

@ -1,3 +1,4 @@
## 调用者#fz:logger/uninstall
data remove storage fz:logger fz
## 询问是否清除数据
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": "将命令填入聊天框"}}}]

View File

@ -1 +1,7 @@
scoreboard objectives add fz.module.config.trigger dummy
scoreboard objectives add fz.module.config.trigger trigger
## 标记为已安装
data modify storage fz:install_manager fz.module.config 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": "已安装组件:配置"}]

View File

@ -0,0 +1,4 @@
function #fz:module/config/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": "已加载组件:配置"}]

View File

@ -1,5 +1,8 @@
# 调用者#fz:module/config/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.config.trigger"}}]
execute if score @s fz.module.config.trigger matches 1000..1999 run function #fz:module/scoreboard/config/on_click

View File

@ -1,3 +1,7 @@
# 调用者#fz:module/config/reset_trigger
scoreboard players reset @s fz.module.config.trigger
scoreboard players reset @s fz.module.config.trigger
scoreboard players enable @s fz.module.config.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": "的触发器分数"}]

View File

@ -1 +1,4 @@
schedule clear fz:module/config/loop
schedule clear fz:module/config/loop
## 日志
execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "五分钟无人回应,已关闭配置按钮监听,再次使用时需重新唤起"}]

View File

@ -1,6 +1,9 @@
# 调用者#fz:module/config/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": "触发了配置功能"}]
## 监听计分板分数的循环schedule是为了避免1tick内执行两次但可有可无
schedule function fz:module/config/loop 0t replace

View File

@ -1,3 +1,9 @@
schedule clear fz:module/config/loop
scoreboard objectives remove fz.module.config.trigger
scoreboard objectives remove fz.module.config.trigger
## 标记为已卸载
data modify storage fz:install_manager fz.module.config 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": "已卸载组件:配置"}]

View File

@ -21,4 +21,4 @@ scoreboard objectives remove fz.module.scoreboard.display.kill_count
scoreboard objectives remove fz.module.scoreboard.display.trade_count
## 日志
tellraw @a [{"nbt": "level.info", "interpret": true, "storage": "fz:logger"}, {"text": "计分板数据已删除"}]
execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已删除计分板数据!"}]

View File

@ -1,3 +1,3 @@
# 调用者#fz:module/scoreboard/config/display/buttons
tellraw @s [{"text": "- "}, {"text": "[]", "color": "dark_red", "hoverEvent": {"action": "show_text", "contents": {"text": "关", "color": "dark_red"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.config.trigger set 1000"}}, {"text": "[总榜]", "color": "dark_aqua", "hoverEvent": {"action": "show_text", "contents": {"text": "总榜", "color": "dark_aqua"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.config.trigger set 1010"}}, {"text": "[活跃度]", "color": "aqua", "hoverEvent": {"action": "show_text", "contents": {"text": "活跃度", "color": "aqua"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.config.trigger set 1020"}}, {"text": "[飞行距离]", "color": "light_purple", "hoverEvent": {"action": "show_text", "contents": {"text": "飞行距离", "color": "light_purple"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.config.trigger set 1030"}}]
tellraw @s [[{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"text": "关", "color": "dark_red"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.config.trigger set 1000"}}, {"text": "关", "color": "dark_red"}, {"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.config.trigger set 1010"}}, {"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.config.trigger set 1020"}}, {"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.config.trigger set 1030"}}, {"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.config.trigger set 1040"}}, {"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.config.trigger set 1050"}}, {"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.config.trigger set 1060"}}, {"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.config.trigger set 1070"}}, {"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.config.trigger set 1080"}}, {"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.config.trigger set 1090"}}, {"nbt": "fz.scoreboard.text.trade_count", "interpret": true, "storage": "fz:module"}, {"text": "]"}]]

View File

@ -0,0 +1,3 @@
## 调试
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.config.trigger"}}]

View File

@ -1,3 +1,6 @@
# 调用者fz:module/scoreboard/config/on_click
team join fz.module.scoreboard.display.activation @s
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": "计分板"}]

View File

@ -1,3 +1,6 @@
# 调用者fz:module/scoreboard/config/on_click
team join fz.module.scoreboard.display.aviating_distance @s
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": "计分板"}]

View File

@ -1,3 +1,6 @@
# 调用者fz:module/scoreboard/config/on_click
team join fz.module.scoreboard.display.carousel @s
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": "计分板"}]

View File

@ -1,3 +1,6 @@
# 调用者fz:module/scoreboard/config/on_click
team join fz.module.scoreboard.display.damage_taken @s
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": "计分板"}]

View File

@ -1,3 +1,6 @@
# 调用者fz:module/scoreboard/config/on_click
team join fz.module.scoreboard.display.death_count @s
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": "计分板"}]

View File

@ -1,3 +1,6 @@
# 调用者fz:module/scoreboard/config/on_click
team join fz.module.scoreboard.display.dig_count @s
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": "计分板"}]

View File

@ -1,3 +1,6 @@
# 调用者fz:module/scoreboard/config/on_click
team join fz.module.scoreboard.display.fishing_count @s
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": "计分板"}]

View File

@ -1,3 +1,6 @@
# 调用者fz:module/scoreboard/config/on_click
team join fz.module.scoreboard.display.general @s
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": "计分板"}]

View File

@ -1,3 +1,6 @@
# 调用者fz:module/scoreboard/config/on_click
team join fz.module.scoreboard.display.kill_count @s
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": "计分板"}]

View File

@ -1,3 +1,6 @@
# 调用者fz:module/scoreboard/config/on_click
team leave @s
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": "取消了计分板订阅"}]

View File

@ -1,3 +1,6 @@
# 调用者fz:module/scoreboard/config/on_click
team join fz.module.scoreboard.display.trade_count @s
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": "计分板"}]

View File

@ -6,7 +6,7 @@ schedule function fz:module/scoreboard/display/carousel_controller/set/aviating_
schedule function fz:module/scoreboard/display/carousel_controller/set/damage_taken 30s replace
schedule function fz:module/scoreboard/display/carousel_controller/set/death_count 40s replace
schedule function fz:module/scoreboard/display/carousel_controller/set/dig_count 50s replace
schedule function fz:module/scoreboard/display/carousel_controller/set/fisning_count 60s replace
schedule function fz:module/scoreboard/display/carousel_controller/set/fishing_count 60s replace
schedule function fz:module/scoreboard/display/carousel_controller/set/kill_count 70s replace
schedule function fz:module/scoreboard/display/carousel_controller/set/trade_count 80s replace

View File

@ -17,3 +17,6 @@ execute if score carousel_color fz.variable.integer matches 12 run scoreboard ob
execute if score carousel_color fz.variable.integer matches 13 run scoreboard objectives setdisplay sidebar.team.light_purple fz.module.scoreboard.display.activation
execute if score carousel_color fz.variable.integer matches 14 run scoreboard objectives setdisplay sidebar.team.yellow fz.module.scoreboard.display.activation
execute if score 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": "计分板"}]

View File

@ -17,3 +17,6 @@ execute if score carousel_color fz.variable.integer matches 12 run scoreboard ob
execute if score carousel_color fz.variable.integer matches 13 run scoreboard objectives setdisplay sidebar.team.light_purple fz.module.scoreboard.display.aviating_distance
execute if score carousel_color fz.variable.integer matches 14 run scoreboard objectives setdisplay sidebar.team.yellow fz.module.scoreboard.display.aviating_distance
execute if score 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": "计分板"}]

View File

@ -17,3 +17,6 @@ execute if score carousel_color fz.variable.integer matches 12 run scoreboard ob
execute if score carousel_color fz.variable.integer matches 13 run scoreboard objectives setdisplay sidebar.team.light_purple fz.module.scoreboard.display.damage_taken
execute if score carousel_color fz.variable.integer matches 14 run scoreboard objectives setdisplay sidebar.team.yellow fz.module.scoreboard.display.damage_taken
execute if score 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": "计分板"}]

View File

@ -17,3 +17,6 @@ execute if score carousel_color fz.variable.integer matches 12 run scoreboard ob
execute if score carousel_color fz.variable.integer matches 13 run scoreboard objectives setdisplay sidebar.team.light_purple fz.module.scoreboard.display.death_count
execute if score carousel_color fz.variable.integer matches 14 run scoreboard objectives setdisplay sidebar.team.yellow fz.module.scoreboard.display.death_count
execute if score 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": "计分板"}]

View File

@ -17,3 +17,6 @@ execute if score carousel_color fz.variable.integer matches 12 run scoreboard ob
execute if score carousel_color fz.variable.integer matches 13 run scoreboard objectives setdisplay sidebar.team.light_purple fz.module.scoreboard.display.dig_count
execute if score carousel_color fz.variable.integer matches 14 run scoreboard objectives setdisplay sidebar.team.yellow fz.module.scoreboard.display.dig_count
execute if score 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": "计分板"}]

View File

@ -17,3 +17,6 @@ execute if score carousel_color fz.variable.integer matches 12 run scoreboard ob
execute if score carousel_color fz.variable.integer matches 13 run scoreboard objectives setdisplay sidebar.team.light_purple fz.module.scoreboard.display.fishing_count
execute if score carousel_color fz.variable.integer matches 14 run scoreboard objectives setdisplay sidebar.team.yellow fz.module.scoreboard.display.fishing_count
execute if score 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": "计分板"}]

View File

@ -17,3 +17,6 @@ execute if score carousel_color fz.variable.integer matches 12 run scoreboard ob
execute if score carousel_color fz.variable.integer matches 13 run scoreboard objectives setdisplay sidebar.team.light_purple fz.module.scoreboard.display.general
execute if score carousel_color fz.variable.integer matches 14 run scoreboard objectives setdisplay sidebar.team.yellow fz.module.scoreboard.display.general
execute if score 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": "计分板"}]

View File

@ -17,3 +17,6 @@ execute if score carousel_color fz.variable.integer matches 12 run scoreboard ob
execute if score carousel_color fz.variable.integer matches 13 run scoreboard objectives setdisplay sidebar.team.light_purple fz.module.scoreboard.display.kill_count
execute if score carousel_color fz.variable.integer matches 14 run scoreboard objectives setdisplay sidebar.team.yellow fz.module.scoreboard.display.kill_count
execute if score 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": "计分板"}]

View File

@ -17,3 +17,6 @@ execute if score carousel_color fz.variable.integer matches 12 run scoreboard ob
execute if score carousel_color fz.variable.integer matches 13 run scoreboard objectives setdisplay sidebar.team.light_purple fz.module.scoreboard.display.trade_count
execute if score carousel_color fz.variable.integer matches 14 run scoreboard objectives setdisplay sidebar.team.yellow fz.module.scoreboard.display.trade_count
execute if score 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": "计分板"}]

View File

@ -1,8 +0,0 @@
# 调用者#fz:module/scoreboard/display/set_color/carousel
## 设置轮播颜色
team modify fz.module.scoreboard.display.carousel color aqua
team modify fz.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "aqua"}
## 保存轮播颜色的颜色代码https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81
scoreboard players set carousel_color fz.variable.integer 11

View File

@ -1,8 +0,0 @@
# 调用者#fz:module/scoreboard/display/set_color/carousel
## 设置轮播颜色
team modify fz.module.scoreboard.display.carousel color blue
team modify fz.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "blue"}
## 保存轮播颜色的颜色代码https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81
scoreboard players set carousel_color fz.variable.integer 9

View File

@ -1,8 +0,0 @@
# 调用者#fz:module/scoreboard/display/set_color/carousel
## 设置轮播颜色
team modify fz.module.scoreboard.display.carousel color gold
team modify fz.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "gold"}
## 保存轮播颜色的颜色代码https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81
scoreboard players set carousel_color fz.variable.integer 6

View File

@ -1,8 +0,0 @@
# 调用者#fz:module/scoreboard/display/set_color/carousel
## 设置轮播颜色
team modify fz.module.scoreboard.display.carousel color gray
team modify fz.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "gray"}
## 保存轮播颜色的颜色代码https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81
scoreboard players set carousel_color fz.variable.integer 7

View File

@ -1,8 +0,0 @@
# 调用者#fz:module/scoreboard/display/set_color/carousel
## 设置轮播颜色
team modify fz.module.scoreboard.display.carousel color red
team modify fz.module.scoreboard.display.carousel displayName {"text": "轮播", "color": "red"}
## 保存轮播颜色的颜色代码https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81
scoreboard players set carousel_color fz.variable.integer 12

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/activation
# 调用者#fz:module/scoreboard/display/set_text/activation
scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃度", "color": "aqua"}
data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃度", "color": "aqua"}'
scoreboard objectives setdisplay sidebar.team.aqua fz.module.scoreboard.display.activation
scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃度", "color": "aqua"}
team modify fz.module.scoreboard.display.activation color aqua
team modify fz.module.scoreboard.display.activation displayName {"text": "活跃度", "color": "aqua"}

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/activation
# 调用者#fz:module/scoreboard/display/set_text/activation
scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃度", "color": "black"}
data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃度", "color": "black"}'
scoreboard objectives setdisplay sidebar.team.black fz.module.scoreboard.display.activation
scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃度", "color": "black"}
team modify fz.module.scoreboard.display.activation color black
team modify fz.module.scoreboard.display.activation displayName {"text": "活跃度", "color": "black"}

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/activation
# 调用者#fz:module/scoreboard/display/set_text/activation
scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃度", "color": "blue"}
data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃度", "color": "blue"}'
scoreboard objectives setdisplay sidebar.team.blue fz.module.scoreboard.display.activation
scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃度", "color": "blue"}
team modify fz.module.scoreboard.display.activation color blue
team modify fz.module.scoreboard.display.activation displayName {"text": "活跃度", "color": "blue"}

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/activation
# 调用者#fz:module/scoreboard/display/set_text/activation
scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃度", "color": "dark_aqua"}
data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃度", "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": "活跃度", "color": "dark_aqua"}
team modify fz.module.scoreboard.display.activation color dark_aqua
team modify fz.module.scoreboard.display.activation displayName {"text": "活跃度", "color": "dark_aqua"}

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/activation
# 调用者#fz:module/scoreboard/display/set_text/activation
scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃度", "color": "dark_blue"}
data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃度", "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": "活跃度", "color": "dark_blue"}
team modify fz.module.scoreboard.display.activation color dark_blue
team modify fz.module.scoreboard.display.activation displayName {"text": "活跃度", "color": "dark_blue"}

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/activation
# 调用者#fz:module/scoreboard/display/set_text/activation
scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃度", "color": "dark_gray"}
data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃度", "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": "活跃度", "color": "dark_gray"}
team modify fz.module.scoreboard.display.activation color dark_gray
team modify fz.module.scoreboard.display.activation displayName {"text": "活跃度", "color": "dark_gray"}

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/activation
# 调用者#fz:module/scoreboard/display/set_text/activation
scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃度", "color": "dark_green"}
data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃度", "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": "活跃度", "color": "dark_green"}
team modify fz.module.scoreboard.display.activation color dark_green
team modify fz.module.scoreboard.display.activation displayName {"text": "活跃度", "color": "dark_green"}

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/activation
# 调用者#fz:module/scoreboard/display/set_text/activation
scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃度", "color": "dark_purple"}
data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃度", "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": "活跃度", "color": "dark_purple"}
team modify fz.module.scoreboard.display.activation color dark_purple
team modify fz.module.scoreboard.display.activation displayName {"text": "活跃度", "color": "dark_purple"}

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/activation
# 调用者#fz:module/scoreboard/display/set_text/activation
scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃度", "color": "dark_red"}
data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃度", "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": "活跃度", "color": "dark_red"}
team modify fz.module.scoreboard.display.activation color dark_red
team modify fz.module.scoreboard.display.activation displayName {"text": "活跃度", "color": "dark_red"}

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/activation
# 调用者#fz:module/scoreboard/display/set_text/activation
scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃度", "color": "gold"}
data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃度", "color": "gold"}'
scoreboard objectives setdisplay sidebar.team.gold fz.module.scoreboard.display.activation
scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃度", "color": "gold"}
team modify fz.module.scoreboard.display.activation color gold
team modify fz.module.scoreboard.display.activation displayName {"text": "活跃度", "color": "gold"}

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/activation
# 调用者#fz:module/scoreboard/display/set_text/activation
scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃度", "color": "gray"}
data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃度", "color": "gray"}'
scoreboard objectives setdisplay sidebar.team.gray fz.module.scoreboard.display.activation
scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃度", "color": "gray"}
team modify fz.module.scoreboard.display.activation color gray
team modify fz.module.scoreboard.display.activation displayName {"text": "活跃度", "color": "gray"}

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/activation
# 调用者#fz:module/scoreboard/display/set_text/activation
scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃度", "color": "green"}
data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃度", "color": "green"}'
scoreboard objectives setdisplay sidebar.team.green fz.module.scoreboard.display.activation
scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃度", "color": "green"}
team modify fz.module.scoreboard.display.activation color green
team modify fz.module.scoreboard.display.activation displayName {"text": "活跃度", "color": "green"}

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/activation
# 调用者#fz:module/scoreboard/display/set_text/activation
scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃度", "color": "light_purple"}
data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃度", "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": "活跃度", "color": "light_purple"}
team modify fz.module.scoreboard.display.activation color light_purple
team modify fz.module.scoreboard.display.activation displayName {"text": "活跃度", "color": "light_purple"}

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/activation
# 调用者#fz:module/scoreboard/display/set_text/activation
scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃度", "color": "red"}
data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃度", "color": "red"}'
scoreboard objectives setdisplay sidebar.team.red fz.module.scoreboard.display.activation
scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃度", "color": "red"}
team modify fz.module.scoreboard.display.activation color red
team modify fz.module.scoreboard.display.activation displayName {"text": "活跃度", "color": "red"}

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/activation
# 调用者#fz:module/scoreboard/display/set_text/activation
scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃度", "color": "white"}
data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃度", "color": "white"}'
scoreboard objectives setdisplay sidebar.team.white fz.module.scoreboard.display.activation
scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃度", "color": "white"}
team modify fz.module.scoreboard.display.activation color white
team modify fz.module.scoreboard.display.activation displayName {"text": "活跃度", "color": "white"}

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/activation
# 调用者#fz:module/scoreboard/display/set_text/activation
scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃度", "color": "yellow"}
data modify storage fz:module fz.scoreboard.text.activation set value '{"text": "活跃度", "color": "yellow"}'
scoreboard objectives setdisplay sidebar.team.yellow fz.module.scoreboard.display.activation
scoreboard objectives modify fz.module.scoreboard.display.activation displayname {"text": "活跃度", "color": "yellow"}
team modify fz.module.scoreboard.display.activation color yellow
team modify fz.module.scoreboard.display.activation displayName {"text": "活跃度", "color": "yellow"}

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/aviating_distance
# 调用者#fz:module/scoreboard/display/set_text/aviating_distance
scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "aqua"}
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"}

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/aviating_distance
# 调用者#fz:module/scoreboard/display/set_text/aviating_distance
scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "black"}
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"}

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/aviating_distance
# 调用者#fz:module/scoreboard/display/set_text/aviating_distance
scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "blue"}
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"}

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/aviating_distance
# 调用者#fz:module/scoreboard/display/set_text/aviating_distance
scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "dark_aqua"}
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"}

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/aviating_distance
# 调用者#fz:module/scoreboard/display/set_text/aviating_distance
scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "dark_blue"}
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"}

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/aviating_distance
# 调用者#fz:module/scoreboard/display/set_text/aviating_distance
scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "dark_gray"}
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"}

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/aviating_distance
# 调用者#fz:module/scoreboard/display/set_text/aviating_distance
scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "dark_green"}
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"}

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/aviating_distance
# 调用者#fz:module/scoreboard/display/set_text/aviating_distance
scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "dark_purple"}
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"}

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/aviating_distance
# 调用者#fz:module/scoreboard/display/set_text/aviating_distance
scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "dark_red"}
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"}

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/aviating_distance
# 调用者#fz:module/scoreboard/display/set_text/aviating_distance
scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "gold"}
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"}

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/aviating_distance
# 调用者#fz:module/scoreboard/display/set_text/aviating_distance
scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "gray"}
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"}

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/aviating_distance
# 调用者#fz:module/scoreboard/display/set_text/aviating_distance
scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "green"}
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"}

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/aviating_distance
# 调用者#fz:module/scoreboard/display/set_text/aviating_distance
scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "light_purple"}
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"}

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/aviating_distance
# 调用者#fz:module/scoreboard/display/set_text/aviating_distance
scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "red"}
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"}

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/aviating_distance
# 调用者#fz:module/scoreboard/display/set_text/aviating_distance
scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "white"}
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"}

View File

@ -1,6 +1,7 @@
# 调用者#fz:module/scoreboard/display/set_color/aviating_distance
# 调用者#fz:module/scoreboard/display/set_text/aviating_distance
scoreboard objectives modify fz.module.scoreboard.display.aviating_distance displayname {"text": "飞行距离", "color": "yellow"}
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"}

View File

@ -0,0 +1,6 @@
# 调用者#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 carousel_color fz.variable.integer 11

View File

@ -1,8 +1,6 @@
# 调用者#fz:module/scoreboard/display/set_color/carousel
# 调用者#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"}
## 保存轮播颜色的颜色代码https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81
scoreboard players set carousel_color fz.variable.integer 0

View File

@ -0,0 +1,6 @@
# 调用者#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 carousel_color fz.variable.integer 9

View File

@ -1,8 +1,6 @@
# 调用者#fz:module/scoreboard/display/set_color/carousel
# 调用者#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"}
## 保存轮播颜色的颜色代码https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81
scoreboard players set carousel_color fz.variable.integer 3

View File

@ -1,8 +1,6 @@
# 调用者#fz:module/scoreboard/display/set_color/carousel
# 调用者#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"}
## 保存轮播颜色的颜色代码https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81
scoreboard players set carousel_color fz.variable.integer 1

View File

@ -1,8 +1,6 @@
# 调用者#fz:module/scoreboard/display/set_color/carousel
# 调用者#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"}
## 保存轮播颜色的颜色代码https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81
scoreboard players set carousel_color fz.variable.integer 8

View File

@ -1,8 +1,6 @@
# 调用者#fz:module/scoreboard/display/set_color/carousel
# 调用者#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"}
## 保存轮播颜色的颜色代码https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81
scoreboard players set carousel_color fz.variable.integer 2

View File

@ -1,8 +1,6 @@
# 调用者#fz:module/scoreboard/display/set_color/carousel
# 调用者#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"}
## 保存轮播颜色的颜色代码https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81
scoreboard players set carousel_color fz.variable.integer 5

View File

@ -1,8 +1,6 @@
# 调用者#fz:module/scoreboard/display/set_color/carousel
# 调用者#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"}
## 保存轮播颜色的颜色代码https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81
scoreboard players set carousel_color fz.variable.integer 4

View File

@ -0,0 +1,6 @@
# 调用者#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 carousel_color fz.variable.integer 6

View File

@ -0,0 +1,6 @@
# 调用者#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 carousel_color fz.variable.integer 7

View File

@ -1,8 +1,6 @@
# 调用者#fz:module/scoreboard/display/set_color/carousel
# 调用者#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"}
## 保存轮播颜色的颜色代码https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81
scoreboard players set carousel_color fz.variable.integer 10

View File

@ -1,8 +1,6 @@
# 调用者#fz:module/scoreboard/display/set_color/carousel
# 调用者#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"}
## 保存轮播颜色的颜色代码https://minecraft.fandom.com/zh/wiki/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81
scoreboard players set carousel_color fz.variable.integer 13

Some files were not shown because too many files have changed in this diff Show More