From d81d0a530aa311469963c1b7989a5df8bf430a40 Mon Sep 17 00:00:00 2001 From: Harvey_Husky Date: Sun, 16 Jun 2024 11:01:54 +0800 Subject: [PATCH] =?UTF-8?q?support=20mc1.21=EF=BC=9B=E9=9C=80=E8=A6=81?= =?UTF-8?q?=E6=94=BE=E5=BC=83=E6=94=AF=E6=8C=81mc1.20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 2 +- README.md | 20 +- data/admin.fzsd/function/admin.mcfunction | 40 +++ .../carpet_settings_preset.mcfunction | 1 + .../module/health/below_name/off.mcfunction | 2 + .../module/health/below_name/on.mcfunction | 2 + .../module/health/list/off.mcfunction | 2 + .../function/module/health/list/on.mcfunction | 2 + .../advancement/broke_bedrock.json | 24 ++ .../function/assign/bbl.mcfunction | 5 + .../function/assign/general.mcfunction | 5 + .../function/clear_data.mcfunction | 3 + .../display/carousel/set_display.mcfunction | 21 ++ .../display/carousel/try_display.mcfunction | 2 + .../function/display/register_id.mcfunction | 6 + .../function/display/set_text/aqua.mcfunction | 7 + .../display/set_text/black.mcfunction | 7 + .../function/display/set_text/blue.mcfunction | 7 + .../display/set_text/dark_aqua.mcfunction | 7 + .../display/set_text/dark_blue.mcfunction | 7 + .../display/set_text/dark_gray.mcfunction | 7 + .../display/set_text/dark_green.mcfunction | 7 + .../display/set_text/dark_purple.mcfunction | 7 + .../display/set_text/dark_red.mcfunction | 7 + .../function/display/set_text/gold.mcfunction | 7 + .../function/display/set_text/gray.mcfunction | 7 + .../display/set_text/green.mcfunction | 7 + .../display/set_text/light_purple.mcfunction | 7 + .../function/display/set_text/red.mcfunction | 7 + .../display/set_text/white.mcfunction | 7 + .../display/set_text/yellow.mcfunction | 7 + .../advancement/broke_bedrock.mcfunction | 7 + .../event/player/broke_bedrock.mcfunction | 6 + .../function/install.mcfunction | 11 + .../function/interactor/display.mcfunction | 3 + .../function/interactor/on_click.mcfunction | 2 + .../function/interactor/subscribe.mcfunction | 6 + data/fzsd.extra.bbl/function/load.mcfunction | 3 + .../function/try_install.mcfunction | 2 + .../function/uninstall.mcfunction | 8 + .../display/carousel/set_display.mcfunction | 2 +- .../functions/display/register_id.mcfunction | 2 +- .../display/set_text/aqua.mcfunction | 2 +- .../display/set_text/black.mcfunction | 2 +- .../display/set_text/blue.mcfunction | 2 +- .../display/set_text/dark_aqua.mcfunction | 2 +- .../display/set_text/dark_blue.mcfunction | 2 +- .../display/set_text/dark_gray.mcfunction | 2 +- .../display/set_text/dark_green.mcfunction | 2 +- .../display/set_text/dark_purple.mcfunction | 2 +- .../display/set_text/dark_red.mcfunction | 2 +- .../display/set_text/gold.mcfunction | 2 +- .../display/set_text/gray.mcfunction | 2 +- .../display/set_text/green.mcfunction | 2 +- .../display/set_text/light_purple.mcfunction | 2 +- .../functions/display/set_text/red.mcfunction | 2 +- .../display/set_text/white.mcfunction | 2 +- .../display/set_text/yellow.mcfunction | 2 +- .../functions/interactor/display.mcfunction | 2 +- data/fzsd.extra.bbl/functions/load.mcfunction | 2 +- .../tags/function/display/set_text.json | 6 + .../tags/function/event/broke_bedrock.json | 7 + data/fzsd/advancement/game_event.json | 7 + .../game_event/on_aviate_one_meter.json | 24 ++ data/fzsd/advancement/game_event/on_dead.json | 24 ++ .../game_event/on_entered_nether_portal.json | 32 ++ .../advancement/game_event/on_fished.json | 22 ++ .../game_event/on_hurt_entity_with_tools.json | 30 ++ .../game_event/on_killed_mob_or_player.json | 34 +++ .../fzsd/advancement/game_event/on_login.json | 27 ++ .../game_event/on_piglin_trade.json | 25 ++ .../game_event/on_placed_block.json | 19 ++ .../on_placed_block/on_placed_liquid.json | 27 ++ .../on_placed_block/on_placed_solid.json | 31 ++ .../game_event/on_play_one_hour.json | 24 ++ .../game_event/on_shears_used_on_entity.json | 25 ++ .../advancement/game_event/on_sleeping.json | 19 ++ .../fzsd/advancement/game_event/on_sneak.json | 28 ++ .../game_event/on_took_damage.json | 24 ++ .../game_event/on_tools_used_on_block.json | 50 +++ .../advancement/game_event/on_unsneak.json | 34 +++ .../advancement/game_event/on_used_tool.json | 19 ++ .../game_event/on_villager_trade.json | 19 ++ data/fzsd/advancement/module/interactor.json | 7 + .../module/interactor/on_click.json | 42 +++ .../api/get_current_daytime.mcfunction | 2 + .../api/get_current_gametime.mcfunction | 2 + .../api/get_dimension_name/default.mcfunction | 1 + .../minecraft/overworld.mcfunction | 1 + .../minecraft/the_end.mcfunction | 1 + .../minecraft/the_nether.mcfunction | 1 + .../api/get_player_dimension.mcfunction | 2 + .../api/get_time_since_rest.mcfunction | 1 + data/fzsd/function/api/install.mcfunction | 5 + data/fzsd/function/api/uninstall.mcfunction | 5 + data/fzsd/function/boot.mcfunction | 5 + data/fzsd/function/entry.mcfunction | 1 + .../on_aviate_one_meter.mcfunction | 7 + .../game_event/advancement/on_dead.mcfunction | 7 + .../on_entered_nether_portal.mcfunction | 7 + .../advancement/on_fished.mcfunction | 10 + .../on_hurt_entity_with_tools.mcfunction | 13 + .../on_killed_mob_or_player.mcfunction | 10 + .../advancement/on_login.mcfunction | 7 + .../advancement/on_piglin_trade.mcfunction | 10 + .../advancement/on_placed_block.mcfunction | 9 + .../on_placed_liquid.mcfunction | 9 + .../on_placed_solid.mcfunction | 9 + .../advancement/on_play_one_hour.mcfunction | 7 + .../on_shears_used_on_entity.mcfunction | 13 + .../advancement/on_sleeping.mcfunction | 10 + .../advancement/on_sneak.mcfunction | 7 + .../advancement/on_took_damage.mcfunction | 7 + .../on_tools_used_on_block.mcfunction | 13 + .../advancement/on_unsneak.mcfunction | 13 + .../advancement/on_used_tool.mcfunction | 9 + .../advancement/on_villager_trade.mcfunction | 10 + .../advancement/reset_advancements.mcfunction | 6 + .../game_event/game/on_night.mcfunction | 7 + .../game/on_night/on_tick.mcfunction | 3 + .../function/game_event/install.mcfunction | 45 +++ data/fzsd/function/game_event/load.mcfunction | 4 + .../function/game_event/on_tick.mcfunction | 3 + .../player/on_aviate_one_meter.mcfunction | 9 + .../on_broke_block_with_tool.mcfunction | 7 + .../calculate_dig_score.mcfunction | 33 ++ .../try_trigger.mcfunction | 4 + .../game_event/player/on_dead.mcfunction | 8 + .../game_event/player/on_login.mcfunction | 5 + .../player/on_play_one_hour.mcfunction | 9 + .../player/on_took_damage.mcfunction | 9 + .../game_event/player/on_used_tool.mcfunction | 5 + .../on_used_tool/reset_used_tool.mcfunction | 35 +++ .../function/game_event/uninstall.mcfunction | 46 +++ .../function/logger/clear_data.mcfunction | 6 + data/fzsd/function/logger/install.mcfunction | 28 ++ .../function/logger/level/debug.mcfunction | 7 + .../function/logger/level/fine.mcfunction | 7 + .../function/logger/level/info.mcfunction | 7 + data/fzsd/function/logger/load.mcfunction | 7 + .../fzsd/function/logger/uninstall.mcfunction | 7 + .../function/module/health/install.mcfunction | 8 + .../function/module/health/load.mcfunction | 7 + .../health/set_health_name/default.mcfunction | 1 + .../set_health_name/preset_1.mcfunction | 1 + .../set_health_name/preset_2.mcfunction | 1 + .../set_health_name/preset_3.mcfunction | 1 + .../set_health_name/preset_4.mcfunction | 1 + .../set_health_name/preset_5.mcfunction | 1 + .../module/health/try_install.mcfunction | 1 + .../module/health/try_load.mcfunction | 2 + .../module/health/uninstall.mcfunction | 9 + .../if_overworld.mcfunction | 6 + .../if_the_nether.mcfunction | 7 + .../overworld.mcfunction | 1 + .../the_nether.mcfunction | 1 + .../module/here/get_message.mcfunction | 8 + .../module/here/global_message.mcfunction | 1 + .../function/module/here/install.mcfunction | 5 + .../module/here/interactor/display.mcfunction | 1 + .../here/interactor/on_click.mcfunction | 2 + .../module/here/private_message.mcfunction | 1 + .../module/here/try_install.mcfunction | 1 + .../function/module/here/uninstall.mcfunction | 7 + .../event/advamcement/on_click.mcfunction | 5 + .../interactor/event/on_click.mcfunction | 4 + .../event/on_unsneak/on_unsneak.mcfunction | 3 + .../event/reset_advancements.mcfunction | 4 + .../module/interactor/install.mcfunction | 8 + .../interactor/interactor/display.mcfunction | 7 + .../interactor/interactor/on_click.mcfunction | 7 + .../module/interactor/load.mcfunction | 4 + .../interactor/reset_trigger.mcfunction | 7 + .../module/interactor/try_install.mcfunction | 1 + .../module/interactor/try_load.mcfunction | 2 + .../module/interactor/uninstall.mcfunction | 9 + .../join_message/default_message.mcfunction | 5 + .../event/on_login/on_login.mcfunction | 1 + .../module/join_message/install.mcfunction | 5 + .../join_message/try_install.mcfunction | 1 + .../module/join_message/uninstall.mcfunction | 5 + .../last_death/get_death_point.mcfunction | 7 + .../module/last_death/install.mcfunction | 5 + .../last_death/interactor/display.mcfunction | 1 + .../last_death/interactor/on_click.mcfunction | 1 + .../last_death/private_message.mcfunction | 2 + .../module/last_death/try_install.mcfunction | 1 + .../module/last_death/uninstall.mcfunction | 7 + .../event/on_entered_nether_portal.mcfunction | 5 + .../last_nether_portal/get_message.mcfunction | 5 + .../global_message.mcfunction | 2 + .../last_nether_portal/install.mcfunction | 10 + .../interactor/display.mcfunction | 1 + .../interactor/on_click.mcfunction | 2 + .../private_message.mcfunction | 2 + .../last_nether_portal/try_install.mcfunction | 1 + .../last_nether_portal/uninstall.mcfunction | 11 + .../get_spawn_point.mcfunction | 7 + .../last_spawn_point/install.mcfunction | 5 + .../interactor/display.mcfunction | 1 + .../interactor/on_click.mcfunction | 1 + .../private_message.mcfunction | 2 + .../last_spawn_point/try_install.mcfunction | 1 + .../last_spawn_point/uninstall.mcfunction | 5 + .../check_time_since_rest.mcfunction | 4 + .../phantom_warning/event/on_night.mcfunction | 1 + .../module/phantom_warning/install.mcfunction | 5 + .../interactor/display.mcfunction | 1 + .../interactor/display_0.mcfunction | 2 + .../interactor/on_click.mcfunction | 2 + .../send_phantom_warning.mcfunction | 6 + .../phantom_warning/try_install.mcfunction | 1 + .../phantom_warning/uninstall.mcfunction | 5 + .../assign/scoreboard/activation.mcfunction | 4 + .../scoreboard/aviating_distance.mcfunction | 4 + .../assign/scoreboard/damage_taken.mcfunction | 4 + .../assign/scoreboard/death_count.mcfunction | 4 + .../assign/scoreboard/dig_count.mcfunction | 4 + .../scoreboard/fishing_count.mcfunction | 4 + .../scoreboard/general/activation.mcfunction | 6 + .../general/aviating_distance.mcfunction | 4 + .../general/damage_taken.mcfunction | 4 + .../scoreboard/general/death_count.mcfunction | 4 + .../scoreboard/general/dig_count.mcfunction | 4 + .../general/fishing_count.mcfunction | 4 + .../scoreboard/general/kill_count.mcfunction | 4 + .../general/placement_count.mcfunction | 4 + .../scoreboard/general/trade_count.mcfunction | 4 + .../assign/scoreboard/kill_count.mcfunction | 4 + .../scoreboard/placement_count.mcfunction | 4 + .../assign/scoreboard/trade_count.mcfunction | 4 + .../module/scoreboard/clear_data.mcfunction | 47 +++ .../display/carousel/loop.mcfunction | 10 + .../set_display/activation.mcfunction | 27 ++ .../set_display/aviating_distance.mcfunction | 26 ++ .../set_display/damage_taken.mcfunction | 26 ++ .../set_display/death_count.mcfunction | 26 ++ .../carousel/set_display/dig_count.mcfunction | 26 ++ .../set_display/fishing_count.mcfunction | 26 ++ .../carousel/set_display/general.mcfunction | 26 ++ .../set_display/kill_count.mcfunction | 26 ++ .../set_display/placement_count.mcfunction | 26 ++ .../set_display/trade_count.mcfunction | 26 ++ .../try_display/activation.mcfunction | 1 + .../try_display/aviating_distance.mcfunction | 1 + .../try_display/damage_taken.mcfunction | 1 + .../try_display/death_count.mcfunction | 1 + .../carousel/try_display/dig_count.mcfunction | 1 + .../try_display/fishing_count.mcfunction | 1 + .../carousel/try_display/general.mcfunction | 1 + .../try_display/kill_count.mcfunction | 1 + .../try_display/placement_count.mcfunction | 1 + .../try_display/trade_count.mcfunction | 1 + .../display/highest_id_add_1.mcfunction | 1 + .../scoreboard/display/register_id.mcfunction | 59 ++++ .../scoreboard/display/reset_id.mcfunction | 4 + .../set_text/activation/aqua.mcfunction | 7 + .../set_text/activation/black.mcfunction | 7 + .../set_text/activation/blue.mcfunction | 7 + .../set_text/activation/dark_aqua.mcfunction | 7 + .../set_text/activation/dark_blue.mcfunction | 7 + .../set_text/activation/dark_gray.mcfunction | 7 + .../set_text/activation/dark_green.mcfunction | 7 + .../activation/dark_purple.mcfunction | 7 + .../set_text/activation/dark_red.mcfunction | 7 + .../set_text/activation/gold.mcfunction | 7 + .../set_text/activation/gray.mcfunction | 7 + .../set_text/activation/green.mcfunction | 7 + .../activation/light_purple.mcfunction | 7 + .../set_text/activation/red.mcfunction | 7 + .../set_text/activation/white.mcfunction | 7 + .../set_text/activation/yellow.mcfunction | 7 + .../aviating_distance/aqua.mcfunction | 7 + .../aviating_distance/black.mcfunction | 7 + .../aviating_distance/blue.mcfunction | 7 + .../aviating_distance/dark_aqua.mcfunction | 7 + .../aviating_distance/dark_blue.mcfunction | 7 + .../aviating_distance/dark_gray.mcfunction | 7 + .../aviating_distance/dark_green.mcfunction | 7 + .../aviating_distance/dark_purple.mcfunction | 7 + .../aviating_distance/dark_red.mcfunction | 7 + .../aviating_distance/gold.mcfunction | 7 + .../aviating_distance/gray.mcfunction | 7 + .../aviating_distance/green.mcfunction | 7 + .../aviating_distance/light_purple.mcfunction | 7 + .../set_text/aviating_distance/red.mcfunction | 7 + .../aviating_distance/white.mcfunction | 7 + .../aviating_distance/yellow.mcfunction | 7 + .../display/set_text/carousel/aqua.mcfunction | 6 + .../set_text/carousel/black.mcfunction | 6 + .../display/set_text/carousel/blue.mcfunction | 6 + .../set_text/carousel/dark_aqua.mcfunction | 6 + .../set_text/carousel/dark_blue.mcfunction | 6 + .../set_text/carousel/dark_gray.mcfunction | 6 + .../set_text/carousel/dark_green.mcfunction | 6 + .../set_text/carousel/dark_purple.mcfunction | 6 + .../set_text/carousel/dark_red.mcfunction | 6 + .../display/set_text/carousel/gold.mcfunction | 6 + .../display/set_text/carousel/gray.mcfunction | 6 + .../set_text/carousel/green.mcfunction | 6 + .../set_text/carousel/light_purple.mcfunction | 6 + .../display/set_text/carousel/red.mcfunction | 6 + .../set_text/carousel/white.mcfunction | 6 + .../set_text/carousel/yellow.mcfunction | 6 + .../set_text/damage_taken/aqua.mcfunction | 7 + .../set_text/damage_taken/black.mcfunction | 7 + .../set_text/damage_taken/blue.mcfunction | 7 + .../damage_taken/dark_aqua.mcfunction | 7 + .../damage_taken/dark_blue.mcfunction | 7 + .../damage_taken/dark_gray.mcfunction | 7 + .../damage_taken/dark_green.mcfunction | 7 + .../damage_taken/dark_purple.mcfunction | 7 + .../set_text/damage_taken/dark_red.mcfunction | 7 + .../set_text/damage_taken/gold.mcfunction | 7 + .../set_text/damage_taken/gray.mcfunction | 7 + .../set_text/damage_taken/green.mcfunction | 7 + .../damage_taken/light_purple.mcfunction | 7 + .../set_text/damage_taken/red.mcfunction | 7 + .../set_text/damage_taken/white.mcfunction | 7 + .../set_text/damage_taken/yellow.mcfunction | 7 + .../set_text/death_count/aqua.mcfunction | 7 + .../set_text/death_count/black.mcfunction | 7 + .../set_text/death_count/blue.mcfunction | 7 + .../set_text/death_count/dark_aqua.mcfunction | 7 + .../set_text/death_count/dark_blue.mcfunction | 7 + .../set_text/death_count/dark_gray.mcfunction | 7 + .../death_count/dark_green.mcfunction | 7 + .../death_count/dark_purple.mcfunction | 7 + .../set_text/death_count/dark_red.mcfunction | 7 + .../set_text/death_count/gold.mcfunction | 7 + .../set_text/death_count/gray.mcfunction | 7 + .../set_text/death_count/green.mcfunction | 7 + .../death_count/light_purple.mcfunction | 7 + .../set_text/death_count/red.mcfunction | 7 + .../set_text/death_count/white.mcfunction | 7 + .../set_text/death_count/yellow.mcfunction | 7 + .../set_text/dig_count/aqua.mcfunction | 7 + .../set_text/dig_count/black.mcfunction | 7 + .../set_text/dig_count/blue.mcfunction | 7 + .../set_text/dig_count/dark_aqua.mcfunction | 7 + .../set_text/dig_count/dark_blue.mcfunction | 7 + .../set_text/dig_count/dark_gray.mcfunction | 7 + .../set_text/dig_count/dark_green.mcfunction | 7 + .../set_text/dig_count/dark_purple.mcfunction | 7 + .../set_text/dig_count/dark_red.mcfunction | 7 + .../set_text/dig_count/gold.mcfunction | 7 + .../set_text/dig_count/gray.mcfunction | 7 + .../set_text/dig_count/green.mcfunction | 7 + .../dig_count/light_purple.mcfunction | 7 + .../display/set_text/dig_count/red.mcfunction | 7 + .../set_text/dig_count/white.mcfunction | 7 + .../set_text/dig_count/yellow.mcfunction | 7 + .../set_text/fishing_count/aqua.mcfunction | 7 + .../set_text/fishing_count/black.mcfunction | 7 + .../set_text/fishing_count/blue.mcfunction | 7 + .../fishing_count/dark_aqua.mcfunction | 7 + .../fishing_count/dark_blue.mcfunction | 7 + .../fishing_count/dark_gray.mcfunction | 7 + .../fishing_count/dark_green.mcfunction | 7 + .../fishing_count/dark_purple.mcfunction | 7 + .../fishing_count/dark_red.mcfunction | 7 + .../set_text/fishing_count/gold.mcfunction | 7 + .../set_text/fishing_count/gray.mcfunction | 7 + .../set_text/fishing_count/green.mcfunction | 7 + .../fishing_count/light_purple.mcfunction | 7 + .../set_text/fishing_count/red.mcfunction | 7 + .../set_text/fishing_count/white.mcfunction | 7 + .../set_text/fishing_count/yellow.mcfunction | 7 + .../display/set_text/general/aqua.mcfunction | 7 + .../display/set_text/general/black.mcfunction | 7 + .../display/set_text/general/blue.mcfunction | 7 + .../set_text/general/dark_aqua.mcfunction | 7 + .../set_text/general/dark_blue.mcfunction | 7 + .../set_text/general/dark_gray.mcfunction | 7 + .../set_text/general/dark_green.mcfunction | 7 + .../set_text/general/dark_purple.mcfunction | 7 + .../set_text/general/dark_red.mcfunction | 7 + .../display/set_text/general/gold.mcfunction | 7 + .../display/set_text/general/gray.mcfunction | 7 + .../display/set_text/general/green.mcfunction | 7 + .../set_text/general/light_purple.mcfunction | 7 + .../display/set_text/general/red.mcfunction | 7 + .../display/set_text/general/white.mcfunction | 7 + .../set_text/general/yellow.mcfunction | 7 + .../set_text/kill_count/aqua.mcfunction | 7 + .../set_text/kill_count/black.mcfunction | 7 + .../set_text/kill_count/blue.mcfunction | 7 + .../set_text/kill_count/dark_aqua.mcfunction | 7 + .../set_text/kill_count/dark_blue.mcfunction | 7 + .../set_text/kill_count/dark_gray.mcfunction | 7 + .../set_text/kill_count/dark_green.mcfunction | 7 + .../kill_count/dark_purple.mcfunction | 7 + .../set_text/kill_count/dark_red.mcfunction | 7 + .../set_text/kill_count/gold.mcfunction | 7 + .../set_text/kill_count/gray.mcfunction | 7 + .../set_text/kill_count/green.mcfunction | 7 + .../kill_count/light_purple.mcfunction | 7 + .../set_text/kill_count/red.mcfunction | 7 + .../set_text/kill_count/white.mcfunction | 7 + .../set_text/kill_count/yellow.mcfunction | 7 + .../set_text/placement_count/aqua.mcfunction | 7 + .../set_text/placement_count/black.mcfunction | 7 + .../set_text/placement_count/blue.mcfunction | 7 + .../placement_count/dark_aqua.mcfunction | 7 + .../placement_count/dark_blue.mcfunction | 7 + .../placement_count/dark_gray.mcfunction | 7 + .../placement_count/dark_green.mcfunction | 7 + .../placement_count/dark_purple.mcfunction | 7 + .../placement_count/dark_red.mcfunction | 7 + .../set_text/placement_count/gold.mcfunction | 7 + .../set_text/placement_count/gray.mcfunction | 7 + .../set_text/placement_count/green.mcfunction | 7 + .../placement_count/light_purple.mcfunction | 7 + .../set_text/placement_count/red.mcfunction | 7 + .../set_text/placement_count/white.mcfunction | 7 + .../placement_count/yellow.mcfunction | 7 + .../set_text/trade_count/aqua.mcfunction | 7 + .../set_text/trade_count/black.mcfunction | 7 + .../set_text/trade_count/blue.mcfunction | 7 + .../set_text/trade_count/dark_aqua.mcfunction | 7 + .../set_text/trade_count/dark_blue.mcfunction | 7 + .../set_text/trade_count/dark_gray.mcfunction | 7 + .../trade_count/dark_green.mcfunction | 7 + .../trade_count/dark_purple.mcfunction | 7 + .../set_text/trade_count/dark_red.mcfunction | 7 + .../set_text/trade_count/gold.mcfunction | 7 + .../set_text/trade_count/gray.mcfunction | 7 + .../set_text/trade_count/green.mcfunction | 7 + .../trade_count/light_purple.mcfunction | 7 + .../set_text/trade_count/red.mcfunction | 7 + .../set_text/trade_count/white.mcfunction | 7 + .../set_text/trade_count/yellow.mcfunction | 7 + .../module/scoreboard/install.mcfunction | 63 ++++ .../scoreboard/interactor/display.mcfunction | 7 + .../scoreboard/interactor/on_click.mcfunction | 13 + .../interactor/show_my_scores.mcfunction | 9 + .../subscribe/activation.mcfunction | 6 + .../subscribe/aviating_distance.mcfunction | 6 + .../interactor/subscribe/carousel.mcfunction | 6 + .../subscribe/damage_taken.mcfunction | 6 + .../subscribe/death_count.mcfunction | 6 + .../interactor/subscribe/dig_count.mcfunction | 6 + .../subscribe/fishing_count.mcfunction | 6 + .../interactor/subscribe/general.mcfunction | 6 + .../subscribe/kill_count.mcfunction | 6 + .../interactor/subscribe/off.mcfunction | 6 + .../subscribe/placement_count.mcfunction | 6 + .../subscribe/trade_count.mcfunction | 6 + .../module/scoreboard/load.mcfunction | 17 ++ .../module/scoreboard/try_install.mcfunction | 2 + .../module/scoreboard/try_load.mcfunction | 2 + .../module/scoreboard/uninstall.mcfunction | 34 +++ .../module/sweeper/bossbar.mcfunction | 4 + .../function/module/sweeper/clear.mcfunction | 15 + .../module/sweeper/install.mcfunction | 8 + .../sweeper/interactor/display.mcfunction | 2 + .../sweeper/interactor/display_0.mcfunction | 12 + .../sweeper/interactor/on_click.mcfunction | 9 + .../function/module/sweeper/load.mcfunction | 4 + .../function/module/sweeper/main.mcfunction | 3 + .../module/sweeper/pre_loop.mcfunction | 6 + .../module/sweeper/start_timer.mcfunction | 7 + .../function/module/sweeper/sweep.mcfunction | 3 + .../module/sweeper/timer/10s.mcfunction | 5 + .../module/sweeper/timer/1min.mcfunction | 5 + .../module/sweeper/timer/1s.mcfunction | 4 + .../module/sweeper/timer/2min.mcfunction | 5 + .../module/sweeper/timer/2s.mcfunction | 4 + .../module/sweeper/timer/30s.mcfunction | 5 + .../module/sweeper/timer/3min.mcfunction | 5 + .../module/sweeper/timer/3s.mcfunction | 4 + .../module/sweeper/timer/4min.mcfunction | 5 + .../module/sweeper/timer/4s.mcfunction | 4 + .../module/sweeper/timer/5s.mcfunction | 5 + .../module/sweeper/try_install.mcfunction | 1 + .../module/sweeper/try_load.mcfunction | 2 + .../module/sweeper/uninstall.mcfunction | 7 + .../system/carpet/settings_preset.mcfunction | 18 ++ .../carpet/try_load_fzsd_score.mcfunction | 1 + .../system/install/install.mcfunction | 7 + .../system/install/post.mcfunction} | 0 .../fzsd/function/system/load/load.mcfunction | 6 + .../system/load/post.mcfunction} | 0 .../cache_module_install_data.mcfunction | 2 + .../system/uninstall/post.mcfunction} | 0 .../restore_module_install_data.mcfunction | 3 + .../system/uninstall/uninstall.mcfunction | 5 + data/fzsd/function/system/update.mcfunction | 3 + .../function/update/update_3_1_9.mcfunction | 6 + data/fzsd/functions/boot.mcfunction | 2 +- .../module/here/interactor/display.mcfunction | 2 +- .../interactor/display.mcfunction | 2 +- .../interactor/display_0.mcfunction | 4 +- .../general/damage_taken.mcfunction | 6 +- .../scoreboard/general/death_count.mcfunction | 6 +- .../scoreboard/general/dig_count.mcfunction | 6 +- .../general/placement_count.mcfunction | 6 +- .../scoreboard/general/trade_count.mcfunction | 6 +- .../module/scoreboard/clear_data.mcfunction | 4 +- .../set_display/activation.mcfunction | 4 +- .../set_display/aviating_distance.mcfunction | 4 +- .../set_display/damage_taken.mcfunction | 4 +- .../set_display/death_count.mcfunction | 4 +- .../carousel/set_display/dig_count.mcfunction | 4 +- .../set_display/fishing_count.mcfunction | 4 +- .../carousel/set_display/general.mcfunction | 4 +- .../set_display/kill_count.mcfunction | 4 +- .../set_display/placement_count.mcfunction | 4 +- .../set_display/trade_count.mcfunction | 4 +- .../scoreboard/display/register_id.mcfunction | 22 +- .../set_text/activation/aqua.mcfunction | 2 +- .../set_text/activation/black.mcfunction | 2 +- .../set_text/activation/blue.mcfunction | 2 +- .../set_text/activation/dark_aqua.mcfunction | 2 +- .../set_text/activation/dark_blue.mcfunction | 2 +- .../set_text/activation/dark_gray.mcfunction | 2 +- .../set_text/activation/dark_green.mcfunction | 2 +- .../activation/dark_purple.mcfunction | 2 +- .../set_text/activation/dark_red.mcfunction | 2 +- .../set_text/activation/gold.mcfunction | 2 +- .../set_text/activation/gray.mcfunction | 2 +- .../set_text/activation/green.mcfunction | 2 +- .../activation/light_purple.mcfunction | 2 +- .../set_text/activation/red.mcfunction | 2 +- .../set_text/activation/white.mcfunction | 2 +- .../set_text/activation/yellow.mcfunction | 2 +- .../aviating_distance/aqua.mcfunction | 2 +- .../aviating_distance/black.mcfunction | 2 +- .../aviating_distance/blue.mcfunction | 2 +- .../aviating_distance/dark_aqua.mcfunction | 2 +- .../aviating_distance/dark_blue.mcfunction | 2 +- .../aviating_distance/dark_gray.mcfunction | 2 +- .../aviating_distance/dark_green.mcfunction | 2 +- .../aviating_distance/dark_purple.mcfunction | 2 +- .../aviating_distance/dark_red.mcfunction | 2 +- .../aviating_distance/gold.mcfunction | 2 +- .../aviating_distance/gray.mcfunction | 2 +- .../aviating_distance/green.mcfunction | 2 +- .../aviating_distance/light_purple.mcfunction | 2 +- .../set_text/aviating_distance/red.mcfunction | 2 +- .../aviating_distance/white.mcfunction | 2 +- .../aviating_distance/yellow.mcfunction | 2 +- .../display/set_text/carousel/aqua.mcfunction | 2 +- .../set_text/carousel/black.mcfunction | 2 +- .../display/set_text/carousel/blue.mcfunction | 2 +- .../set_text/carousel/dark_aqua.mcfunction | 2 +- .../set_text/carousel/dark_blue.mcfunction | 2 +- .../set_text/carousel/dark_gray.mcfunction | 2 +- .../set_text/carousel/dark_green.mcfunction | 2 +- .../set_text/carousel/dark_purple.mcfunction | 2 +- .../set_text/carousel/dark_red.mcfunction | 2 +- .../display/set_text/carousel/gold.mcfunction | 2 +- .../display/set_text/carousel/gray.mcfunction | 2 +- .../set_text/carousel/green.mcfunction | 2 +- .../set_text/carousel/light_purple.mcfunction | 2 +- .../display/set_text/carousel/red.mcfunction | 2 +- .../set_text/carousel/white.mcfunction | 2 +- .../set_text/carousel/yellow.mcfunction | 2 +- .../set_text/damage_taken/aqua.mcfunction | 2 +- .../set_text/damage_taken/black.mcfunction | 2 +- .../set_text/damage_taken/blue.mcfunction | 2 +- .../damage_taken/dark_aqua.mcfunction | 2 +- .../damage_taken/dark_blue.mcfunction | 2 +- .../damage_taken/dark_gray.mcfunction | 2 +- .../damage_taken/dark_green.mcfunction | 2 +- .../damage_taken/dark_purple.mcfunction | 2 +- .../set_text/damage_taken/dark_red.mcfunction | 2 +- .../set_text/damage_taken/gold.mcfunction | 2 +- .../set_text/damage_taken/gray.mcfunction | 2 +- .../set_text/damage_taken/green.mcfunction | 2 +- .../damage_taken/light_purple.mcfunction | 2 +- .../set_text/damage_taken/red.mcfunction | 2 +- .../set_text/damage_taken/white.mcfunction | 2 +- .../set_text/damage_taken/yellow.mcfunction | 2 +- .../set_text/death_count/aqua.mcfunction | 2 +- .../set_text/death_count/black.mcfunction | 2 +- .../set_text/death_count/blue.mcfunction | 2 +- .../set_text/death_count/dark_aqua.mcfunction | 2 +- .../set_text/death_count/dark_blue.mcfunction | 2 +- .../set_text/death_count/dark_gray.mcfunction | 2 +- .../death_count/dark_green.mcfunction | 2 +- .../death_count/dark_purple.mcfunction | 2 +- .../set_text/death_count/dark_red.mcfunction | 2 +- .../set_text/death_count/gold.mcfunction | 2 +- .../set_text/death_count/gray.mcfunction | 2 +- .../set_text/death_count/green.mcfunction | 2 +- .../death_count/light_purple.mcfunction | 2 +- .../set_text/death_count/red.mcfunction | 2 +- .../set_text/death_count/white.mcfunction | 2 +- .../set_text/death_count/yellow.mcfunction | 2 +- .../set_text/dig_count/aqua.mcfunction | 2 +- .../set_text/dig_count/black.mcfunction | 2 +- .../set_text/dig_count/blue.mcfunction | 2 +- .../set_text/dig_count/dark_aqua.mcfunction | 2 +- .../set_text/dig_count/dark_blue.mcfunction | 2 +- .../set_text/dig_count/dark_gray.mcfunction | 2 +- .../set_text/dig_count/dark_green.mcfunction | 2 +- .../set_text/dig_count/dark_purple.mcfunction | 2 +- .../set_text/dig_count/dark_red.mcfunction | 2 +- .../set_text/dig_count/gold.mcfunction | 2 +- .../set_text/dig_count/gray.mcfunction | 2 +- .../set_text/dig_count/green.mcfunction | 2 +- .../dig_count/light_purple.mcfunction | 2 +- .../display/set_text/dig_count/red.mcfunction | 2 +- .../set_text/dig_count/white.mcfunction | 2 +- .../set_text/dig_count/yellow.mcfunction | 2 +- .../set_text/fishing_count/aqua.mcfunction | 2 +- .../set_text/fishing_count/black.mcfunction | 2 +- .../set_text/fishing_count/blue.mcfunction | 2 +- .../fishing_count/dark_aqua.mcfunction | 2 +- .../fishing_count/dark_blue.mcfunction | 2 +- .../fishing_count/dark_gray.mcfunction | 2 +- .../fishing_count/dark_green.mcfunction | 2 +- .../fishing_count/dark_purple.mcfunction | 2 +- .../fishing_count/dark_red.mcfunction | 2 +- .../set_text/fishing_count/gold.mcfunction | 2 +- .../set_text/fishing_count/gray.mcfunction | 2 +- .../set_text/fishing_count/green.mcfunction | 2 +- .../fishing_count/light_purple.mcfunction | 2 +- .../set_text/fishing_count/red.mcfunction | 2 +- .../set_text/fishing_count/white.mcfunction | 2 +- .../set_text/fishing_count/yellow.mcfunction | 2 +- .../display/set_text/general/aqua.mcfunction | 6 +- .../display/set_text/general/black.mcfunction | 6 +- .../display/set_text/general/blue.mcfunction | 6 +- .../set_text/general/dark_aqua.mcfunction | 6 +- .../set_text/general/dark_blue.mcfunction | 6 +- .../set_text/general/dark_gray.mcfunction | 6 +- .../set_text/general/dark_green.mcfunction | 6 +- .../set_text/general/dark_purple.mcfunction | 6 +- .../set_text/general/dark_red.mcfunction | 6 +- .../display/set_text/general/gold.mcfunction | 6 +- .../display/set_text/general/gray.mcfunction | 6 +- .../display/set_text/general/green.mcfunction | 6 +- .../set_text/general/light_purple.mcfunction | 6 +- .../display/set_text/general/red.mcfunction | 6 +- .../display/set_text/general/white.mcfunction | 6 +- .../set_text/general/yellow.mcfunction | 6 +- .../set_text/kill_count/aqua.mcfunction | 2 +- .../set_text/kill_count/black.mcfunction | 2 +- .../set_text/kill_count/blue.mcfunction | 2 +- .../set_text/kill_count/dark_aqua.mcfunction | 2 +- .../set_text/kill_count/dark_blue.mcfunction | 2 +- .../set_text/kill_count/dark_gray.mcfunction | 2 +- .../set_text/kill_count/dark_green.mcfunction | 2 +- .../kill_count/dark_purple.mcfunction | 2 +- .../set_text/kill_count/dark_red.mcfunction | 2 +- .../set_text/kill_count/gold.mcfunction | 2 +- .../set_text/kill_count/gray.mcfunction | 2 +- .../set_text/kill_count/green.mcfunction | 2 +- .../kill_count/light_purple.mcfunction | 2 +- .../set_text/kill_count/red.mcfunction | 2 +- .../set_text/kill_count/white.mcfunction | 2 +- .../set_text/kill_count/yellow.mcfunction | 2 +- .../set_text/placement_count/aqua.mcfunction | 6 +- .../set_text/placement_count/black.mcfunction | 6 +- .../set_text/placement_count/blue.mcfunction | 6 +- .../placement_count/dark_aqua.mcfunction | 6 +- .../placement_count/dark_blue.mcfunction | 6 +- .../placement_count/dark_gray.mcfunction | 6 +- .../placement_count/dark_green.mcfunction | 6 +- .../placement_count/dark_purple.mcfunction | 6 +- .../placement_count/dark_red.mcfunction | 6 +- .../set_text/placement_count/gold.mcfunction | 6 +- .../set_text/placement_count/gray.mcfunction | 6 +- .../set_text/placement_count/green.mcfunction | 6 +- .../placement_count/light_purple.mcfunction | 6 +- .../set_text/placement_count/red.mcfunction | 6 +- .../set_text/placement_count/white.mcfunction | 6 +- .../placement_count/yellow.mcfunction | 6 +- .../set_text/trade_count/aqua.mcfunction | 2 +- .../set_text/trade_count/black.mcfunction | 2 +- .../set_text/trade_count/blue.mcfunction | 2 +- .../set_text/trade_count/dark_aqua.mcfunction | 2 +- .../set_text/trade_count/dark_blue.mcfunction | 2 +- .../set_text/trade_count/dark_gray.mcfunction | 2 +- .../trade_count/dark_green.mcfunction | 2 +- .../trade_count/dark_purple.mcfunction | 2 +- .../set_text/trade_count/dark_red.mcfunction | 2 +- .../set_text/trade_count/gold.mcfunction | 2 +- .../set_text/trade_count/gray.mcfunction | 2 +- .../set_text/trade_count/green.mcfunction | 2 +- .../trade_count/light_purple.mcfunction | 2 +- .../set_text/trade_count/red.mcfunction | 2 +- .../set_text/trade_count/white.mcfunction | 2 +- .../set_text/trade_count/yellow.mcfunction | 2 +- .../module/scoreboard/install.mcfunction | 4 +- .../scoreboard/interactor/display.mcfunction | 4 +- .../scoreboard/interactor/on_click.mcfunction | 3 +- .../interactor/show_my_scores.mcfunction | 9 + .../subscribe/activation.mcfunction | 2 +- .../subscribe/aviating_distance.mcfunction | 2 +- .../interactor/subscribe/carousel.mcfunction | 2 +- .../subscribe/damage_taken.mcfunction | 2 +- .../subscribe/death_count.mcfunction | 2 +- .../interactor/subscribe/dig_count.mcfunction | 2 +- .../subscribe/fishing_count.mcfunction | 2 +- .../interactor/subscribe/general.mcfunction | 2 +- .../subscribe/kill_count.mcfunction | 2 +- .../subscribe/placement_count.mcfunction | 2 +- .../subscribe/trade_count.mcfunction | 2 +- .../module/scoreboard/load.mcfunction | 20 +- .../sweeper/interactor/display_0.mcfunction | 14 +- .../functions/system/install/post.mcfunction | 5 + .../functions/system/load/post.mcfunction | 2 + .../system/uninstall/post.mcfunction | 5 + .../predicate/in_dimension_overworld.json | 9 + .../predicate/in_dimension_the_nether.json | 9 + data/fzsd/predicate/is_fake_player.json | 7 + data/fzsd/predicate/is_real_player.json | 7 + data/fzsd/predicate/is_shadow_player.json | 7 + data/fzsd/predicate/not_real_player.json | 13 + data/fzsd/predicate/sweeper/whitelist.json | 109 +++++++ data/fzsd/predicate/used_tool.json | 284 ++++++++++++++++++ data/fzsd/tags/block/liquid.json | 7 + data/fzsd/tags/block/stripped_blocks.json | 25 ++ .../ignore_on_player_killed_entity.json | 13 + .../after.json => entity_type/shearable.json} | 2 +- .../function/api/get_current_daytime.json | 6 + .../function/api/get_current_gametime.json | 6 + .../tags/function/api/get_dimension_name.json | 9 + .../minecraft/overworld.json | 6 + .../get_dimension_name/minecraft/the_end.json | 6 + .../minecraft/the_nether.json | 6 + .../function/api/get_player_dimension.json | 6 + .../function/api/get_time_since_rest.json | 6 + .../after.json => function/api/install.json} | 2 +- data/fzsd/tags/function/api/uninstall.json | 6 + .../calculation/highest_id_add_1.json | 6 + data/fzsd/tags/function/deep_install.json | 10 + data/fzsd/tags/function/deep_reinstall.json | 9 + data/fzsd/tags/function/deep_uninstall.json | 10 + .../advancement/reset_advancements.json | 6 + .../function/game_event/game/on_night.json | 6 + .../tags/function/game_event/install.json | 6 + .../tags/function/game_event/on_tick.json | 6 + .../player/on_aviate_one_meter.json | 6 + .../player/on_broke_block_with_tool.json | 6 + .../calculate_dig_score.json | 6 + .../function/game_event/player/on_dead.json | 6 + .../player/on_entered_nether_portal.json | 6 + .../function/game_event/player/on_fished.json | 6 + .../player/on_hurt_entity_with_tools.json} | 0 .../player/on_killed_mob_or_player.json | 6 + .../function/game_event/player/on_login.json | 8 + .../game_event/player/on_piglin_trade.json | 6 + .../game_event/player/on_placed_block.json | 5 + .../game_event/player/on_placed_liquid.json | 5 + .../game_event/player/on_placed_solid.json | 6 + .../game_event/player/on_play_one_hour.json | 6 + .../player/on_shears_used_on_entity.json} | 0 .../game_event/player/on_sleeping.json} | 0 .../function/game_event/player/on_sneak.json | 6 + .../game_event/player/on_took_damage.json | 6 + .../player/on_tools_right_click_used.json | 6 + .../player/on_tools_used_on_block.json | 5 + .../game_event/player/on_unsneak.json | 7 + .../game_event/player/on_used_tool.json | 7 + .../player/on_used_tool/reset_used_tool.json | 6 + .../game_event/player/on_villager_trade.json | 6 + .../tags/function/game_event/reset_all.json | 7 + .../tags/function/game_event/uninstall.json | 6 + data/fzsd/tags/function/install.json | 10 + data/fzsd/tags/function/load.json | 10 + .../fzsd/tags/function/logger/clear_data.json | 6 + data/fzsd/tags/function/logger/install.json | 6 + data/fzsd/tags/function/logger/uninstall.json | 6 + .../tags/function/module/health/install.json | 6 + .../tags/function/module/health/load.json | 7 + .../module/health/set_health_name.json | 9 + .../function/module/health/uninstall.json | 6 + .../module/here/get_dimension_message.json | 7 + .../function/module/here/get_message.json | 9 + .../function/module/here/global_message.json | 7 + .../tags/function/module/here/install.json | 6 + .../module/here/interactor/display.json | 6 + .../module/here/interactor/on_click.json | 6 + .../function/module/here/private_message.json | 7 + .../tags/function/module/here/uninstall.json | 6 + .../module/interactor/event/on_click.json | 13 + .../module/interactor/event/on_display.json | 14 + .../interactor/event/on_start_interact.json | 7 + .../interactor/event/reset_advancements.json | 6 + .../function/module/interactor/install.json | 7 + .../tags/function/module/interactor/load.json | 7 + .../module/interactor/reset_trigger.json | 6 + .../function/module/interactor/uninstall.json | 7 + .../function/module/join_message/install.json | 6 + .../module/join_message/send_message.json | 6 + .../module/join_message/uninstall.json | 6 + .../module/last_death/get_death_point.json | 7 + .../function/module/last_death/install.json | 6 + .../module/last_death/interactor/display.json | 6 + .../last_death/interactor/on_click.json | 6 + .../module/last_death/private_message.json | 7 + .../function/module/last_death/uninstall.json | 6 + .../event/on_entered_nether_portal.json | 8 + .../last_nether_portal/get_message.json | 7 + .../last_nether_portal/global_message.json | 7 + .../module/last_nether_portal/install.json | 6 + .../interactor/display.json | 6 + .../interactor/on_click.json | 6 + .../last_nether_portal/private_message.json | 7 + .../module/last_nether_portal/uninstall.json | 6 + .../last_spawn_point/get_spawn_point.json | 7 + .../module/last_spawn_point/install.json | 6 + .../last_spawn_point/interactor/display.json | 6 + .../last_spawn_point/interactor/on_click.json | 6 + .../last_spawn_point/private_message.json | 7 + .../module/last_spawn_point/uninstall.json | 6 + .../check_time_since_rest.json | 6 + .../phantom_warning/event/on_night.json | 6 + .../module/phantom_warning/install.json | 6 + .../phantom_warning/interactor/display.json | 6 + .../phantom_warning/interactor/on_click.json | 6 + .../phantom_warning/send_phantom_warning.json | 7 + .../module/phantom_warning/uninstall.json | 6 + .../assign/scoreboard/activation.json | 7 + .../assign/scoreboard/aviating_distance.json | 7 + .../assign/scoreboard/damage_taken.json | 7 + .../assign/scoreboard/death_count.json | 7 + .../assign/scoreboard/dig_count.json | 7 + .../assign/scoreboard/fishing_count.json | 7 + .../assign/scoreboard/general/activation.json | 8 + .../scoreboard/general/aviating_distance.json | 8 + .../general/bedrock_broke_count.json | 7 + .../scoreboard/general/damage_taken.json | 8 + .../scoreboard/general/death_count.json | 8 + .../assign/scoreboard/general/dig_count.json | 8 + .../scoreboard/general/fishing_count.json | 8 + .../assign/scoreboard/general/kill_count.json | 8 + .../scoreboard/general/placement_count.json | 8 + .../scoreboard/general/trade_count.json | 8 + .../assign/scoreboard/kill_count.json | 7 + .../assign/scoreboard/placement_count.json | 7 + .../assign/scoreboard/trade_count.json | 7 + .../module/scoreboard/clear_data.json | 8 + .../display/carousel/try_display.json | 16 + .../scoreboard/display/register_id.json | 12 + .../module/scoreboard/display/set_text.json | 21 ++ .../display/set_text/activation.json | 13 + .../display/set_text/aviating_distance.json | 13 + .../scoreboard/display/set_text/carousel.json | 13 + .../display/set_text/damage_taken.json | 13 + .../display/set_text/death_count.json | 13 + .../display/set_text/dig_count.json | 13 + .../display/set_text/fishing_count.json | 13 + .../scoreboard/display/set_text/general.json | 13 + .../display/set_text/kill_count.json | 13 + .../display/set_text/placement_count.json | 6 + .../display/set_text/trade_count.json | 13 + .../function/module/scoreboard/install.json | 8 + .../module/scoreboard/interactor/display.json | 7 + .../scoreboard/interactor/on_click.json | 7 + .../scoreboard/interactor/show_my_scores.json | 6 + .../interactor/subscribe/activation.json | 6 + .../subscribe/aviating_distance.json | 6 + .../interactor/subscribe/carousel.json | 6 + .../interactor/subscribe/damage_taken.json | 6 + .../interactor/subscribe/death_count.json | 6 + .../interactor/subscribe/dig_count.json | 6 + .../interactor/subscribe/fishing_count.json | 6 + .../interactor/subscribe/general.json | 6 + .../interactor/subscribe/kill_count.json | 6 + .../scoreboard/interactor/subscribe/off.json | 6 + .../interactor/subscribe/placement_count.json | 6 + .../interactor/subscribe/trade_count.json | 6 + .../tags/function/module/scoreboard/load.json | 12 + .../function/module/scoreboard/uninstall.json | 8 + .../tags/function/module/sweeper/install.json | 7 + .../module/sweeper/interactor/display.json | 6 + .../module/sweeper/interactor/on_click.json | 6 + .../tags/function/module/sweeper/load.json | 6 + .../function/module/sweeper/start_loop.json | 9 + .../function/module/sweeper/stop_loop.json | 6 + .../tags/function/module/sweeper/sweep.json | 6 + .../function/module/sweeper/uninstall.json | 7 + data/fzsd/tags/function/reinstall.json | 8 + .../function/system/install/module/force.json | 15 + .../function/system/install/module/try.json | 15 + .../tags/function/system/install/post.json | 6 + .../tags/function/system/install/pre.json | 6 + .../tags/function/system/install/system.json | 9 + .../tags/function/system/load/module/try.json | 9 + data/fzsd/tags/function/system/load/post.json | 6 + data/fzsd/tags/function/system/load/pre.json | 6 + .../tags/function/system/load/system.json | 8 + .../function/system/uninstall/module.json | 14 + .../system/uninstall/post.json} | 2 +- .../tags/function/system/uninstall/pre.json | 6 + .../function/system/uninstall/system.json | 9 + data/fzsd/tags/function/uninstall.json | 12 + data/fzsd/tags/function/update.json | 6 + data/fzsd/tags/functions/deep_install.json | 4 +- data/fzsd/tags/functions/deep_uninstall.json | 4 +- data/fzsd/tags/functions/install.json | 6 +- data/fzsd/tags/functions/load.json | 6 +- .../scoreboard/interactor/show_my_scores.json | 6 + .../tags/functions/system/install/post.json | 6 + .../tags/functions/system/install/pre.json | 6 + .../fzsd/tags/functions/system/load/post.json | 6 + data/fzsd/tags/functions/system/load/pre.json | 6 + .../tags/functions/system/uninstall/post.json | 7 + .../tags/functions/system/uninstall/pre.json | 6 + data/fzsd/tags/functions/uninstall.json | 6 +- data/fzsd/tags/item/bucket_of_liquid.json | 9 + data/fzsd/tags/item/bucket_of_mob.json | 11 + data/fzsd/tags/item/raw_fishes.json | 8 + data/fzsd/tags/item/tool/axes.json | 11 + data/fzsd/tags/item/tool/hoes.json | 11 + data/fzsd/tags/item/tool/pickaxes.json | 11 + data/fzsd/tags/item/tool/shears.json | 6 + data/fzsd/tags/item/tool/shovels.json | 11 + data/fzsd/tags/item/tool/swords.json | 11 + data/fzsd/tags/item/tools.json | 11 + data/fzsd/tags/item/tools_exclude_axes.json | 10 + data/minecraft/tags/function/load.json | 6 + pack.mcmeta | 17 +- scripts/fzsd_score.sc | 18 +- 919 files changed, 6094 insertions(+), 386 deletions(-) create mode 100644 data/admin.fzsd/function/admin.mcfunction create mode 100644 data/admin.fzsd/function/carpet_settings_preset.mcfunction create mode 100644 data/admin.fzsd/function/module/health/below_name/off.mcfunction create mode 100644 data/admin.fzsd/function/module/health/below_name/on.mcfunction create mode 100644 data/admin.fzsd/function/module/health/list/off.mcfunction create mode 100644 data/admin.fzsd/function/module/health/list/on.mcfunction create mode 100644 data/fzsd.extra.bbl/advancement/broke_bedrock.json create mode 100644 data/fzsd.extra.bbl/function/assign/bbl.mcfunction create mode 100644 data/fzsd.extra.bbl/function/assign/general.mcfunction create mode 100644 data/fzsd.extra.bbl/function/clear_data.mcfunction create mode 100644 data/fzsd.extra.bbl/function/display/carousel/set_display.mcfunction create mode 100644 data/fzsd.extra.bbl/function/display/carousel/try_display.mcfunction create mode 100644 data/fzsd.extra.bbl/function/display/register_id.mcfunction create mode 100644 data/fzsd.extra.bbl/function/display/set_text/aqua.mcfunction create mode 100644 data/fzsd.extra.bbl/function/display/set_text/black.mcfunction create mode 100644 data/fzsd.extra.bbl/function/display/set_text/blue.mcfunction create mode 100644 data/fzsd.extra.bbl/function/display/set_text/dark_aqua.mcfunction create mode 100644 data/fzsd.extra.bbl/function/display/set_text/dark_blue.mcfunction create mode 100644 data/fzsd.extra.bbl/function/display/set_text/dark_gray.mcfunction create mode 100644 data/fzsd.extra.bbl/function/display/set_text/dark_green.mcfunction create mode 100644 data/fzsd.extra.bbl/function/display/set_text/dark_purple.mcfunction create mode 100644 data/fzsd.extra.bbl/function/display/set_text/dark_red.mcfunction create mode 100644 data/fzsd.extra.bbl/function/display/set_text/gold.mcfunction create mode 100644 data/fzsd.extra.bbl/function/display/set_text/gray.mcfunction create mode 100644 data/fzsd.extra.bbl/function/display/set_text/green.mcfunction create mode 100644 data/fzsd.extra.bbl/function/display/set_text/light_purple.mcfunction create mode 100644 data/fzsd.extra.bbl/function/display/set_text/red.mcfunction create mode 100644 data/fzsd.extra.bbl/function/display/set_text/white.mcfunction create mode 100644 data/fzsd.extra.bbl/function/display/set_text/yellow.mcfunction create mode 100644 data/fzsd.extra.bbl/function/event/advancement/broke_bedrock.mcfunction create mode 100644 data/fzsd.extra.bbl/function/event/player/broke_bedrock.mcfunction create mode 100644 data/fzsd.extra.bbl/function/install.mcfunction create mode 100644 data/fzsd.extra.bbl/function/interactor/display.mcfunction create mode 100644 data/fzsd.extra.bbl/function/interactor/on_click.mcfunction create mode 100644 data/fzsd.extra.bbl/function/interactor/subscribe.mcfunction create mode 100644 data/fzsd.extra.bbl/function/load.mcfunction create mode 100644 data/fzsd.extra.bbl/function/try_install.mcfunction create mode 100644 data/fzsd.extra.bbl/function/uninstall.mcfunction create mode 100644 data/fzsd.extra.bbl/tags/function/display/set_text.json create mode 100644 data/fzsd.extra.bbl/tags/function/event/broke_bedrock.json create mode 100644 data/fzsd/advancement/game_event.json create mode 100644 data/fzsd/advancement/game_event/on_aviate_one_meter.json create mode 100644 data/fzsd/advancement/game_event/on_dead.json create mode 100644 data/fzsd/advancement/game_event/on_entered_nether_portal.json create mode 100644 data/fzsd/advancement/game_event/on_fished.json create mode 100644 data/fzsd/advancement/game_event/on_hurt_entity_with_tools.json create mode 100644 data/fzsd/advancement/game_event/on_killed_mob_or_player.json create mode 100644 data/fzsd/advancement/game_event/on_login.json create mode 100644 data/fzsd/advancement/game_event/on_piglin_trade.json create mode 100644 data/fzsd/advancement/game_event/on_placed_block.json create mode 100644 data/fzsd/advancement/game_event/on_placed_block/on_placed_liquid.json create mode 100644 data/fzsd/advancement/game_event/on_placed_block/on_placed_solid.json create mode 100644 data/fzsd/advancement/game_event/on_play_one_hour.json create mode 100644 data/fzsd/advancement/game_event/on_shears_used_on_entity.json create mode 100644 data/fzsd/advancement/game_event/on_sleeping.json create mode 100644 data/fzsd/advancement/game_event/on_sneak.json create mode 100644 data/fzsd/advancement/game_event/on_took_damage.json create mode 100644 data/fzsd/advancement/game_event/on_tools_used_on_block.json create mode 100644 data/fzsd/advancement/game_event/on_unsneak.json create mode 100644 data/fzsd/advancement/game_event/on_used_tool.json create mode 100644 data/fzsd/advancement/game_event/on_villager_trade.json create mode 100644 data/fzsd/advancement/module/interactor.json create mode 100644 data/fzsd/advancement/module/interactor/on_click.json create mode 100644 data/fzsd/function/api/get_current_daytime.mcfunction create mode 100644 data/fzsd/function/api/get_current_gametime.mcfunction create mode 100644 data/fzsd/function/api/get_dimension_name/default.mcfunction create mode 100644 data/fzsd/function/api/get_dimension_name/minecraft/overworld.mcfunction create mode 100644 data/fzsd/function/api/get_dimension_name/minecraft/the_end.mcfunction create mode 100644 data/fzsd/function/api/get_dimension_name/minecraft/the_nether.mcfunction create mode 100644 data/fzsd/function/api/get_player_dimension.mcfunction create mode 100644 data/fzsd/function/api/get_time_since_rest.mcfunction create mode 100644 data/fzsd/function/api/install.mcfunction create mode 100644 data/fzsd/function/api/uninstall.mcfunction create mode 100644 data/fzsd/function/boot.mcfunction create mode 100644 data/fzsd/function/entry.mcfunction create mode 100644 data/fzsd/function/game_event/advancement/on_aviate_one_meter.mcfunction create mode 100644 data/fzsd/function/game_event/advancement/on_dead.mcfunction create mode 100644 data/fzsd/function/game_event/advancement/on_entered_nether_portal.mcfunction create mode 100644 data/fzsd/function/game_event/advancement/on_fished.mcfunction create mode 100644 data/fzsd/function/game_event/advancement/on_hurt_entity_with_tools.mcfunction create mode 100644 data/fzsd/function/game_event/advancement/on_killed_mob_or_player.mcfunction create mode 100644 data/fzsd/function/game_event/advancement/on_login.mcfunction create mode 100644 data/fzsd/function/game_event/advancement/on_piglin_trade.mcfunction create mode 100644 data/fzsd/function/game_event/advancement/on_placed_block.mcfunction create mode 100644 data/fzsd/function/game_event/advancement/on_placed_block/on_placed_liquid.mcfunction create mode 100644 data/fzsd/function/game_event/advancement/on_placed_block/on_placed_solid.mcfunction create mode 100644 data/fzsd/function/game_event/advancement/on_play_one_hour.mcfunction create mode 100644 data/fzsd/function/game_event/advancement/on_shears_used_on_entity.mcfunction create mode 100644 data/fzsd/function/game_event/advancement/on_sleeping.mcfunction create mode 100644 data/fzsd/function/game_event/advancement/on_sneak.mcfunction create mode 100644 data/fzsd/function/game_event/advancement/on_took_damage.mcfunction create mode 100644 data/fzsd/function/game_event/advancement/on_tools_used_on_block.mcfunction create mode 100644 data/fzsd/function/game_event/advancement/on_unsneak.mcfunction create mode 100644 data/fzsd/function/game_event/advancement/on_used_tool.mcfunction create mode 100644 data/fzsd/function/game_event/advancement/on_villager_trade.mcfunction create mode 100644 data/fzsd/function/game_event/advancement/reset_advancements.mcfunction create mode 100644 data/fzsd/function/game_event/game/on_night.mcfunction create mode 100644 data/fzsd/function/game_event/game/on_night/on_tick.mcfunction create mode 100644 data/fzsd/function/game_event/install.mcfunction create mode 100644 data/fzsd/function/game_event/load.mcfunction create mode 100644 data/fzsd/function/game_event/on_tick.mcfunction create mode 100644 data/fzsd/function/game_event/player/on_aviate_one_meter.mcfunction create mode 100644 data/fzsd/function/game_event/player/on_broke_block_with_tool.mcfunction create mode 100644 data/fzsd/function/game_event/player/on_broke_block_with_tool/calculate_dig_score.mcfunction create mode 100644 data/fzsd/function/game_event/player/on_broke_block_with_tool/try_trigger.mcfunction create mode 100644 data/fzsd/function/game_event/player/on_dead.mcfunction create mode 100644 data/fzsd/function/game_event/player/on_login.mcfunction create mode 100644 data/fzsd/function/game_event/player/on_play_one_hour.mcfunction create mode 100644 data/fzsd/function/game_event/player/on_took_damage.mcfunction create mode 100644 data/fzsd/function/game_event/player/on_used_tool.mcfunction create mode 100644 data/fzsd/function/game_event/player/on_used_tool/reset_used_tool.mcfunction create mode 100644 data/fzsd/function/game_event/uninstall.mcfunction create mode 100644 data/fzsd/function/logger/clear_data.mcfunction create mode 100644 data/fzsd/function/logger/install.mcfunction create mode 100644 data/fzsd/function/logger/level/debug.mcfunction create mode 100644 data/fzsd/function/logger/level/fine.mcfunction create mode 100644 data/fzsd/function/logger/level/info.mcfunction create mode 100644 data/fzsd/function/logger/load.mcfunction create mode 100644 data/fzsd/function/logger/uninstall.mcfunction create mode 100644 data/fzsd/function/module/health/install.mcfunction create mode 100644 data/fzsd/function/module/health/load.mcfunction create mode 100644 data/fzsd/function/module/health/set_health_name/default.mcfunction create mode 100644 data/fzsd/function/module/health/set_health_name/preset_1.mcfunction create mode 100644 data/fzsd/function/module/health/set_health_name/preset_2.mcfunction create mode 100644 data/fzsd/function/module/health/set_health_name/preset_3.mcfunction create mode 100644 data/fzsd/function/module/health/set_health_name/preset_4.mcfunction create mode 100644 data/fzsd/function/module/health/set_health_name/preset_5.mcfunction create mode 100644 data/fzsd/function/module/health/try_install.mcfunction create mode 100644 data/fzsd/function/module/health/try_load.mcfunction create mode 100644 data/fzsd/function/module/health/uninstall.mcfunction create mode 100644 data/fzsd/function/module/here/get_dimension_message/if_overworld.mcfunction create mode 100644 data/fzsd/function/module/here/get_dimension_message/if_the_nether.mcfunction create mode 100644 data/fzsd/function/module/here/get_dimension_message/overworld.mcfunction create mode 100644 data/fzsd/function/module/here/get_dimension_message/the_nether.mcfunction create mode 100644 data/fzsd/function/module/here/get_message.mcfunction create mode 100644 data/fzsd/function/module/here/global_message.mcfunction create mode 100644 data/fzsd/function/module/here/install.mcfunction create mode 100644 data/fzsd/function/module/here/interactor/display.mcfunction create mode 100644 data/fzsd/function/module/here/interactor/on_click.mcfunction create mode 100644 data/fzsd/function/module/here/private_message.mcfunction create mode 100644 data/fzsd/function/module/here/try_install.mcfunction create mode 100644 data/fzsd/function/module/here/uninstall.mcfunction create mode 100644 data/fzsd/function/module/interactor/event/advamcement/on_click.mcfunction create mode 100644 data/fzsd/function/module/interactor/event/on_click.mcfunction create mode 100644 data/fzsd/function/module/interactor/event/on_unsneak/on_unsneak.mcfunction create mode 100644 data/fzsd/function/module/interactor/event/reset_advancements.mcfunction create mode 100644 data/fzsd/function/module/interactor/install.mcfunction create mode 100644 data/fzsd/function/module/interactor/interactor/display.mcfunction create mode 100644 data/fzsd/function/module/interactor/interactor/on_click.mcfunction create mode 100644 data/fzsd/function/module/interactor/load.mcfunction create mode 100644 data/fzsd/function/module/interactor/reset_trigger.mcfunction create mode 100644 data/fzsd/function/module/interactor/try_install.mcfunction create mode 100644 data/fzsd/function/module/interactor/try_load.mcfunction create mode 100644 data/fzsd/function/module/interactor/uninstall.mcfunction create mode 100644 data/fzsd/function/module/join_message/default_message.mcfunction create mode 100644 data/fzsd/function/module/join_message/event/on_login/on_login.mcfunction create mode 100644 data/fzsd/function/module/join_message/install.mcfunction create mode 100644 data/fzsd/function/module/join_message/try_install.mcfunction create mode 100644 data/fzsd/function/module/join_message/uninstall.mcfunction create mode 100644 data/fzsd/function/module/last_death/get_death_point.mcfunction create mode 100644 data/fzsd/function/module/last_death/install.mcfunction create mode 100644 data/fzsd/function/module/last_death/interactor/display.mcfunction create mode 100644 data/fzsd/function/module/last_death/interactor/on_click.mcfunction create mode 100644 data/fzsd/function/module/last_death/private_message.mcfunction create mode 100644 data/fzsd/function/module/last_death/try_install.mcfunction create mode 100644 data/fzsd/function/module/last_death/uninstall.mcfunction create mode 100644 data/fzsd/function/module/last_nether_portal/event/on_entered_nether_portal.mcfunction create mode 100644 data/fzsd/function/module/last_nether_portal/get_message.mcfunction create mode 100644 data/fzsd/function/module/last_nether_portal/global_message.mcfunction create mode 100644 data/fzsd/function/module/last_nether_portal/install.mcfunction create mode 100644 data/fzsd/function/module/last_nether_portal/interactor/display.mcfunction create mode 100644 data/fzsd/function/module/last_nether_portal/interactor/on_click.mcfunction create mode 100644 data/fzsd/function/module/last_nether_portal/private_message.mcfunction create mode 100644 data/fzsd/function/module/last_nether_portal/try_install.mcfunction create mode 100644 data/fzsd/function/module/last_nether_portal/uninstall.mcfunction create mode 100644 data/fzsd/function/module/last_spawn_point/get_spawn_point.mcfunction create mode 100644 data/fzsd/function/module/last_spawn_point/install.mcfunction create mode 100644 data/fzsd/function/module/last_spawn_point/interactor/display.mcfunction create mode 100644 data/fzsd/function/module/last_spawn_point/interactor/on_click.mcfunction create mode 100644 data/fzsd/function/module/last_spawn_point/private_message.mcfunction create mode 100644 data/fzsd/function/module/last_spawn_point/try_install.mcfunction create mode 100644 data/fzsd/function/module/last_spawn_point/uninstall.mcfunction create mode 100644 data/fzsd/function/module/phantom_warning/check_time_since_rest.mcfunction create mode 100644 data/fzsd/function/module/phantom_warning/event/on_night.mcfunction create mode 100644 data/fzsd/function/module/phantom_warning/install.mcfunction create mode 100644 data/fzsd/function/module/phantom_warning/interactor/display.mcfunction create mode 100644 data/fzsd/function/module/phantom_warning/interactor/display_0.mcfunction create mode 100644 data/fzsd/function/module/phantom_warning/interactor/on_click.mcfunction create mode 100644 data/fzsd/function/module/phantom_warning/send_phantom_warning.mcfunction create mode 100644 data/fzsd/function/module/phantom_warning/try_install.mcfunction create mode 100644 data/fzsd/function/module/phantom_warning/uninstall.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/assign/scoreboard/activation.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/assign/scoreboard/aviating_distance.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/assign/scoreboard/damage_taken.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/assign/scoreboard/death_count.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/assign/scoreboard/dig_count.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/assign/scoreboard/fishing_count.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/assign/scoreboard/general/activation.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/assign/scoreboard/general/aviating_distance.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/assign/scoreboard/general/damage_taken.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/assign/scoreboard/general/death_count.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/assign/scoreboard/general/dig_count.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/assign/scoreboard/general/fishing_count.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/assign/scoreboard/general/kill_count.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/assign/scoreboard/general/placement_count.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/assign/scoreboard/general/trade_count.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/assign/scoreboard/kill_count.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/assign/scoreboard/placement_count.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/assign/scoreboard/trade_count.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/clear_data.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/carousel/loop.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/carousel/set_display/activation.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/carousel/set_display/aviating_distance.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/carousel/set_display/damage_taken.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/carousel/set_display/death_count.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/carousel/set_display/dig_count.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/carousel/set_display/fishing_count.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/carousel/set_display/general.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/carousel/set_display/kill_count.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/carousel/set_display/placement_count.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/carousel/set_display/trade_count.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/carousel/try_display/activation.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/carousel/try_display/aviating_distance.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/carousel/try_display/damage_taken.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/carousel/try_display/death_count.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/carousel/try_display/dig_count.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/carousel/try_display/fishing_count.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/carousel/try_display/general.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/carousel/try_display/kill_count.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/carousel/try_display/placement_count.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/carousel/try_display/trade_count.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/highest_id_add_1.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/register_id.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/reset_id.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/activation/aqua.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/activation/black.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/activation/blue.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/activation/dark_aqua.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/activation/dark_blue.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/activation/dark_gray.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/activation/dark_green.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/activation/dark_purple.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/activation/dark_red.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/activation/gold.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/activation/gray.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/activation/green.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/activation/light_purple.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/activation/red.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/activation/white.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/activation/yellow.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/aqua.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/black.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/blue.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/dark_aqua.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/dark_blue.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/dark_gray.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/dark_green.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/dark_purple.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/dark_red.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/gold.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/gray.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/green.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/light_purple.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/red.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/white.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/yellow.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/carousel/aqua.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/carousel/black.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/carousel/blue.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/carousel/dark_aqua.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/carousel/dark_blue.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/carousel/dark_gray.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/carousel/dark_green.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/carousel/dark_purple.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/carousel/dark_red.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/carousel/gold.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/carousel/gray.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/carousel/green.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/carousel/light_purple.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/carousel/red.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/carousel/white.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/carousel/yellow.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/damage_taken/aqua.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/damage_taken/black.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/damage_taken/blue.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/damage_taken/dark_aqua.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/damage_taken/dark_blue.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/damage_taken/dark_gray.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/damage_taken/dark_green.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/damage_taken/dark_purple.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/damage_taken/dark_red.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/damage_taken/gold.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/damage_taken/gray.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/damage_taken/green.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/damage_taken/light_purple.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/damage_taken/red.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/damage_taken/white.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/damage_taken/yellow.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/death_count/aqua.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/death_count/black.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/death_count/blue.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/death_count/dark_aqua.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/death_count/dark_blue.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/death_count/dark_gray.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/death_count/dark_green.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/death_count/dark_purple.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/death_count/dark_red.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/death_count/gold.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/death_count/gray.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/death_count/green.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/death_count/light_purple.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/death_count/red.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/death_count/white.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/death_count/yellow.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/dig_count/aqua.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/dig_count/black.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/dig_count/blue.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/dig_count/dark_aqua.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/dig_count/dark_blue.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/dig_count/dark_gray.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/dig_count/dark_green.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/dig_count/dark_purple.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/dig_count/dark_red.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/dig_count/gold.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/dig_count/gray.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/dig_count/green.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/dig_count/light_purple.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/dig_count/red.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/dig_count/white.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/dig_count/yellow.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/fishing_count/aqua.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/fishing_count/black.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/fishing_count/blue.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/fishing_count/dark_aqua.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/fishing_count/dark_blue.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/fishing_count/dark_gray.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/fishing_count/dark_green.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/fishing_count/dark_purple.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/fishing_count/dark_red.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/fishing_count/gold.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/fishing_count/gray.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/fishing_count/green.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/fishing_count/light_purple.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/fishing_count/red.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/fishing_count/white.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/fishing_count/yellow.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/general/aqua.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/general/black.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/general/blue.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/general/dark_aqua.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/general/dark_blue.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/general/dark_gray.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/general/dark_green.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/general/dark_purple.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/general/dark_red.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/general/gold.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/general/gray.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/general/green.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/general/light_purple.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/general/red.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/general/white.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/general/yellow.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/kill_count/aqua.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/kill_count/black.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/kill_count/blue.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/kill_count/dark_aqua.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/kill_count/dark_blue.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/kill_count/dark_gray.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/kill_count/dark_green.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/kill_count/dark_purple.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/kill_count/dark_red.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/kill_count/gold.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/kill_count/gray.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/kill_count/green.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/kill_count/light_purple.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/kill_count/red.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/kill_count/white.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/kill_count/yellow.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/placement_count/aqua.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/placement_count/black.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/placement_count/blue.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/placement_count/dark_aqua.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/placement_count/dark_blue.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/placement_count/dark_gray.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/placement_count/dark_green.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/placement_count/dark_purple.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/placement_count/dark_red.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/placement_count/gold.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/placement_count/gray.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/placement_count/green.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/placement_count/light_purple.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/placement_count/red.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/placement_count/white.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/placement_count/yellow.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/trade_count/aqua.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/trade_count/black.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/trade_count/blue.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/trade_count/dark_aqua.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/trade_count/dark_blue.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/trade_count/dark_gray.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/trade_count/dark_green.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/trade_count/dark_purple.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/trade_count/dark_red.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/trade_count/gold.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/trade_count/gray.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/trade_count/green.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/trade_count/light_purple.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/trade_count/red.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/trade_count/white.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/display/set_text/trade_count/yellow.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/install.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/interactor/display.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/interactor/on_click.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/interactor/show_my_scores.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/interactor/subscribe/activation.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/interactor/subscribe/aviating_distance.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/interactor/subscribe/carousel.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/interactor/subscribe/damage_taken.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/interactor/subscribe/death_count.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/interactor/subscribe/dig_count.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/interactor/subscribe/fishing_count.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/interactor/subscribe/general.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/interactor/subscribe/kill_count.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/interactor/subscribe/off.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/interactor/subscribe/placement_count.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/interactor/subscribe/trade_count.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/load.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/try_install.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/try_load.mcfunction create mode 100644 data/fzsd/function/module/scoreboard/uninstall.mcfunction create mode 100644 data/fzsd/function/module/sweeper/bossbar.mcfunction create mode 100644 data/fzsd/function/module/sweeper/clear.mcfunction create mode 100644 data/fzsd/function/module/sweeper/install.mcfunction create mode 100644 data/fzsd/function/module/sweeper/interactor/display.mcfunction create mode 100644 data/fzsd/function/module/sweeper/interactor/display_0.mcfunction create mode 100644 data/fzsd/function/module/sweeper/interactor/on_click.mcfunction create mode 100644 data/fzsd/function/module/sweeper/load.mcfunction create mode 100644 data/fzsd/function/module/sweeper/main.mcfunction create mode 100644 data/fzsd/function/module/sweeper/pre_loop.mcfunction create mode 100644 data/fzsd/function/module/sweeper/start_timer.mcfunction create mode 100644 data/fzsd/function/module/sweeper/sweep.mcfunction create mode 100644 data/fzsd/function/module/sweeper/timer/10s.mcfunction create mode 100644 data/fzsd/function/module/sweeper/timer/1min.mcfunction create mode 100644 data/fzsd/function/module/sweeper/timer/1s.mcfunction create mode 100644 data/fzsd/function/module/sweeper/timer/2min.mcfunction create mode 100644 data/fzsd/function/module/sweeper/timer/2s.mcfunction create mode 100644 data/fzsd/function/module/sweeper/timer/30s.mcfunction create mode 100644 data/fzsd/function/module/sweeper/timer/3min.mcfunction create mode 100644 data/fzsd/function/module/sweeper/timer/3s.mcfunction create mode 100644 data/fzsd/function/module/sweeper/timer/4min.mcfunction create mode 100644 data/fzsd/function/module/sweeper/timer/4s.mcfunction create mode 100644 data/fzsd/function/module/sweeper/timer/5s.mcfunction create mode 100644 data/fzsd/function/module/sweeper/try_install.mcfunction create mode 100644 data/fzsd/function/module/sweeper/try_load.mcfunction create mode 100644 data/fzsd/function/module/sweeper/uninstall.mcfunction create mode 100644 data/fzsd/function/system/carpet/settings_preset.mcfunction create mode 100644 data/fzsd/function/system/carpet/try_load_fzsd_score.mcfunction create mode 100644 data/fzsd/function/system/install/install.mcfunction rename data/fzsd/{functions/system/install/after.mcfunction => function/system/install/post.mcfunction} (100%) create mode 100644 data/fzsd/function/system/load/load.mcfunction rename data/fzsd/{functions/system/load/after.mcfunction => function/system/load/post.mcfunction} (100%) create mode 100644 data/fzsd/function/system/uninstall/cache_module_install_data.mcfunction rename data/fzsd/{functions/system/uninstall/after.mcfunction => function/system/uninstall/post.mcfunction} (100%) create mode 100644 data/fzsd/function/system/uninstall/restore_module_install_data.mcfunction create mode 100644 data/fzsd/function/system/uninstall/uninstall.mcfunction create mode 100644 data/fzsd/function/system/update.mcfunction create mode 100644 data/fzsd/function/update/update_3_1_9.mcfunction create mode 100644 data/fzsd/functions/module/scoreboard/interactor/show_my_scores.mcfunction create mode 100644 data/fzsd/functions/system/install/post.mcfunction create mode 100644 data/fzsd/functions/system/load/post.mcfunction create mode 100644 data/fzsd/functions/system/uninstall/post.mcfunction create mode 100644 data/fzsd/predicate/in_dimension_overworld.json create mode 100644 data/fzsd/predicate/in_dimension_the_nether.json create mode 100644 data/fzsd/predicate/is_fake_player.json create mode 100644 data/fzsd/predicate/is_real_player.json create mode 100644 data/fzsd/predicate/is_shadow_player.json create mode 100644 data/fzsd/predicate/not_real_player.json create mode 100644 data/fzsd/predicate/sweeper/whitelist.json create mode 100644 data/fzsd/predicate/used_tool.json create mode 100644 data/fzsd/tags/block/liquid.json create mode 100644 data/fzsd/tags/block/stripped_blocks.json create mode 100644 data/fzsd/tags/entity_type/ignore_on_player_killed_entity.json rename data/fzsd/tags/{functions/system/load/after.json => entity_type/shearable.json} (58%) create mode 100644 data/fzsd/tags/function/api/get_current_daytime.json create mode 100644 data/fzsd/tags/function/api/get_current_gametime.json create mode 100644 data/fzsd/tags/function/api/get_dimension_name.json create mode 100644 data/fzsd/tags/function/api/get_dimension_name/minecraft/overworld.json create mode 100644 data/fzsd/tags/function/api/get_dimension_name/minecraft/the_end.json create mode 100644 data/fzsd/tags/function/api/get_dimension_name/minecraft/the_nether.json create mode 100644 data/fzsd/tags/function/api/get_player_dimension.json create mode 100644 data/fzsd/tags/function/api/get_time_since_rest.json rename data/fzsd/tags/{functions/system/install/after.json => function/api/install.json} (56%) create mode 100644 data/fzsd/tags/function/api/uninstall.json create mode 100644 data/fzsd/tags/function/calculation/highest_id_add_1.json create mode 100644 data/fzsd/tags/function/deep_install.json create mode 100644 data/fzsd/tags/function/deep_reinstall.json create mode 100644 data/fzsd/tags/function/deep_uninstall.json create mode 100644 data/fzsd/tags/function/game_event/advancement/reset_advancements.json create mode 100644 data/fzsd/tags/function/game_event/game/on_night.json create mode 100644 data/fzsd/tags/function/game_event/install.json create mode 100644 data/fzsd/tags/function/game_event/on_tick.json create mode 100644 data/fzsd/tags/function/game_event/player/on_aviate_one_meter.json create mode 100644 data/fzsd/tags/function/game_event/player/on_broke_block_with_tool.json create mode 100644 data/fzsd/tags/function/game_event/player/on_broke_block_with_tool/calculate_dig_score.json create mode 100644 data/fzsd/tags/function/game_event/player/on_dead.json create mode 100644 data/fzsd/tags/function/game_event/player/on_entered_nether_portal.json create mode 100644 data/fzsd/tags/function/game_event/player/on_fished.json rename data/fzsd/tags/{functions/system/install/before.json => function/game_event/player/on_hurt_entity_with_tools.json} (100%) create mode 100644 data/fzsd/tags/function/game_event/player/on_killed_mob_or_player.json create mode 100644 data/fzsd/tags/function/game_event/player/on_login.json create mode 100644 data/fzsd/tags/function/game_event/player/on_piglin_trade.json create mode 100644 data/fzsd/tags/function/game_event/player/on_placed_block.json create mode 100644 data/fzsd/tags/function/game_event/player/on_placed_liquid.json create mode 100644 data/fzsd/tags/function/game_event/player/on_placed_solid.json create mode 100644 data/fzsd/tags/function/game_event/player/on_play_one_hour.json rename data/fzsd/tags/{functions/system/load/before.json => function/game_event/player/on_shears_used_on_entity.json} (100%) rename data/fzsd/tags/{functions/system/uninstall/before.json => function/game_event/player/on_sleeping.json} (100%) create mode 100644 data/fzsd/tags/function/game_event/player/on_sneak.json create mode 100644 data/fzsd/tags/function/game_event/player/on_took_damage.json create mode 100644 data/fzsd/tags/function/game_event/player/on_tools_right_click_used.json create mode 100644 data/fzsd/tags/function/game_event/player/on_tools_used_on_block.json create mode 100644 data/fzsd/tags/function/game_event/player/on_unsneak.json create mode 100644 data/fzsd/tags/function/game_event/player/on_used_tool.json create mode 100644 data/fzsd/tags/function/game_event/player/on_used_tool/reset_used_tool.json create mode 100644 data/fzsd/tags/function/game_event/player/on_villager_trade.json create mode 100644 data/fzsd/tags/function/game_event/reset_all.json create mode 100644 data/fzsd/tags/function/game_event/uninstall.json create mode 100644 data/fzsd/tags/function/install.json create mode 100644 data/fzsd/tags/function/load.json create mode 100644 data/fzsd/tags/function/logger/clear_data.json create mode 100644 data/fzsd/tags/function/logger/install.json create mode 100644 data/fzsd/tags/function/logger/uninstall.json create mode 100644 data/fzsd/tags/function/module/health/install.json create mode 100644 data/fzsd/tags/function/module/health/load.json create mode 100644 data/fzsd/tags/function/module/health/set_health_name.json create mode 100644 data/fzsd/tags/function/module/health/uninstall.json create mode 100644 data/fzsd/tags/function/module/here/get_dimension_message.json create mode 100644 data/fzsd/tags/function/module/here/get_message.json create mode 100644 data/fzsd/tags/function/module/here/global_message.json create mode 100644 data/fzsd/tags/function/module/here/install.json create mode 100644 data/fzsd/tags/function/module/here/interactor/display.json create mode 100644 data/fzsd/tags/function/module/here/interactor/on_click.json create mode 100644 data/fzsd/tags/function/module/here/private_message.json create mode 100644 data/fzsd/tags/function/module/here/uninstall.json create mode 100644 data/fzsd/tags/function/module/interactor/event/on_click.json create mode 100644 data/fzsd/tags/function/module/interactor/event/on_display.json create mode 100644 data/fzsd/tags/function/module/interactor/event/on_start_interact.json create mode 100644 data/fzsd/tags/function/module/interactor/event/reset_advancements.json create mode 100644 data/fzsd/tags/function/module/interactor/install.json create mode 100644 data/fzsd/tags/function/module/interactor/load.json create mode 100644 data/fzsd/tags/function/module/interactor/reset_trigger.json create mode 100644 data/fzsd/tags/function/module/interactor/uninstall.json create mode 100644 data/fzsd/tags/function/module/join_message/install.json create mode 100644 data/fzsd/tags/function/module/join_message/send_message.json create mode 100644 data/fzsd/tags/function/module/join_message/uninstall.json create mode 100644 data/fzsd/tags/function/module/last_death/get_death_point.json create mode 100644 data/fzsd/tags/function/module/last_death/install.json create mode 100644 data/fzsd/tags/function/module/last_death/interactor/display.json create mode 100644 data/fzsd/tags/function/module/last_death/interactor/on_click.json create mode 100644 data/fzsd/tags/function/module/last_death/private_message.json create mode 100644 data/fzsd/tags/function/module/last_death/uninstall.json create mode 100644 data/fzsd/tags/function/module/last_nether_portal/event/on_entered_nether_portal.json create mode 100644 data/fzsd/tags/function/module/last_nether_portal/get_message.json create mode 100644 data/fzsd/tags/function/module/last_nether_portal/global_message.json create mode 100644 data/fzsd/tags/function/module/last_nether_portal/install.json create mode 100644 data/fzsd/tags/function/module/last_nether_portal/interactor/display.json create mode 100644 data/fzsd/tags/function/module/last_nether_portal/interactor/on_click.json create mode 100644 data/fzsd/tags/function/module/last_nether_portal/private_message.json create mode 100644 data/fzsd/tags/function/module/last_nether_portal/uninstall.json create mode 100644 data/fzsd/tags/function/module/last_spawn_point/get_spawn_point.json create mode 100644 data/fzsd/tags/function/module/last_spawn_point/install.json create mode 100644 data/fzsd/tags/function/module/last_spawn_point/interactor/display.json create mode 100644 data/fzsd/tags/function/module/last_spawn_point/interactor/on_click.json create mode 100644 data/fzsd/tags/function/module/last_spawn_point/private_message.json create mode 100644 data/fzsd/tags/function/module/last_spawn_point/uninstall.json create mode 100644 data/fzsd/tags/function/module/phantom_warning/check_time_since_rest.json create mode 100644 data/fzsd/tags/function/module/phantom_warning/event/on_night.json create mode 100644 data/fzsd/tags/function/module/phantom_warning/install.json create mode 100644 data/fzsd/tags/function/module/phantom_warning/interactor/display.json create mode 100644 data/fzsd/tags/function/module/phantom_warning/interactor/on_click.json create mode 100644 data/fzsd/tags/function/module/phantom_warning/send_phantom_warning.json create mode 100644 data/fzsd/tags/function/module/phantom_warning/uninstall.json create mode 100644 data/fzsd/tags/function/module/scoreboard/assign/scoreboard/activation.json create mode 100644 data/fzsd/tags/function/module/scoreboard/assign/scoreboard/aviating_distance.json create mode 100644 data/fzsd/tags/function/module/scoreboard/assign/scoreboard/damage_taken.json create mode 100644 data/fzsd/tags/function/module/scoreboard/assign/scoreboard/death_count.json create mode 100644 data/fzsd/tags/function/module/scoreboard/assign/scoreboard/dig_count.json create mode 100644 data/fzsd/tags/function/module/scoreboard/assign/scoreboard/fishing_count.json create mode 100644 data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/activation.json create mode 100644 data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/aviating_distance.json create mode 100644 data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/bedrock_broke_count.json create mode 100644 data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/damage_taken.json create mode 100644 data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/death_count.json create mode 100644 data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/dig_count.json create mode 100644 data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/fishing_count.json create mode 100644 data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/kill_count.json create mode 100644 data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/placement_count.json create mode 100644 data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/trade_count.json create mode 100644 data/fzsd/tags/function/module/scoreboard/assign/scoreboard/kill_count.json create mode 100644 data/fzsd/tags/function/module/scoreboard/assign/scoreboard/placement_count.json create mode 100644 data/fzsd/tags/function/module/scoreboard/assign/scoreboard/trade_count.json create mode 100644 data/fzsd/tags/function/module/scoreboard/clear_data.json create mode 100644 data/fzsd/tags/function/module/scoreboard/display/carousel/try_display.json create mode 100644 data/fzsd/tags/function/module/scoreboard/display/register_id.json create mode 100644 data/fzsd/tags/function/module/scoreboard/display/set_text.json create mode 100644 data/fzsd/tags/function/module/scoreboard/display/set_text/activation.json create mode 100644 data/fzsd/tags/function/module/scoreboard/display/set_text/aviating_distance.json create mode 100644 data/fzsd/tags/function/module/scoreboard/display/set_text/carousel.json create mode 100644 data/fzsd/tags/function/module/scoreboard/display/set_text/damage_taken.json create mode 100644 data/fzsd/tags/function/module/scoreboard/display/set_text/death_count.json create mode 100644 data/fzsd/tags/function/module/scoreboard/display/set_text/dig_count.json create mode 100644 data/fzsd/tags/function/module/scoreboard/display/set_text/fishing_count.json create mode 100644 data/fzsd/tags/function/module/scoreboard/display/set_text/general.json create mode 100644 data/fzsd/tags/function/module/scoreboard/display/set_text/kill_count.json create mode 100644 data/fzsd/tags/function/module/scoreboard/display/set_text/placement_count.json create mode 100644 data/fzsd/tags/function/module/scoreboard/display/set_text/trade_count.json create mode 100644 data/fzsd/tags/function/module/scoreboard/install.json create mode 100644 data/fzsd/tags/function/module/scoreboard/interactor/display.json create mode 100644 data/fzsd/tags/function/module/scoreboard/interactor/on_click.json create mode 100644 data/fzsd/tags/function/module/scoreboard/interactor/show_my_scores.json create mode 100644 data/fzsd/tags/function/module/scoreboard/interactor/subscribe/activation.json create mode 100644 data/fzsd/tags/function/module/scoreboard/interactor/subscribe/aviating_distance.json create mode 100644 data/fzsd/tags/function/module/scoreboard/interactor/subscribe/carousel.json create mode 100644 data/fzsd/tags/function/module/scoreboard/interactor/subscribe/damage_taken.json create mode 100644 data/fzsd/tags/function/module/scoreboard/interactor/subscribe/death_count.json create mode 100644 data/fzsd/tags/function/module/scoreboard/interactor/subscribe/dig_count.json create mode 100644 data/fzsd/tags/function/module/scoreboard/interactor/subscribe/fishing_count.json create mode 100644 data/fzsd/tags/function/module/scoreboard/interactor/subscribe/general.json create mode 100644 data/fzsd/tags/function/module/scoreboard/interactor/subscribe/kill_count.json create mode 100644 data/fzsd/tags/function/module/scoreboard/interactor/subscribe/off.json create mode 100644 data/fzsd/tags/function/module/scoreboard/interactor/subscribe/placement_count.json create mode 100644 data/fzsd/tags/function/module/scoreboard/interactor/subscribe/trade_count.json create mode 100644 data/fzsd/tags/function/module/scoreboard/load.json create mode 100644 data/fzsd/tags/function/module/scoreboard/uninstall.json create mode 100644 data/fzsd/tags/function/module/sweeper/install.json create mode 100644 data/fzsd/tags/function/module/sweeper/interactor/display.json create mode 100644 data/fzsd/tags/function/module/sweeper/interactor/on_click.json create mode 100644 data/fzsd/tags/function/module/sweeper/load.json create mode 100644 data/fzsd/tags/function/module/sweeper/start_loop.json create mode 100644 data/fzsd/tags/function/module/sweeper/stop_loop.json create mode 100644 data/fzsd/tags/function/module/sweeper/sweep.json create mode 100644 data/fzsd/tags/function/module/sweeper/uninstall.json create mode 100644 data/fzsd/tags/function/reinstall.json create mode 100644 data/fzsd/tags/function/system/install/module/force.json create mode 100644 data/fzsd/tags/function/system/install/module/try.json create mode 100644 data/fzsd/tags/function/system/install/post.json create mode 100644 data/fzsd/tags/function/system/install/pre.json create mode 100644 data/fzsd/tags/function/system/install/system.json create mode 100644 data/fzsd/tags/function/system/load/module/try.json create mode 100644 data/fzsd/tags/function/system/load/post.json create mode 100644 data/fzsd/tags/function/system/load/pre.json create mode 100644 data/fzsd/tags/function/system/load/system.json create mode 100644 data/fzsd/tags/function/system/uninstall/module.json rename data/fzsd/tags/{functions/system/uninstall/after.json => function/system/uninstall/post.json} (72%) create mode 100644 data/fzsd/tags/function/system/uninstall/pre.json create mode 100644 data/fzsd/tags/function/system/uninstall/system.json create mode 100644 data/fzsd/tags/function/uninstall.json create mode 100644 data/fzsd/tags/function/update.json create mode 100644 data/fzsd/tags/functions/module/scoreboard/interactor/show_my_scores.json create mode 100644 data/fzsd/tags/functions/system/install/post.json create mode 100644 data/fzsd/tags/functions/system/install/pre.json create mode 100644 data/fzsd/tags/functions/system/load/post.json create mode 100644 data/fzsd/tags/functions/system/load/pre.json create mode 100644 data/fzsd/tags/functions/system/uninstall/post.json create mode 100644 data/fzsd/tags/functions/system/uninstall/pre.json create mode 100644 data/fzsd/tags/item/bucket_of_liquid.json create mode 100644 data/fzsd/tags/item/bucket_of_mob.json create mode 100644 data/fzsd/tags/item/raw_fishes.json create mode 100644 data/fzsd/tags/item/tool/axes.json create mode 100644 data/fzsd/tags/item/tool/hoes.json create mode 100644 data/fzsd/tags/item/tool/pickaxes.json create mode 100644 data/fzsd/tags/item/tool/shears.json create mode 100644 data/fzsd/tags/item/tool/shovels.json create mode 100644 data/fzsd/tags/item/tool/swords.json create mode 100644 data/fzsd/tags/item/tools.json create mode 100644 data/fzsd/tags/item/tools_exclude_axes.json create mode 100644 data/minecraft/tags/function/load.json diff --git a/.vscode/settings.json b/.vscode/settings.json index 4868bd6..66251d6 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -37,5 +37,5 @@ "after": 1 }, "datapack.env.cmdVersion": "1.20.3", - "datapack.env.dataVersion": "1.20.6" + "datapack.env.dataVersion": "1.21" } diff --git a/README.md b/README.md index 3a1ced5..ab86f38 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ ## 安装教程 1. 兼容性 - - `数据包 v3.1.x` 支持 `Minecraft 1.20.x` + - `数据包 v3.1.x` 支持 `Minecraft 1.20-1.21` - `数据包 v3.0.x` 支持 `Minecraft 1.18.2-1.19.x` (不再维护) 2. 前往[发行页面](https://gitee.com/harvey-husky/FZ-sDatapack/releases)下载对应MC版本的数据包 3. 将数据包 `zip` 文件放入 `world/datapacks` 中(在客户端位于 `.minecraft/saves/<存档名>/datapacks`) @@ -28,9 +28,9 @@ - 提供下列计分板: - | 默认名称 | 计分板ID | + | 默认名称 | 计分板 ID | | :------: | :----------------------------------------------: | - | 总榜 | fzsd.module.scoreboard.display.general | + | 总览 | fzsd.module.scoreboard.display.general | | 活跃度 | fzsd.module.scoreboard.display.activation | | 飞行距离 | fzsd.module.scoreboard.display.aviating_distance | | 抖M榜 | fzsd.module.scoreboard.display.damage_taken | @@ -44,25 +44,25 @@ - 兼容[破基岩榜Mod](https://gitee.com/harvey-husky/yh-bbl) - 安装该Mod后,使用连点器破基岩,破基岩榜将自动显示在交互器页面 - | 默认名称 | 计分板ID | + | 默认名称 | 计分板 ID | | :------: | :----------------------------------------------: | | 破基岩榜 |fzsd.module.scoreboard.display.bedrock_broken_count| -- 系统总榜计分板:`fzsd.module.scoreboard.assign.general` +- 系统总览计分板:`fzsd.module.scoreboard.assign.general` - 可以在在此记分板修改总分数据,下次加分时会刷新显示分数 - 总计分项名称对照表: - | 默认名称 | 计分板ID | + | 默认名称 | player ID | | :------: | :----------------------------------------------: | | 总活跃时间 | fzsd.module.scoreboard.total.activation | | 总飞行距离 | fzsd.module.scoreboard.total.aviating_distance | - | 总受伤害量 | fzsd.module.scoreboard.total.damage_taken | + | 总受伤害数 | fzsd.module.scoreboard.total.damage_taken | | 总死亡数 | fzsd.module.scoreboard.total.death_count | - | 总挖掘量 | fzsd.module.scoreboard.total.dig_count | + | 总挖掘数 | fzsd.module.scoreboard.total.dig_count | | 总钓鱼数 | fzsd.module.scoreboard.total.fishing_count | | 总击杀数 | fzsd.module.scoreboard.total.kill_count | - | 总放置方块数 | fzsd.module.scoreboard.total.placement_count | - | 总交易量 | fzsd.module.scoreboard.total.trade_count | + | 总建造数 | fzsd.module.scoreboard.total.placement_count | + | 总交易数 | fzsd.module.scoreboard.total.trade_count | ### 地毯脚本 diff --git a/data/admin.fzsd/function/admin.mcfunction b/data/admin.fzsd/function/admin.mcfunction new file mode 100644 index 0000000..1b3aca7 --- /dev/null +++ b/data/admin.fzsd/function/admin.mcfunction @@ -0,0 +1,40 @@ +tellraw @s {"text": "管理员页面:", "color": "red"} + + +tellraw @s [{"text": "全局:"}, [{"text": "", "color": "dark_gray"}, [{"text": "[", "clickEvent": {"action": "run_command", "value": "/reload"}, "hoverEvent": {"action": "show_text", "contents": {"text": "重载", "color": "yellow"}}}, {"text": "重载", "color": "yellow"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:install"}, "hoverEvent": {"action": "show_text", "contents": [{"text": "安装:", "color": "dark_green"}, {"text": "仅安装上次卸载前已安装的模块", "color": "red"}]}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:uninstall"}, "hoverEvent": {"action": "show_text", "contents": [{"text": "卸载:", "color": "dark_red"}, {"text": "将保留模块安装记录", "color": "red"}]}}, {"text": "卸载", "color": "dark_red"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:reinstall"}, "hoverEvent": {"action": "show_text", "contents": [{"text": "重装:", "color": "gold"}, {"text": "可能可以修复一些奇怪问题,", "color": "white"}, {"text": "将保留模块安装记录", "color": "red"}]}}, {"text": "重装", "color": "gold"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:deep_install"}, "hoverEvent": {"action": "show_text", "contents": [{"text": "深度安装:", "color": "dark_green"}, {"text": "将安装所有模块", "color": "red"}]}}, {"text": "深度安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:deep_uninstall"}, "hoverEvent": {"action": "show_text", "contents": [{"text": "深度卸载:", "color": "dark_red"}, {"text": "将清除模块安装记录", "color": "red"}]}}, {"text": "深度卸载", "color": "dark_red"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:deep_reinstall"}, "hoverEvent": {"action": "show_text", "contents": [{"text": "深度重装:", "color": "gold"}, {"text": "可能可以修复一些奇怪问题,", "color": "white"}, {"text": "将清除模块安装记录", "color": "red"}]}}, {"text": "深度重装", "color": "gold"}, {"text": "]"}]]] + + +tellraw @s [{"text": "日志等级:"}, [{"text": "", "color": "dark_gray"}, [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function fzsd:logger/level/fine"}, "hoverEvent": {"action": "show_text", "contents": {"text": "详细", "color": "gray"}}}, {"text": "详细", "color": "gray"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function fzsd:logger/level/debug"}, "hoverEvent": {"action": "show_text", "contents": {"text": "调试", "color": "dark_aqua"}}}, {"text": "调试", "color": "dark_aqua"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function fzsd:logger/level/info"}, "hoverEvent": {"action": "show_text", "contents": {"text": "信息", "color": "green"}}}, {"text": "信息", "color": "green"}, {"text": "]"}]]] + + +tellraw @s [{"text": "血量显示:"}, [{"text": "", "color": "dark_gray"}, [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/health/install"}, "hoverEvent": {"action": "show_text", "contents": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/health/uninstall"}, "hoverEvent": {"action": "show_text", "contents": {"text": "卸载", "color": "dark_red"}}}, {"text": "卸载", "color": "dark_red"}, {"text": "]"}]]] + +tellraw @s [{"text": "- 名牌下方:", "color": "gray"}, [{"text": "", "color": "dark_gray"}, [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function admin.fzsd:module/health/below_name/on"}, "hoverEvent": {"action": "show_text", "contents": {"text": "显示", "color": "dark_green"}}}, {"text": "显示", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function admin.fzsd:module/health/below_name/off"}, "hoverEvent": {"action": "show_text", "contents": {"text": "隐藏", "color": "dark_red"}}}, {"text": "隐藏", "color": "dark_red"}, {"text": "]"}]]] + +tellraw @s [{"text": "- 玩家列表内:", "color": "gray"}, [{"text": "", "color": "dark_gray"}, [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function admin.fzsd:module/health/list/on"}, "hoverEvent": {"action": "show_text", "contents": {"text": "显示", "color": "dark_green"}}}, {"text": "显示", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function admin.fzsd:module/health/list/off"}, "hoverEvent": {"action": "show_text", "contents": {"text": "隐藏", "color": "dark_red"}}}, {"text": "隐藏", "color": "dark_red"}, {"text": "]"}]]] + + +tellraw @s [{"text": "玩家位置:"}, [{"text": "", "color": "dark_gray"}, [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/here/install"}, "hoverEvent": {"action": "show_text", "contents": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/here/uninstall"}, "hoverEvent": {"action": "show_text", "contents": {"text": "卸载", "color": "dark_red"}}}, {"text": "卸载", "color": "dark_red"}, {"text": "]"}]]] + + +tellraw @s [{"text": "交互器:"}, [{"text": "", "color": "dark_gray"}, [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/interactor/install"}, "hoverEvent": {"action": "show_text", "contents": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/interactor/uninstall"}, "hoverEvent": {"action": "show_text", "contents": {"text": "卸载", "color": "dark_red"}}}, {"text": "卸载", "color": "dark_red"}, {"text": "]"}]]] + + +tellraw @s [{"text": "登录消息:"}, [{"text": "", "color": "dark_gray"}, [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/join_message/install"}, "hoverEvent": {"action": "show_text", "contents": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/join_message/uninstall"}, "hoverEvent": {"action": "show_text", "contents": {"text": "卸载", "color": "dark_red"}}}, {"text": "卸载", "color": "dark_red"}, {"text": "]"}]]] + + +tellraw @s [{"text": "上一死亡点:"}, [{"text": "", "color": "dark_gray"}, [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/last_death/install"}, "hoverEvent": {"action": "show_text", "contents": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/last_death/uninstall"}, "hoverEvent": {"action": "show_text", "contents": {"text": "卸载", "color": "dark_red"}}}, {"text": "卸载", "color": "dark_red"}, {"text": "]"}]]] + + +tellraw @s [{"text": "上次穿出的下界传送门:"}, [{"text": "", "color": "dark_gray"}, [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/last_nether_portal/install"}, "hoverEvent": {"action": "show_text", "contents": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/last_nether_portal/uninstall"}, "hoverEvent": {"action": "show_text", "contents": {"text": "卸载", "color": "dark_red"}}}, {"text": "卸载", "color": "dark_red"}, {"text": "]"}]]] + + +tellraw @s [{"text": "上一出生点:"}, [{"text": "", "color": "dark_gray"}, [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/last_spawn_point/install"}, "hoverEvent": {"action": "show_text", "contents": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/last_spawn_point/uninstall"}, "hoverEvent": {"action": "show_text", "contents": {"text": "卸载", "color": "dark_red"}}}, {"text": "卸载", "color": "dark_red"}, {"text": "]"}]]] + + +tellraw @s [{"text": "计分板:"}, [{"text": "", "color": "dark_gray"}, [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/scoreboard/install"}, "hoverEvent": {"action": "show_text", "contents": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/scoreboard/uninstall"}, "hoverEvent": {"action": "show_text", "contents": {"text": "卸载", "color": "dark_red"}}}, {"text": "卸载", "color": "dark_red"}, {"text": "]"}]]] + + +tellraw @s [{"text": "扫地机:"}, [{"text": "", "color": "dark_gray"}, [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/sweeper/install"}, "hoverEvent": {"action": "show_text", "contents": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/sweeper/uninstall"}, "hoverEvent": {"action": "show_text", "contents": {"text": "卸载", "color": "dark_red"}}}, {"text": "卸载", "color": "dark_red"}, {"text": "]"}]]] + +tellraw @s [{"text": "幻翼预警:"}, [{"text": "", "color": "dark_gray"}, [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/phantom_warning/install"}, "hoverEvent": {"action": "show_text", "contents": {"text": "安装", "color": "dark_green"}}}, {"text": "安装", "color": "dark_green"}, {"text": "]"}], [{"text": "[", "clickEvent": {"action": "run_command", "value": "/function #fzsd:module/phantom_warning/uninstall"}, "hoverEvent": {"action": "show_text", "contents": {"text": "卸载", "color": "dark_red"}}}, {"text": "卸载", "color": "dark_red"}, {"text": "]"}]]] \ No newline at end of file diff --git a/data/admin.fzsd/function/carpet_settings_preset.mcfunction b/data/admin.fzsd/function/carpet_settings_preset.mcfunction new file mode 100644 index 0000000..7dd39da --- /dev/null +++ b/data/admin.fzsd/function/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/function/module/health/below_name/off.mcfunction b/data/admin.fzsd/function/module/health/below_name/off.mcfunction new file mode 100644 index 0000000..528afe8 --- /dev/null +++ b/data/admin.fzsd/function/module/health/below_name/off.mcfunction @@ -0,0 +1,2 @@ +data modify storage fzsd:config fzsd.module.health.display.below_name set value 0b +function fzsd:module/health/try_load \ No newline at end of file diff --git a/data/admin.fzsd/function/module/health/below_name/on.mcfunction b/data/admin.fzsd/function/module/health/below_name/on.mcfunction new file mode 100644 index 0000000..89ee0c8 --- /dev/null +++ b/data/admin.fzsd/function/module/health/below_name/on.mcfunction @@ -0,0 +1,2 @@ +data modify storage fzsd:config fzsd.module.health.display.below_name set value 1b +function fzsd:module/health/try_load \ No newline at end of file diff --git a/data/admin.fzsd/function/module/health/list/off.mcfunction b/data/admin.fzsd/function/module/health/list/off.mcfunction new file mode 100644 index 0000000..d95e580 --- /dev/null +++ b/data/admin.fzsd/function/module/health/list/off.mcfunction @@ -0,0 +1,2 @@ +data modify storage fzsd:config fzsd.module.health.display.list set value 0b +function fzsd:module/health/try_load \ No newline at end of file diff --git a/data/admin.fzsd/function/module/health/list/on.mcfunction b/data/admin.fzsd/function/module/health/list/on.mcfunction new file mode 100644 index 0000000..304063a --- /dev/null +++ b/data/admin.fzsd/function/module/health/list/on.mcfunction @@ -0,0 +1,2 @@ +data modify storage fzsd:config fzsd.module.health.display.list set value 1b +function fzsd:module/health/try_load \ No newline at end of file diff --git a/data/fzsd.extra.bbl/advancement/broke_bedrock.json b/data/fzsd.extra.bbl/advancement/broke_bedrock.json new file mode 100644 index 0000000..73c2bcd --- /dev/null +++ b/data/fzsd.extra.bbl/advancement/broke_bedrock.json @@ -0,0 +1,24 @@ +{ + "parent": "fzsd:game_event", + "criteria": { + "broke_bedrock": { + "trigger": "minecraft:tick", + "conditions": { + "player": [ + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.extra.bbl": { + "min": 1 + } + } + } + ] + } + } + }, + "rewards": { + "function": "fzsd.extra.bbl:event/advancement/broke_bedrock" + } +} \ No newline at end of file diff --git a/data/fzsd.extra.bbl/function/assign/bbl.mcfunction b/data/fzsd.extra.bbl/function/assign/bbl.mcfunction new file mode 100644 index 0000000..e78bc38 --- /dev/null +++ b/data/fzsd.extra.bbl/function/assign/bbl.mcfunction @@ -0,0 +1,5 @@ +# 见#fzsd.extra.bbl:event/broke_bedrock +## 如果运行时id不存在则注册运行时id +execute unless score fzsd.module.scoreboard.display.bedrock_broken_count.id fzsd.variable.integer matches 0.. run function fzsd.extra.bbl:display/register_id +scoreboard players operation @s fzsd.module.scoreboard.display.bedrock_broken_count += fzsd.var.score fzsd.variable.integer +scoreboard players operation fzsd.module.scoreboard.total.bedrock_broken_count fzsd.module.scoreboard.assign.general += fzsd.var.score fzsd.variable.integer diff --git a/data/fzsd.extra.bbl/function/assign/general.mcfunction b/data/fzsd.extra.bbl/function/assign/general.mcfunction new file mode 100644 index 0000000..28dcb9a --- /dev/null +++ b/data/fzsd.extra.bbl/function/assign/general.mcfunction @@ -0,0 +1,5 @@ +# 见#fzsd.extra.bbl:event/broke_bedrock +team join fzsd.module.scoreboard.display.bedrock_broken_count 总破基岩数 + +scoreboard players operation 总破基岩数 fzsd.module.scoreboard.display.general = fzsd.module.scoreboard.total.bedrock_broken_count fzsd.module.scoreboard.assign.general +scoreboard players operation 总破基岩数 fzsd.module.scoreboard.display.bedrock_broken_count = fzsd.module.scoreboard.total.bedrock_broken_count fzsd.module.scoreboard.assign.general \ No newline at end of file diff --git a/data/fzsd.extra.bbl/function/clear_data.mcfunction b/data/fzsd.extra.bbl/function/clear_data.mcfunction new file mode 100644 index 0000000..0179cc4 --- /dev/null +++ b/data/fzsd.extra.bbl/function/clear_data.mcfunction @@ -0,0 +1,3 @@ +# 见#fzsd:module/scoreboard/clear_data +## 清除数据 +scoreboard objectives remove fzsd.module.scoreboard.display.bedrock_broken_count \ No newline at end of file diff --git a/data/fzsd.extra.bbl/function/display/carousel/set_display.mcfunction b/data/fzsd.extra.bbl/function/display/carousel/set_display.mcfunction new file mode 100644 index 0000000..08a52b3 --- /dev/null +++ b/data/fzsd.extra.bbl/function/display/carousel/set_display.mcfunction @@ -0,0 +1,21 @@ +# 见./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.bedrock_broken_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.bedrock_broken_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.bedrock_broken_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.bedrock_broken_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.bedrock_broken_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.bedrock_broken_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.bedrock_broken_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.bedrock_broken_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.bedrock_broken_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.bedrock_broken_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.bedrock_broken_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.bedrock_broken_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.bedrock_broken_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.bedrock_broken_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.bedrock_broken_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.bedrock_broken_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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "text", "interpret": true, "storage": "fzsd.extra.bbl:text"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd.extra.bbl/function/display/carousel/try_display.mcfunction b/data/fzsd.extra.bbl/function/display/carousel/try_display.mcfunction new file mode 100644 index 0000000..4d94bbb --- /dev/null +++ b/data/fzsd.extra.bbl/function/display/carousel/try_display.mcfunction @@ -0,0 +1,2 @@ +# 见#fzsd:module/scoreboard/display/carousel/try_display +execute if score fzsd.module.scoreboard.display.current_id fzsd.variable.integer = fzsd.module.scoreboard.display.id.bedrock_broken_count fzsd.variable.integer run function fzsd.extra.bbl:display/carousel/set_display \ No newline at end of file diff --git a/data/fzsd.extra.bbl/function/display/register_id.mcfunction b/data/fzsd.extra.bbl/function/display/register_id.mcfunction new file mode 100644 index 0000000..8035531 --- /dev/null +++ b/data/fzsd.extra.bbl/function/display/register_id.mcfunction @@ -0,0 +1,6 @@ +# 见#fzsd:module/scoreboard/display/register_id +#### 如果破基岩榜分数不为0,注册破基岩计分板id +execute if score fzsd.module.scoreboard.total.bedrock_broken_count fzsd.module.scoreboard.assign.general matches 1.. run function #fzsd:calculation/highest_id_add_1 +execute if score fzsd.module.scoreboard.total.bedrock_broken_count fzsd.module.scoreboard.assign.general matches 1.. run scoreboard players operation fzsd.module.scoreboard.display.id.bedrock_broken_count fzsd.variable.integer = fzsd.module.scoreboard.display.highest_id fzsd.variable.integer + +execute if score fzsd.module.scoreboard.total.bedrock_broken_count fzsd.module.scoreboard.assign.general matches 1.. if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册"}, {"nbt": "fzsd.module.scoreboard.text.bedrock_broken_count", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.bedrock_broken_count", "objective": "fzsd.variable.integer"}}] \ No newline at end of file diff --git a/data/fzsd.extra.bbl/function/display/set_text/aqua.mcfunction b/data/fzsd.extra.bbl/function/display/set_text/aqua.mcfunction new file mode 100644 index 0000000..b62046d --- /dev/null +++ b/data/fzsd.extra.bbl/function/display/set_text/aqua.mcfunction @@ -0,0 +1,7 @@ +# 见#fzsd.extra.bbl:display/set_text + +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "aqua"}' +scoreboard objectives setdisplay sidebar.team.aqua fzsd.module.scoreboard.display.bedrock_broken_count +scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "aqua"} +team modify fzsd.module.scoreboard.display.bedrock_broken_count color aqua +team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "aqua"} diff --git a/data/fzsd.extra.bbl/function/display/set_text/black.mcfunction b/data/fzsd.extra.bbl/function/display/set_text/black.mcfunction new file mode 100644 index 0000000..67b0412 --- /dev/null +++ b/data/fzsd.extra.bbl/function/display/set_text/black.mcfunction @@ -0,0 +1,7 @@ +# 见#fzsd.extra.bbl:display/set_text + +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "black"}' +scoreboard objectives setdisplay sidebar.team.black fzsd.module.scoreboard.display.bedrock_broken_count +scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "black"} +team modify fzsd.module.scoreboard.display.bedrock_broken_count color black +team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "black"} diff --git a/data/fzsd.extra.bbl/function/display/set_text/blue.mcfunction b/data/fzsd.extra.bbl/function/display/set_text/blue.mcfunction new file mode 100644 index 0000000..b617ce4 --- /dev/null +++ b/data/fzsd.extra.bbl/function/display/set_text/blue.mcfunction @@ -0,0 +1,7 @@ +# 见#fzsd.extra.bbl:display/set_text + +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "blue"}' +scoreboard objectives setdisplay sidebar.team.blue fzsd.module.scoreboard.display.bedrock_broken_count +scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "blue"} +team modify fzsd.module.scoreboard.display.bedrock_broken_count color blue +team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "blue"} diff --git a/data/fzsd.extra.bbl/function/display/set_text/dark_aqua.mcfunction b/data/fzsd.extra.bbl/function/display/set_text/dark_aqua.mcfunction new file mode 100644 index 0000000..570033a --- /dev/null +++ b/data/fzsd.extra.bbl/function/display/set_text/dark_aqua.mcfunction @@ -0,0 +1,7 @@ +# 见#fzsd.extra.bbl:display/set_text + +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "dark_aqua"}' +scoreboard objectives setdisplay sidebar.team.dark_aqua fzsd.module.scoreboard.display.bedrock_broken_count +scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "dark_aqua"} +team modify fzsd.module.scoreboard.display.bedrock_broken_count color dark_aqua +team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "dark_aqua"} diff --git a/data/fzsd.extra.bbl/function/display/set_text/dark_blue.mcfunction b/data/fzsd.extra.bbl/function/display/set_text/dark_blue.mcfunction new file mode 100644 index 0000000..c5144ba --- /dev/null +++ b/data/fzsd.extra.bbl/function/display/set_text/dark_blue.mcfunction @@ -0,0 +1,7 @@ +# 见#fzsd.extra.bbl:display/set_text + +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "dark_blue"}' +scoreboard objectives setdisplay sidebar.team.dark_blue fzsd.module.scoreboard.display.bedrock_broken_count +scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "dark_blue"} +team modify fzsd.module.scoreboard.display.bedrock_broken_count color dark_blue +team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "dark_blue"} diff --git a/data/fzsd.extra.bbl/function/display/set_text/dark_gray.mcfunction b/data/fzsd.extra.bbl/function/display/set_text/dark_gray.mcfunction new file mode 100644 index 0000000..30f0f6b --- /dev/null +++ b/data/fzsd.extra.bbl/function/display/set_text/dark_gray.mcfunction @@ -0,0 +1,7 @@ +# 见#fzsd.extra.bbl:display/set_text + +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "dark_gray"}' +scoreboard objectives setdisplay sidebar.team.dark_gray fzsd.module.scoreboard.display.bedrock_broken_count +scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "dark_gray"} +team modify fzsd.module.scoreboard.display.bedrock_broken_count color dark_gray +team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "dark_gray"} diff --git a/data/fzsd.extra.bbl/function/display/set_text/dark_green.mcfunction b/data/fzsd.extra.bbl/function/display/set_text/dark_green.mcfunction new file mode 100644 index 0000000..960320f --- /dev/null +++ b/data/fzsd.extra.bbl/function/display/set_text/dark_green.mcfunction @@ -0,0 +1,7 @@ +# 见#fzsd.extra.bbl:display/set_text + +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "dark_green"}' +scoreboard objectives setdisplay sidebar.team.dark_green fzsd.module.scoreboard.display.bedrock_broken_count +scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "dark_green"} +team modify fzsd.module.scoreboard.display.bedrock_broken_count color dark_green +team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "dark_green"} diff --git a/data/fzsd.extra.bbl/function/display/set_text/dark_purple.mcfunction b/data/fzsd.extra.bbl/function/display/set_text/dark_purple.mcfunction new file mode 100644 index 0000000..867aa29 --- /dev/null +++ b/data/fzsd.extra.bbl/function/display/set_text/dark_purple.mcfunction @@ -0,0 +1,7 @@ +# 见#fzsd.extra.bbl:display/set_text + +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "dark_purple"}' +scoreboard objectives setdisplay sidebar.team.dark_purple fzsd.module.scoreboard.display.bedrock_broken_count +scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "dark_purple"} +team modify fzsd.module.scoreboard.display.bedrock_broken_count color dark_purple +team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "dark_purple"} diff --git a/data/fzsd.extra.bbl/function/display/set_text/dark_red.mcfunction b/data/fzsd.extra.bbl/function/display/set_text/dark_red.mcfunction new file mode 100644 index 0000000..f6d1509 --- /dev/null +++ b/data/fzsd.extra.bbl/function/display/set_text/dark_red.mcfunction @@ -0,0 +1,7 @@ +# 见#fzsd.extra.bbl:display/set_text + +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "dark_red"}' +scoreboard objectives setdisplay sidebar.team.dark_red fzsd.module.scoreboard.display.bedrock_broken_count +scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "dark_red"} +team modify fzsd.module.scoreboard.display.bedrock_broken_count color dark_red +team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "dark_red"} diff --git a/data/fzsd.extra.bbl/function/display/set_text/gold.mcfunction b/data/fzsd.extra.bbl/function/display/set_text/gold.mcfunction new file mode 100644 index 0000000..5f59b82 --- /dev/null +++ b/data/fzsd.extra.bbl/function/display/set_text/gold.mcfunction @@ -0,0 +1,7 @@ +# 见#fzsd.extra.bbl:display/set_text + +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "gold"}' +scoreboard objectives setdisplay sidebar.team.gold fzsd.module.scoreboard.display.bedrock_broken_count +scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "gold"} +team modify fzsd.module.scoreboard.display.bedrock_broken_count color gold +team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "gold"} diff --git a/data/fzsd.extra.bbl/function/display/set_text/gray.mcfunction b/data/fzsd.extra.bbl/function/display/set_text/gray.mcfunction new file mode 100644 index 0000000..c448034 --- /dev/null +++ b/data/fzsd.extra.bbl/function/display/set_text/gray.mcfunction @@ -0,0 +1,7 @@ +# 见#fzsd.extra.bbl:display/set_text + +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "gray"}' +scoreboard objectives setdisplay sidebar.team.gray fzsd.module.scoreboard.display.bedrock_broken_count +scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "gray"} +team modify fzsd.module.scoreboard.display.bedrock_broken_count color gray +team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "gray"} diff --git a/data/fzsd.extra.bbl/function/display/set_text/green.mcfunction b/data/fzsd.extra.bbl/function/display/set_text/green.mcfunction new file mode 100644 index 0000000..c2d46e9 --- /dev/null +++ b/data/fzsd.extra.bbl/function/display/set_text/green.mcfunction @@ -0,0 +1,7 @@ +# 见#fzsd.extra.bbl:display/set_text + +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "green"}' +scoreboard objectives setdisplay sidebar.team.green fzsd.module.scoreboard.display.bedrock_broken_count +scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "green"} +team modify fzsd.module.scoreboard.display.bedrock_broken_count color green +team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "green"} diff --git a/data/fzsd.extra.bbl/function/display/set_text/light_purple.mcfunction b/data/fzsd.extra.bbl/function/display/set_text/light_purple.mcfunction new file mode 100644 index 0000000..30cefad --- /dev/null +++ b/data/fzsd.extra.bbl/function/display/set_text/light_purple.mcfunction @@ -0,0 +1,7 @@ +# 见#fzsd.extra.bbl:display/set_text + +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "light_purple"}' +scoreboard objectives setdisplay sidebar.team.light_purple fzsd.module.scoreboard.display.bedrock_broken_count +scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "light_purple"} +team modify fzsd.module.scoreboard.display.bedrock_broken_count color light_purple +team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "light_purple"} diff --git a/data/fzsd.extra.bbl/function/display/set_text/red.mcfunction b/data/fzsd.extra.bbl/function/display/set_text/red.mcfunction new file mode 100644 index 0000000..1df159f --- /dev/null +++ b/data/fzsd.extra.bbl/function/display/set_text/red.mcfunction @@ -0,0 +1,7 @@ +# 见#fzsd.extra.bbl:display/set_text + +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "red"}' +scoreboard objectives setdisplay sidebar.team.red fzsd.module.scoreboard.display.bedrock_broken_count +scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "red"} +team modify fzsd.module.scoreboard.display.bedrock_broken_count color red +team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "red"} diff --git a/data/fzsd.extra.bbl/function/display/set_text/white.mcfunction b/data/fzsd.extra.bbl/function/display/set_text/white.mcfunction new file mode 100644 index 0000000..c372170 --- /dev/null +++ b/data/fzsd.extra.bbl/function/display/set_text/white.mcfunction @@ -0,0 +1,7 @@ +# 见#fzsd.extra.bbl:display/set_text + +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "white"}' +scoreboard objectives setdisplay sidebar.team.white fzsd.module.scoreboard.display.bedrock_broken_count +scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "white"} +team modify fzsd.module.scoreboard.display.bedrock_broken_count color white +team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "white"} diff --git a/data/fzsd.extra.bbl/function/display/set_text/yellow.mcfunction b/data/fzsd.extra.bbl/function/display/set_text/yellow.mcfunction new file mode 100644 index 0000000..cd5d8f2 --- /dev/null +++ b/data/fzsd.extra.bbl/function/display/set_text/yellow.mcfunction @@ -0,0 +1,7 @@ +# 见#fzsd.extra.bbl:display/set_text + +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "yellow"}' +scoreboard objectives setdisplay sidebar.team.yellow fzsd.module.scoreboard.display.bedrock_broken_count +scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "yellow"} +team modify fzsd.module.scoreboard.display.bedrock_broken_count color yellow +team modify fzsd.module.scoreboard.display.bedrock_broken_count displayName {"text": "破基岩榜", "color": "yellow"} diff --git a/data/fzsd.extra.bbl/function/event/advancement/broke_bedrock.mcfunction b/data/fzsd.extra.bbl/function/event/advancement/broke_bedrock.mcfunction new file mode 100644 index 0000000..cb3c1d5 --- /dev/null +++ b/data/fzsd.extra.bbl/function/event/advancement/broke_bedrock.mcfunction @@ -0,0 +1,7 @@ +# 见advancements/fzsd.extra.bbl:broke_bedrock +## 排除假人并触发事件 +execute if predicate fzsd:is_real_player run function fzsd.extra.bbl:event/player/broke_bedrock + +## 重置事件 +scoreboard players set @s fzsd.extra.bbl 0 +advancement revoke @s only fzsd.extra.bbl:broke_bedrock \ No newline at end of file diff --git a/data/fzsd.extra.bbl/function/event/player/broke_bedrock.mcfunction b/data/fzsd.extra.bbl/function/event/player/broke_bedrock.mcfunction new file mode 100644 index 0000000..747f7aa --- /dev/null +++ b/data/fzsd.extra.bbl/function/event/player/broke_bedrock.mcfunction @@ -0,0 +1,6 @@ +# 见../advancement/broke_bedrock +## 详细 +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": "破基岩"}] + +scoreboard players operation fzsd.var.score fzsd.variable.integer = @s fzsd.extra.bbl +function #fzsd.extra.bbl:event/broke_bedrock \ No newline at end of file diff --git a/data/fzsd.extra.bbl/function/install.mcfunction b/data/fzsd.extra.bbl/function/install.mcfunction new file mode 100644 index 0000000..e9ca10c --- /dev/null +++ b/data/fzsd.extra.bbl/function/install.mcfunction @@ -0,0 +1,11 @@ +# 应在原模块安装时一并安装模块扩展,见#fzsd:module/scoreboard/install +## 同时应在加载时检测是否需要重新安装,见./try_install +## 添加底层实现计分板 +scoreboard objectives add fzsd.extra.bbl dummy +## 添加显示计分板 +scoreboard objectives add fzsd.module.scoreboard.display.bedrock_broken_count dummy +## 添加计分板订阅队伍 +team add fzsd.module.scoreboard.display.bedrock_broken_count +## 设为已安装 +data modify storage fzsd:install fzsd.extra.bbl 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.extra.bbl/function/interactor/display.mcfunction b/data/fzsd.extra.bbl/function/interactor/display.mcfunction new file mode 100644 index 0000000..efae1ea --- /dev/null +++ b/data/fzsd.extra.bbl/function/interactor/display.mcfunction @@ -0,0 +1,3 @@ +# 见#fzsd:module/scoreboard/interactor/display +## 当破基岩榜分数不为0时向玩家显示按钮 +execute if data storage fzsd:install fzsd.extra{bbl:1b} if score fzsd.module.scoreboard.total.bedrock_broken_count fzsd.module.scoreboard.assign.general matches 1.. run tellraw @s [{"text": "[", "color": "dark_gray", "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1210"}, "hoverEvent": {"action": "show_text", "contents": {"nbt": "text", "interpret": true, "storage": "fzsd.extra.bbl:text"}}}, {"nbt": "fzsd.module.scoreboard.text.bedrock_broken_count", "interpret": true, "storage": "fzsd:module"}, {"text": "]"}] \ No newline at end of file diff --git a/data/fzsd.extra.bbl/function/interactor/on_click.mcfunction b/data/fzsd.extra.bbl/function/interactor/on_click.mcfunction new file mode 100644 index 0000000..4edfcba --- /dev/null +++ b/data/fzsd.extra.bbl/function/interactor/on_click.mcfunction @@ -0,0 +1,2 @@ +# 见#fzsd:module/scoreboard/interactor/on_click +execute if score @s fzsd.module.interactor.trigger matches -1210 run function fzsd.extra.bbl:interactor/subscribe \ No newline at end of file diff --git a/data/fzsd.extra.bbl/function/interactor/subscribe.mcfunction b/data/fzsd.extra.bbl/function/interactor/subscribe.mcfunction new file mode 100644 index 0000000..e23d74f --- /dev/null +++ b/data/fzsd.extra.bbl/function/interactor/subscribe.mcfunction @@ -0,0 +1,6 @@ +# 见./on_click + +team join fzsd.module.scoreboard.display.bedrock_broken_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": "text", "interpret": true, "storage": "fzsd.extra.bbl:text"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd.extra.bbl/function/load.mcfunction b/data/fzsd.extra.bbl/function/load.mcfunction new file mode 100644 index 0000000..01f7062 --- /dev/null +++ b/data/fzsd.extra.bbl/function/load.mcfunction @@ -0,0 +1,3 @@ +execute if data storage fzsd:install fzsd.extra{bbl:1b} 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.bedrock_broken_count - "}, {"nbt": "fzsd.module.scoreboard.text.bedrock_broken_count", "interpret": true, "storage": "fzsd:module"}] + +execute if data storage fzsd:install fzsd.extra{bbl:1b} 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.extra.bbl/function/try_install.mcfunction b/data/fzsd.extra.bbl/function/try_install.mcfunction new file mode 100644 index 0000000..0de8870 --- /dev/null +++ b/data/fzsd.extra.bbl/function/try_install.mcfunction @@ -0,0 +1,2 @@ +# 扩展现有的模块时,应在加载时检测是否需要安装,见#fzsd:module/scoreboard/load +execute unless data storage fzsd:install fzsd.extra{bbl: 1b} run function fzsd.extra.bbl:install \ No newline at end of file diff --git a/data/fzsd.extra.bbl/function/uninstall.mcfunction b/data/fzsd.extra.bbl/function/uninstall.mcfunction new file mode 100644 index 0000000..1734f86 --- /dev/null +++ b/data/fzsd.extra.bbl/function/uninstall.mcfunction @@ -0,0 +1,8 @@ +# 见#fzsd:module/scoreboard/uninstall +## 移除底层实现计分板 +scoreboard objectives remove fzsd.extra.bbl +## 移除计分板订阅队伍 +team remove fzsd.module.scoreboard.display.bedrock_broken_count +## 设为已卸载 +data modify storage fzsd:install fzsd.extra.bbl 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.extra.bbl/functions/display/carousel/set_display.mcfunction b/data/fzsd.extra.bbl/functions/display/carousel/set_display.mcfunction index 9dd1b6c..08a52b3 100644 --- a/data/fzsd.extra.bbl/functions/display/carousel/set_display.mcfunction +++ b/data/fzsd.extra.bbl/functions/display/carousel/set_display.mcfunction @@ -18,4 +18,4 @@ execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer mat execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 15 run scoreboard objectives setdisplay sidebar.team.white fzsd.module.scoreboard.display.bedrock_broken_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": "text", "interpret": true, "storage": "fzsd.extra.bbl:text"}, {"text": "计分板"}] \ No newline at end of file +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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "text", "interpret": true, "storage": "fzsd.extra.bbl:text"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd.extra.bbl/functions/display/register_id.mcfunction b/data/fzsd.extra.bbl/functions/display/register_id.mcfunction index 241637b..8035531 100644 --- a/data/fzsd.extra.bbl/functions/display/register_id.mcfunction +++ b/data/fzsd.extra.bbl/functions/display/register_id.mcfunction @@ -3,4 +3,4 @@ execute if score fzsd.module.scoreboard.total.bedrock_broken_count fzsd.module.scoreboard.assign.general matches 1.. run function #fzsd:calculation/highest_id_add_1 execute if score fzsd.module.scoreboard.total.bedrock_broken_count fzsd.module.scoreboard.assign.general matches 1.. run scoreboard players operation fzsd.module.scoreboard.display.id.bedrock_broken_count fzsd.variable.integer = fzsd.module.scoreboard.display.highest_id fzsd.variable.integer -execute if score fzsd.module.scoreboard.total.bedrock_broken_count fzsd.module.scoreboard.assign.general matches 1.. if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册"}, {"nbt": "fzsd.scoreboard.text.bedrock_broken_count", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.bedrock_broken_count", "objective": "fzsd.variable.integer"}}] \ No newline at end of file +execute if score fzsd.module.scoreboard.total.bedrock_broken_count fzsd.module.scoreboard.assign.general matches 1.. if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册"}, {"nbt": "fzsd.module.scoreboard.text.bedrock_broken_count", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.bedrock_broken_count", "objective": "fzsd.variable.integer"}}] \ No newline at end of file diff --git a/data/fzsd.extra.bbl/functions/display/set_text/aqua.mcfunction b/data/fzsd.extra.bbl/functions/display/set_text/aqua.mcfunction index cbde44c..b62046d 100644 --- a/data/fzsd.extra.bbl/functions/display/set_text/aqua.mcfunction +++ b/data/fzsd.extra.bbl/functions/display/set_text/aqua.mcfunction @@ -1,6 +1,6 @@ # 见#fzsd.extra.bbl:display/set_text -data modify storage fzsd:module fzsd.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "aqua"}' +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "aqua"}' scoreboard objectives setdisplay sidebar.team.aqua fzsd.module.scoreboard.display.bedrock_broken_count scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "aqua"} team modify fzsd.module.scoreboard.display.bedrock_broken_count color aqua diff --git a/data/fzsd.extra.bbl/functions/display/set_text/black.mcfunction b/data/fzsd.extra.bbl/functions/display/set_text/black.mcfunction index e7afef1..67b0412 100644 --- a/data/fzsd.extra.bbl/functions/display/set_text/black.mcfunction +++ b/data/fzsd.extra.bbl/functions/display/set_text/black.mcfunction @@ -1,6 +1,6 @@ # 见#fzsd.extra.bbl:display/set_text -data modify storage fzsd:module fzsd.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "black"}' +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "black"}' scoreboard objectives setdisplay sidebar.team.black fzsd.module.scoreboard.display.bedrock_broken_count scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "black"} team modify fzsd.module.scoreboard.display.bedrock_broken_count color black diff --git a/data/fzsd.extra.bbl/functions/display/set_text/blue.mcfunction b/data/fzsd.extra.bbl/functions/display/set_text/blue.mcfunction index fe2c966..b617ce4 100644 --- a/data/fzsd.extra.bbl/functions/display/set_text/blue.mcfunction +++ b/data/fzsd.extra.bbl/functions/display/set_text/blue.mcfunction @@ -1,6 +1,6 @@ # 见#fzsd.extra.bbl:display/set_text -data modify storage fzsd:module fzsd.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "blue"}' +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "blue"}' scoreboard objectives setdisplay sidebar.team.blue fzsd.module.scoreboard.display.bedrock_broken_count scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "blue"} team modify fzsd.module.scoreboard.display.bedrock_broken_count color blue diff --git a/data/fzsd.extra.bbl/functions/display/set_text/dark_aqua.mcfunction b/data/fzsd.extra.bbl/functions/display/set_text/dark_aqua.mcfunction index ecda711..570033a 100644 --- a/data/fzsd.extra.bbl/functions/display/set_text/dark_aqua.mcfunction +++ b/data/fzsd.extra.bbl/functions/display/set_text/dark_aqua.mcfunction @@ -1,6 +1,6 @@ # 见#fzsd.extra.bbl:display/set_text -data modify storage fzsd:module fzsd.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "dark_aqua"}' +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "dark_aqua"}' scoreboard objectives setdisplay sidebar.team.dark_aqua fzsd.module.scoreboard.display.bedrock_broken_count scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "dark_aqua"} team modify fzsd.module.scoreboard.display.bedrock_broken_count color dark_aqua diff --git a/data/fzsd.extra.bbl/functions/display/set_text/dark_blue.mcfunction b/data/fzsd.extra.bbl/functions/display/set_text/dark_blue.mcfunction index 0fdfc31..c5144ba 100644 --- a/data/fzsd.extra.bbl/functions/display/set_text/dark_blue.mcfunction +++ b/data/fzsd.extra.bbl/functions/display/set_text/dark_blue.mcfunction @@ -1,6 +1,6 @@ # 见#fzsd.extra.bbl:display/set_text -data modify storage fzsd:module fzsd.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "dark_blue"}' +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "dark_blue"}' scoreboard objectives setdisplay sidebar.team.dark_blue fzsd.module.scoreboard.display.bedrock_broken_count scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "dark_blue"} team modify fzsd.module.scoreboard.display.bedrock_broken_count color dark_blue diff --git a/data/fzsd.extra.bbl/functions/display/set_text/dark_gray.mcfunction b/data/fzsd.extra.bbl/functions/display/set_text/dark_gray.mcfunction index 2accdaa..30f0f6b 100644 --- a/data/fzsd.extra.bbl/functions/display/set_text/dark_gray.mcfunction +++ b/data/fzsd.extra.bbl/functions/display/set_text/dark_gray.mcfunction @@ -1,6 +1,6 @@ # 见#fzsd.extra.bbl:display/set_text -data modify storage fzsd:module fzsd.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "dark_gray"}' +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "dark_gray"}' scoreboard objectives setdisplay sidebar.team.dark_gray fzsd.module.scoreboard.display.bedrock_broken_count scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "dark_gray"} team modify fzsd.module.scoreboard.display.bedrock_broken_count color dark_gray diff --git a/data/fzsd.extra.bbl/functions/display/set_text/dark_green.mcfunction b/data/fzsd.extra.bbl/functions/display/set_text/dark_green.mcfunction index c688cbd..960320f 100644 --- a/data/fzsd.extra.bbl/functions/display/set_text/dark_green.mcfunction +++ b/data/fzsd.extra.bbl/functions/display/set_text/dark_green.mcfunction @@ -1,6 +1,6 @@ # 见#fzsd.extra.bbl:display/set_text -data modify storage fzsd:module fzsd.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "dark_green"}' +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "dark_green"}' scoreboard objectives setdisplay sidebar.team.dark_green fzsd.module.scoreboard.display.bedrock_broken_count scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "dark_green"} team modify fzsd.module.scoreboard.display.bedrock_broken_count color dark_green diff --git a/data/fzsd.extra.bbl/functions/display/set_text/dark_purple.mcfunction b/data/fzsd.extra.bbl/functions/display/set_text/dark_purple.mcfunction index 03e4d07..867aa29 100644 --- a/data/fzsd.extra.bbl/functions/display/set_text/dark_purple.mcfunction +++ b/data/fzsd.extra.bbl/functions/display/set_text/dark_purple.mcfunction @@ -1,6 +1,6 @@ # 见#fzsd.extra.bbl:display/set_text -data modify storage fzsd:module fzsd.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "dark_purple"}' +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "dark_purple"}' scoreboard objectives setdisplay sidebar.team.dark_purple fzsd.module.scoreboard.display.bedrock_broken_count scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "dark_purple"} team modify fzsd.module.scoreboard.display.bedrock_broken_count color dark_purple diff --git a/data/fzsd.extra.bbl/functions/display/set_text/dark_red.mcfunction b/data/fzsd.extra.bbl/functions/display/set_text/dark_red.mcfunction index 354f5f4..f6d1509 100644 --- a/data/fzsd.extra.bbl/functions/display/set_text/dark_red.mcfunction +++ b/data/fzsd.extra.bbl/functions/display/set_text/dark_red.mcfunction @@ -1,6 +1,6 @@ # 见#fzsd.extra.bbl:display/set_text -data modify storage fzsd:module fzsd.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "dark_red"}' +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "dark_red"}' scoreboard objectives setdisplay sidebar.team.dark_red fzsd.module.scoreboard.display.bedrock_broken_count scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "dark_red"} team modify fzsd.module.scoreboard.display.bedrock_broken_count color dark_red diff --git a/data/fzsd.extra.bbl/functions/display/set_text/gold.mcfunction b/data/fzsd.extra.bbl/functions/display/set_text/gold.mcfunction index 82a81c4..5f59b82 100644 --- a/data/fzsd.extra.bbl/functions/display/set_text/gold.mcfunction +++ b/data/fzsd.extra.bbl/functions/display/set_text/gold.mcfunction @@ -1,6 +1,6 @@ # 见#fzsd.extra.bbl:display/set_text -data modify storage fzsd:module fzsd.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "gold"}' +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "gold"}' scoreboard objectives setdisplay sidebar.team.gold fzsd.module.scoreboard.display.bedrock_broken_count scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "gold"} team modify fzsd.module.scoreboard.display.bedrock_broken_count color gold diff --git a/data/fzsd.extra.bbl/functions/display/set_text/gray.mcfunction b/data/fzsd.extra.bbl/functions/display/set_text/gray.mcfunction index ff0fb5a..c448034 100644 --- a/data/fzsd.extra.bbl/functions/display/set_text/gray.mcfunction +++ b/data/fzsd.extra.bbl/functions/display/set_text/gray.mcfunction @@ -1,6 +1,6 @@ # 见#fzsd.extra.bbl:display/set_text -data modify storage fzsd:module fzsd.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "gray"}' +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "gray"}' scoreboard objectives setdisplay sidebar.team.gray fzsd.module.scoreboard.display.bedrock_broken_count scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "gray"} team modify fzsd.module.scoreboard.display.bedrock_broken_count color gray diff --git a/data/fzsd.extra.bbl/functions/display/set_text/green.mcfunction b/data/fzsd.extra.bbl/functions/display/set_text/green.mcfunction index b2edbd8..c2d46e9 100644 --- a/data/fzsd.extra.bbl/functions/display/set_text/green.mcfunction +++ b/data/fzsd.extra.bbl/functions/display/set_text/green.mcfunction @@ -1,6 +1,6 @@ # 见#fzsd.extra.bbl:display/set_text -data modify storage fzsd:module fzsd.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "green"}' +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "green"}' scoreboard objectives setdisplay sidebar.team.green fzsd.module.scoreboard.display.bedrock_broken_count scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "green"} team modify fzsd.module.scoreboard.display.bedrock_broken_count color green diff --git a/data/fzsd.extra.bbl/functions/display/set_text/light_purple.mcfunction b/data/fzsd.extra.bbl/functions/display/set_text/light_purple.mcfunction index ea7fb45..30cefad 100644 --- a/data/fzsd.extra.bbl/functions/display/set_text/light_purple.mcfunction +++ b/data/fzsd.extra.bbl/functions/display/set_text/light_purple.mcfunction @@ -1,6 +1,6 @@ # 见#fzsd.extra.bbl:display/set_text -data modify storage fzsd:module fzsd.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "light_purple"}' +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "light_purple"}' scoreboard objectives setdisplay sidebar.team.light_purple fzsd.module.scoreboard.display.bedrock_broken_count scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "light_purple"} team modify fzsd.module.scoreboard.display.bedrock_broken_count color light_purple diff --git a/data/fzsd.extra.bbl/functions/display/set_text/red.mcfunction b/data/fzsd.extra.bbl/functions/display/set_text/red.mcfunction index 5e875bc..1df159f 100644 --- a/data/fzsd.extra.bbl/functions/display/set_text/red.mcfunction +++ b/data/fzsd.extra.bbl/functions/display/set_text/red.mcfunction @@ -1,6 +1,6 @@ # 见#fzsd.extra.bbl:display/set_text -data modify storage fzsd:module fzsd.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "red"}' +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "red"}' scoreboard objectives setdisplay sidebar.team.red fzsd.module.scoreboard.display.bedrock_broken_count scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "red"} team modify fzsd.module.scoreboard.display.bedrock_broken_count color red diff --git a/data/fzsd.extra.bbl/functions/display/set_text/white.mcfunction b/data/fzsd.extra.bbl/functions/display/set_text/white.mcfunction index f669219..c372170 100644 --- a/data/fzsd.extra.bbl/functions/display/set_text/white.mcfunction +++ b/data/fzsd.extra.bbl/functions/display/set_text/white.mcfunction @@ -1,6 +1,6 @@ # 见#fzsd.extra.bbl:display/set_text -data modify storage fzsd:module fzsd.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "white"}' +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "white"}' scoreboard objectives setdisplay sidebar.team.white fzsd.module.scoreboard.display.bedrock_broken_count scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "white"} team modify fzsd.module.scoreboard.display.bedrock_broken_count color white diff --git a/data/fzsd.extra.bbl/functions/display/set_text/yellow.mcfunction b/data/fzsd.extra.bbl/functions/display/set_text/yellow.mcfunction index b93b7e5..cd5d8f2 100644 --- a/data/fzsd.extra.bbl/functions/display/set_text/yellow.mcfunction +++ b/data/fzsd.extra.bbl/functions/display/set_text/yellow.mcfunction @@ -1,6 +1,6 @@ # 见#fzsd.extra.bbl:display/set_text -data modify storage fzsd:module fzsd.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "yellow"}' +data modify storage fzsd:module fzsd.module.scoreboard.text.bedrock_broken_count set value '{"text": "破基岩榜", "color": "yellow"}' scoreboard objectives setdisplay sidebar.team.yellow fzsd.module.scoreboard.display.bedrock_broken_count scoreboard objectives modify fzsd.module.scoreboard.display.bedrock_broken_count displayname {"text": "破基岩榜", "color": "yellow"} team modify fzsd.module.scoreboard.display.bedrock_broken_count color yellow diff --git a/data/fzsd.extra.bbl/functions/interactor/display.mcfunction b/data/fzsd.extra.bbl/functions/interactor/display.mcfunction index 2adc4e0..efae1ea 100644 --- a/data/fzsd.extra.bbl/functions/interactor/display.mcfunction +++ b/data/fzsd.extra.bbl/functions/interactor/display.mcfunction @@ -1,3 +1,3 @@ # 见#fzsd:module/scoreboard/interactor/display ## 当破基岩榜分数不为0时向玩家显示按钮 -execute if data storage fzsd:install fzsd.extra{bbl:1b} if score fzsd.module.scoreboard.total.bedrock_broken_count fzsd.module.scoreboard.assign.general matches 1.. run tellraw @s [{"text": "[", "color": "dark_gray", "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1210"}, "hoverEvent": {"action": "show_text", "contents": {"nbt": "text", "interpret": true, "storage": "fzsd.extra.bbl:text"}}}, {"nbt": "fzsd.scoreboard.text.bedrock_broken_count", "interpret": true, "storage": "fzsd:module"}, {"text": "]"}] \ No newline at end of file +execute if data storage fzsd:install fzsd.extra{bbl:1b} if score fzsd.module.scoreboard.total.bedrock_broken_count fzsd.module.scoreboard.assign.general matches 1.. run tellraw @s [{"text": "[", "color": "dark_gray", "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1210"}, "hoverEvent": {"action": "show_text", "contents": {"nbt": "text", "interpret": true, "storage": "fzsd.extra.bbl:text"}}}, {"nbt": "fzsd.module.scoreboard.text.bedrock_broken_count", "interpret": true, "storage": "fzsd:module"}, {"text": "]"}] \ No newline at end of file diff --git a/data/fzsd.extra.bbl/functions/load.mcfunction b/data/fzsd.extra.bbl/functions/load.mcfunction index 342ae6e..01f7062 100644 --- a/data/fzsd.extra.bbl/functions/load.mcfunction +++ b/data/fzsd.extra.bbl/functions/load.mcfunction @@ -1,3 +1,3 @@ -execute if data storage fzsd:install fzsd.extra{bbl:1b} 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.bedrock_broken_count - "}, {"nbt": "fzsd.scoreboard.text.bedrock_broken_count", "interpret": true, "storage": "fzsd:module"}] +execute if data storage fzsd:install fzsd.extra{bbl:1b} 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.bedrock_broken_count - "}, {"nbt": "fzsd.module.scoreboard.text.bedrock_broken_count", "interpret": true, "storage": "fzsd:module"}] execute if data storage fzsd:install fzsd.extra{bbl:1b} 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.extra.bbl/tags/function/display/set_text.json b/data/fzsd.extra.bbl/tags/function/display/set_text.json new file mode 100644 index 0000000..e21b375 --- /dev/null +++ b/data/fzsd.extra.bbl/tags/function/display/set_text.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd.extra.bbl:display/set_text/dark_gray" + ] +} \ No newline at end of file diff --git a/data/fzsd.extra.bbl/tags/function/event/broke_bedrock.json b/data/fzsd.extra.bbl/tags/function/event/broke_bedrock.json new file mode 100644 index 0000000..909f494 --- /dev/null +++ b/data/fzsd.extra.bbl/tags/function/event/broke_bedrock.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "fzsd.extra.bbl:assign/bbl", + "fzsd.extra.bbl:assign/general" + ] +} \ No newline at end of file diff --git a/data/fzsd/advancement/game_event.json b/data/fzsd/advancement/game_event.json new file mode 100644 index 0000000..e7279b2 --- /dev/null +++ b/data/fzsd/advancement/game_event.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "root":{ + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/data/fzsd/advancement/game_event/on_aviate_one_meter.json b/data/fzsd/advancement/game_event/on_aviate_one_meter.json new file mode 100644 index 0000000..8eaf973 --- /dev/null +++ b/data/fzsd/advancement/game_event/on_aviate_one_meter.json @@ -0,0 +1,24 @@ +{ + "parent": "fzsd:game_event", + "criteria": { + "on_aviate_one_meter": { + "trigger": "minecraft:tick", + "conditions": { + "player": [ + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.aviating_distance": { + "min": 200 + } + } + } + ] + } + } + }, + "rewards": { + "function": "fzsd:game_event/advancement/on_aviate_one_meter" + } +} \ No newline at end of file diff --git a/data/fzsd/advancement/game_event/on_dead.json b/data/fzsd/advancement/game_event/on_dead.json new file mode 100644 index 0000000..1bfff19 --- /dev/null +++ b/data/fzsd/advancement/game_event/on_dead.json @@ -0,0 +1,24 @@ +{ + "parent": "fzsd:game_event", + "criteria": { + "on_dead": { + "trigger": "minecraft:tick", + "conditions": { + "player": [ + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.death_count": { + "min": 1 + } + } + } + ] + } + } + }, + "rewards": { + "function": "fzsd:game_event/advancement/on_dead" + } +} \ No newline at end of file diff --git a/data/fzsd/advancement/game_event/on_entered_nether_portal.json b/data/fzsd/advancement/game_event/on_entered_nether_portal.json new file mode 100644 index 0000000..d65ae5e --- /dev/null +++ b/data/fzsd/advancement/game_event/on_entered_nether_portal.json @@ -0,0 +1,32 @@ +{ + "parent": "fzsd:game_event", + "criteria": { + "on_entered_nether_portal": { + "trigger": "minecraft:changed_dimension", + "conditions": { + "player": [ + { + "condition": "minecraft:reference", + "name": "fzsd:is_real_player" + }, + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "location": { + "block": { + "blocks": [ + "minecraft:nether_portal" + ] + } + } + } + } + ] + } + } + }, + "rewards": { + "function": "fzsd:game_event/advancement/on_entered_nether_portal" + } +} \ No newline at end of file diff --git a/data/fzsd/advancement/game_event/on_fished.json b/data/fzsd/advancement/game_event/on_fished.json new file mode 100644 index 0000000..8466d68 --- /dev/null +++ b/data/fzsd/advancement/game_event/on_fished.json @@ -0,0 +1,22 @@ +{ + "parent": "fzsd:game_event", + "criteria": { + "on_fished": { + "trigger": "minecraft:fishing_rod_hooked", + "conditions": { + "player": [ + { + "condition": "minecraft:reference", + "name": "fzsd:is_real_player" + } + ], + "item": { + "items": "#fzsd:raw_fishes" + } + } + } + }, + "rewards": { + "function": "fzsd:game_event/advancement/on_fished" + } +} diff --git a/data/fzsd/advancement/game_event/on_hurt_entity_with_tools.json b/data/fzsd/advancement/game_event/on_hurt_entity_with_tools.json new file mode 100644 index 0000000..4b6e8d4 --- /dev/null +++ b/data/fzsd/advancement/game_event/on_hurt_entity_with_tools.json @@ -0,0 +1,30 @@ +{ + "parent": "fzsd:game_event", + "criteria": { + "on_hurt_entity_with_tools": { + "trigger": "minecraft:player_hurt_entity", + "conditions": { + "player": [ + { + "condition": "minecraft:reference", + "name": "fzsd:is_real_player" + }, + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "equipment": { + "mainhand": { + "items": "#fzsd:tools" + } + } + } + } + ] + } + } + }, + "rewards": { + "function": "fzsd:game_event/advancement/on_hurt_entity_with_tools" + } +} \ No newline at end of file diff --git a/data/fzsd/advancement/game_event/on_killed_mob_or_player.json b/data/fzsd/advancement/game_event/on_killed_mob_or_player.json new file mode 100644 index 0000000..e9982f5 --- /dev/null +++ b/data/fzsd/advancement/game_event/on_killed_mob_or_player.json @@ -0,0 +1,34 @@ +{ + "parent": "fzsd:game_event", + "criteria": { + "on_killed_mob_or_player": { + "trigger": "minecraft:player_killed_entity", + "conditions": { + "player": [ + { + "condition": "minecraft:reference", + "name": "fzsd:is_real_player" + } + ], + "entity": [ + { + "condition": "minecraft:inverted", + "term": { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "type": "#fzsd:ignore_on_player_killed_entity" + } + } + } + ], + "killing_blow": { + "bypasses_invulnerability": false + } + } + } + }, + "rewards": { + "function": "fzsd:game_event/advancement/on_killed_mob_or_player" + } +} \ No newline at end of file diff --git a/data/fzsd/advancement/game_event/on_login.json b/data/fzsd/advancement/game_event/on_login.json new file mode 100644 index 0000000..a66109b --- /dev/null +++ b/data/fzsd/advancement/game_event/on_login.json @@ -0,0 +1,27 @@ +{ + "parent": "fzsd:game_event", + "criteria": { + "on_login": { + "trigger": "tick", + "conditions": { + "player": [ + { + "condition": "minecraft:inverted", + "term": { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.leave_game": { + "max": 0 + } + } + } + } + ] + } + } + }, + "rewards": { + "function": "fzsd:game_event/advancement/on_login" + } +} \ No newline at end of file diff --git a/data/fzsd/advancement/game_event/on_piglin_trade.json b/data/fzsd/advancement/game_event/on_piglin_trade.json new file mode 100644 index 0000000..e044092 --- /dev/null +++ b/data/fzsd/advancement/game_event/on_piglin_trade.json @@ -0,0 +1,25 @@ +{ + "parent": "fzsd:game_event", + "criteria": { + "on_piglin_trade": { + "trigger": "minecraft:thrown_item_picked_up_by_entity", + "conditions": { + "player": [ + { + "condition": "minecraft:reference", + "name": "fzsd:is_real_player" + } + ], + "entity": { + "type": "minecraft:piglin", + "flags": { + "is_baby": false + } + } + } + } + }, + "rewards": { + "function": "fzsd:game_event/advancement/on_piglin_trade" + } +} \ No newline at end of file diff --git a/data/fzsd/advancement/game_event/on_placed_block.json b/data/fzsd/advancement/game_event/on_placed_block.json new file mode 100644 index 0000000..8e6656c --- /dev/null +++ b/data/fzsd/advancement/game_event/on_placed_block.json @@ -0,0 +1,19 @@ +{ + "parent": "fzsd:game_event", + "criteria": { + "on_placed_block": { + "trigger": "minecraft:placed_block", + "conditions": { + "location": [ + { + "condition": "minecraft:reference", + "name": "fzsd:is_real_player" + } + ] + } + } + }, + "rewards": { + "function": "fzsd:game_event/advancement/on_placed_block" + } +} \ No newline at end of file diff --git a/data/fzsd/advancement/game_event/on_placed_block/on_placed_liquid.json b/data/fzsd/advancement/game_event/on_placed_block/on_placed_liquid.json new file mode 100644 index 0000000..0bf11d9 --- /dev/null +++ b/data/fzsd/advancement/game_event/on_placed_block/on_placed_liquid.json @@ -0,0 +1,27 @@ +{ + "parent": "fzsd:game_event/on_placed_block", + "criteria": { + "on_placed_liquid": { + "trigger": "minecraft:placed_block", + "conditions": { + "location": [ + { + "condition": "minecraft:reference", + "name": "fzsd:is_real_player" + }, + { + "condition": "minecraft:location_check", + "predicate": { + "block": { + "blocks": "#fzsd:liquid" + } + } + } + ] + } + } + }, + "rewards": { + "function": "fzsd:game_event/advancement/on_placed_block/on_placed_liquid" + } +} \ No newline at end of file diff --git a/data/fzsd/advancement/game_event/on_placed_block/on_placed_solid.json b/data/fzsd/advancement/game_event/on_placed_block/on_placed_solid.json new file mode 100644 index 0000000..f44a433 --- /dev/null +++ b/data/fzsd/advancement/game_event/on_placed_block/on_placed_solid.json @@ -0,0 +1,31 @@ +{ + "parent": "fzsd:game_event/on_placed_block", + "criteria": { + "on_placed_solid": { + "trigger": "minecraft:placed_block", + "conditions": { + "location": [ + { + "condition": "minecraft:reference", + "name": "fzsd:is_real_player" + }, + { + "condition": "minecraft:inverted", + "term": + { + "condition": "minecraft:location_check", + "predicate": { + "block": { + "blocks": "#fzsd:liquid" + } + } + } + } + ] + } + } + }, + "rewards": { + "function": "fzsd:game_event/advancement/on_placed_block/on_placed_solid" + } +} \ No newline at end of file diff --git a/data/fzsd/advancement/game_event/on_play_one_hour.json b/data/fzsd/advancement/game_event/on_play_one_hour.json new file mode 100644 index 0000000..2208f1c --- /dev/null +++ b/data/fzsd/advancement/game_event/on_play_one_hour.json @@ -0,0 +1,24 @@ +{ + "parent": "fzsd:game_event", + "criteria": { + "on_play_one_hour": { + "trigger": "minecraft:tick", + "conditions": { + "player": [ + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.play_ticks": { + "min": 72000 + } + } + } + ] + } + } + }, + "rewards": { + "function": "fzsd:game_event/advancement/on_play_one_hour" + } +} \ No newline at end of file diff --git a/data/fzsd/advancement/game_event/on_shears_used_on_entity.json b/data/fzsd/advancement/game_event/on_shears_used_on_entity.json new file mode 100644 index 0000000..3c74dc2 --- /dev/null +++ b/data/fzsd/advancement/game_event/on_shears_used_on_entity.json @@ -0,0 +1,25 @@ +{ + "parent": "fzsd:game_event", + "criteria": { + "on_shears_used_on_entity": { + "trigger": "minecraft:player_interacted_with_entity", + "conditions": { + "player": [ + { + "condition": "minecraft:reference", + "name": "fzsd:is_real_player" + } + ], + "entity": { + "type": "#fzsd:shearable" + }, + "item": { + "items": "#fzsd:tool/shears" + } + } + } + }, + "rewards": { + "function": "fzsd:game_event/advancement/on_shears_used_on_entity" + } +} \ No newline at end of file diff --git a/data/fzsd/advancement/game_event/on_sleeping.json b/data/fzsd/advancement/game_event/on_sleeping.json new file mode 100644 index 0000000..8b546d7 --- /dev/null +++ b/data/fzsd/advancement/game_event/on_sleeping.json @@ -0,0 +1,19 @@ +{ + "parent": "fzsd:game_event", + "criteria": { + "on_sleeping": { + "trigger": "minecraft:slept_in_bed", + "conditions": { + "player": [ + { + "condition": "minecraft:reference", + "name": "fzsd:is_real_player" + } + ] + } + } + }, + "rewards": { + "function": "fzsd:game_event/advancement/on_sleeping" + } +} \ No newline at end of file diff --git a/data/fzsd/advancement/game_event/on_sneak.json b/data/fzsd/advancement/game_event/on_sneak.json new file mode 100644 index 0000000..0162a72 --- /dev/null +++ b/data/fzsd/advancement/game_event/on_sneak.json @@ -0,0 +1,28 @@ +{ + "parent": "fzsd:game_event", + "criteria": { + "on_sneak": { + "trigger": "minecraft:tick", + "conditions": { + "player": [ + { + "condition": "minecraft:reference", + "name": "fzsd:is_real_player" + }, + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "flags": { + "is_sneaking": true + } + } + } + ] + } + } + }, + "rewards": { + "function": "fzsd:game_event/advancement/on_sneak" + } +} \ No newline at end of file diff --git a/data/fzsd/advancement/game_event/on_took_damage.json b/data/fzsd/advancement/game_event/on_took_damage.json new file mode 100644 index 0000000..b5fa98f --- /dev/null +++ b/data/fzsd/advancement/game_event/on_took_damage.json @@ -0,0 +1,24 @@ +{ + "parent": "fzsd:game_event", + "criteria": { + "on_took_damage": { + "trigger": "minecraft:tick", + "conditions": { + "player": [ + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.damage_taken": { + "min": 10 + } + } + } + ] + } + } + }, + "rewards": { + "function": "fzsd:game_event/advancement/on_took_damage" + } +} \ No newline at end of file diff --git a/data/fzsd/advancement/game_event/on_tools_used_on_block.json b/data/fzsd/advancement/game_event/on_tools_used_on_block.json new file mode 100644 index 0000000..fbfe4b2 --- /dev/null +++ b/data/fzsd/advancement/game_event/on_tools_used_on_block.json @@ -0,0 +1,50 @@ +{ + "parent": "fzsd:game_event", + "criteria": { + "on_tools_exclude_axes_used_on_block": { + "trigger": "minecraft:item_used_on_block", + "conditions": { + "location": [ + { + "condition": "minecraft:reference", + "name": "fzsd:is_real_player" + }, + { + "condition": "minecraft:any_of", + "terms": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "items": "#fzsd:tools_exclude_axes" + } + }, + { + "condition": "minecraft:all_of", + "terms": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "items": "#fzsd:tool/axes" + } + }, + { + "condition": "minecraft:location_check", + "predicate": { + "__comment": "斧子剥树皮会触发两次,所以用目标方块限定只触发一次", + "block": { + "blocks": "#fzsd:stripped_blocks" + } + } + } + ] + } + ] + } + ] + } + } + }, + "rewards": { + "function": "fzsd:game_event/advancement/on_tools_used_on_block" + } +} \ No newline at end of file diff --git a/data/fzsd/advancement/game_event/on_unsneak.json b/data/fzsd/advancement/game_event/on_unsneak.json new file mode 100644 index 0000000..c2b20c4 --- /dev/null +++ b/data/fzsd/advancement/game_event/on_unsneak.json @@ -0,0 +1,34 @@ +{ + "parent": "fzsd:game_event/on_sneak", + "criteria": { + "on_unsneak": { + "trigger": "minecraft:tick", + "conditions": { + "player": [ + { + "condition": "minecraft:reference", + "name": "fzsd:is_real_player" + }, + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "flags": { + "is_sneaking": false + }, + "type_specific": { + "type": "player", + "advancements": { + "fzsd:game_event/on_sneak": true + } + } + } + } + ] + } + } + }, + "rewards": { + "function": "fzsd:game_event/advancement/on_unsneak" + } +} \ No newline at end of file diff --git a/data/fzsd/advancement/game_event/on_used_tool.json b/data/fzsd/advancement/game_event/on_used_tool.json new file mode 100644 index 0000000..611b376 --- /dev/null +++ b/data/fzsd/advancement/game_event/on_used_tool.json @@ -0,0 +1,19 @@ +{ + "parent": "fzsd:game_event", + "criteria": { + "on_used_tool": { + "trigger": "minecraft:tick", + "conditions": { + "player": [ + { + "condition": "minecraft:reference", + "name": "fzsd:used_tool" + } + ] + } + } + }, + "rewards": { + "function": "fzsd:game_event/advancement/on_used_tool" + } +} \ No newline at end of file diff --git a/data/fzsd/advancement/game_event/on_villager_trade.json b/data/fzsd/advancement/game_event/on_villager_trade.json new file mode 100644 index 0000000..f4d6c37 --- /dev/null +++ b/data/fzsd/advancement/game_event/on_villager_trade.json @@ -0,0 +1,19 @@ +{ + "parent": "fzsd:game_event", + "criteria": { + "on_villager_trade": { + "trigger": "minecraft:villager_trade", + "conditions": { + "player": [ + { + "condition": "minecraft:reference", + "name": "fzsd:is_real_player" + } + ] + } + } + }, + "rewards": { + "function": "fzsd:game_event/advancement/on_villager_trade" + } +} \ No newline at end of file diff --git a/data/fzsd/advancement/module/interactor.json b/data/fzsd/advancement/module/interactor.json new file mode 100644 index 0000000..73e818b --- /dev/null +++ b/data/fzsd/advancement/module/interactor.json @@ -0,0 +1,7 @@ +{ + "criteria": { + "interactor": { + "trigger": "minecraft:impossible" + } + } +} \ No newline at end of file diff --git a/data/fzsd/advancement/module/interactor/on_click.json b/data/fzsd/advancement/module/interactor/on_click.json new file mode 100644 index 0000000..5f11175 --- /dev/null +++ b/data/fzsd/advancement/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:any_of", + "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/advamcement/on_click" + } +} \ No newline at end of file diff --git a/data/fzsd/function/api/get_current_daytime.mcfunction b/data/fzsd/function/api/get_current_daytime.mcfunction new file mode 100644 index 0000000..2811846 --- /dev/null +++ b/data/fzsd/function/api/get_current_daytime.mcfunction @@ -0,0 +1,2 @@ +# 游戏时间范围:0-2147483647 +execute store result score fzsd.var.cache fzsd.variable.integer run time query daytime \ No newline at end of file diff --git a/data/fzsd/function/api/get_current_gametime.mcfunction b/data/fzsd/function/api/get_current_gametime.mcfunction new file mode 100644 index 0000000..54829d4 --- /dev/null +++ b/data/fzsd/function/api/get_current_gametime.mcfunction @@ -0,0 +1,2 @@ +# 游戏时间范围:0-2147483647 +execute store result score fzsd.var.cache fzsd.variable.integer run time query gametime \ No newline at end of file diff --git a/data/fzsd/function/api/get_dimension_name/default.mcfunction b/data/fzsd/function/api/get_dimension_name/default.mcfunction new file mode 100644 index 0000000..dc3a371 --- /dev/null +++ b/data/fzsd/function/api/get_dimension_name/default.mcfunction @@ -0,0 +1 @@ +data modify storage fzsd:global fzsd.api.dimension.name set value '{"nbt": "fzsd.api.dimension.id", "storage": "fzsd:global"}' \ No newline at end of file diff --git a/data/fzsd/function/api/get_dimension_name/minecraft/overworld.mcfunction b/data/fzsd/function/api/get_dimension_name/minecraft/overworld.mcfunction new file mode 100644 index 0000000..8f7e258 --- /dev/null +++ b/data/fzsd/function/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/function/api/get_dimension_name/minecraft/the_end.mcfunction b/data/fzsd/function/api/get_dimension_name/minecraft/the_end.mcfunction new file mode 100644 index 0000000..dbccdcd --- /dev/null +++ b/data/fzsd/function/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/function/api/get_dimension_name/minecraft/the_nether.mcfunction b/data/fzsd/function/api/get_dimension_name/minecraft/the_nether.mcfunction new file mode 100644 index 0000000..05c0a73 --- /dev/null +++ b/data/fzsd/function/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/function/api/get_player_dimension.mcfunction b/data/fzsd/function/api/get_player_dimension.mcfunction new file mode 100644 index 0000000..aac4b24 --- /dev/null +++ b/data/fzsd/function/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/function/api/get_time_since_rest.mcfunction b/data/fzsd/function/api/get_time_since_rest.mcfunction new file mode 100644 index 0000000..cdd641f --- /dev/null +++ b/data/fzsd/function/api/get_time_since_rest.mcfunction @@ -0,0 +1 @@ +scoreboard players operation fzsd.var.cache fzsd.variable.integer = @s fzsd.api.time_since_rest \ No newline at end of file diff --git a/data/fzsd/function/api/install.mcfunction b/data/fzsd/function/api/install.mcfunction new file mode 100644 index 0000000..d7bcc13 --- /dev/null +++ b/data/fzsd/function/api/install.mcfunction @@ -0,0 +1,5 @@ +## 距上次睡觉时间 +scoreboard objectives add fzsd.api.time_since_rest minecraft.custom:time_since_rest + +## 调试 +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "已安装系统组件:API"}] \ No newline at end of file diff --git a/data/fzsd/function/api/uninstall.mcfunction b/data/fzsd/function/api/uninstall.mcfunction new file mode 100644 index 0000000..37606d2 --- /dev/null +++ b/data/fzsd/function/api/uninstall.mcfunction @@ -0,0 +1,5 @@ +## 距上次睡觉时间 +scoreboard objectives remove fzsd.api.time_since_rest + +## 调试 +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "已卸载系统组件:API"}] \ No newline at end of file diff --git a/data/fzsd/function/boot.mcfunction b/data/fzsd/function/boot.mcfunction new file mode 100644 index 0000000..642deff --- /dev/null +++ b/data/fzsd/function/boot.mcfunction @@ -0,0 +1,5 @@ +execute store success storage fzsd:version fzsd.need_update byte 1 run data merge storage fzsd:version {fzsd: {version: '3.1.9-beta.2'}} +execute if data storage fzsd:version fzsd{need_update: 1b} 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": "red"}] diff --git a/data/fzsd/function/entry.mcfunction b/data/fzsd/function/entry.mcfunction new file mode 100644 index 0000000..0db68e8 --- /dev/null +++ b/data/fzsd/function/entry.mcfunction @@ -0,0 +1 @@ +execute unless data storage fzsd:install fzsd{global: 0b} run function fzsd:boot \ No newline at end of file diff --git a/data/fzsd/function/game_event/advancement/on_aviate_one_meter.mcfunction b/data/fzsd/function/game_event/advancement/on_aviate_one_meter.mcfunction new file mode 100644 index 0000000..978b737 --- /dev/null +++ b/data/fzsd/function/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 from fzsd:game_event/on_aviate_one_meter \ No newline at end of file diff --git a/data/fzsd/function/game_event/advancement/on_dead.mcfunction b/data/fzsd/function/game_event/advancement/on_dead.mcfunction new file mode 100644 index 0000000..3b7a235 --- /dev/null +++ b/data/fzsd/function/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 from fzsd:game_event/on_dead \ No newline at end of file diff --git a/data/fzsd/function/game_event/advancement/on_entered_nether_portal.mcfunction b/data/fzsd/function/game_event/advancement/on_entered_nether_portal.mcfunction new file mode 100644 index 0000000..b17436f --- /dev/null +++ b/data/fzsd/function/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 from fzsd:game_event/on_entered_nether_portal \ No newline at end of file diff --git a/data/fzsd/function/game_event/advancement/on_fished.mcfunction b/data/fzsd/function/game_event/advancement/on_fished.mcfunction new file mode 100644 index 0000000..a66acbe --- /dev/null +++ b/data/fzsd/function/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 from fzsd:game_event/on_fished \ No newline at end of file diff --git a/data/fzsd/function/game_event/advancement/on_hurt_entity_with_tools.mcfunction b/data/fzsd/function/game_event/advancement/on_hurt_entity_with_tools.mcfunction new file mode 100644 index 0000000..9c3af36 --- /dev/null +++ b/data/fzsd/function/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 from fzsd:game_event/on_hurt_entity_with_tools diff --git a/data/fzsd/function/game_event/advancement/on_killed_mob_or_player.mcfunction b/data/fzsd/function/game_event/advancement/on_killed_mob_or_player.mcfunction new file mode 100644 index 0000000..ee9dd51 --- /dev/null +++ b/data/fzsd/function/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 from fzsd:game_event/on_killed_mob_or_player \ No newline at end of file diff --git a/data/fzsd/function/game_event/advancement/on_login.mcfunction b/data/fzsd/function/game_event/advancement/on_login.mcfunction new file mode 100644 index 0000000..c768464 --- /dev/null +++ b/data/fzsd/function/game_event/advancement/on_login.mcfunction @@ -0,0 +1,7 @@ +# 调用者:advancements/fzsd:~ + +scoreboard players set @s fzsd.event.leave_game 0 +execute if predicate fzsd:is_real_player if score @s fzsd.event.leave_game matches 0 run function fzsd:game_event/player/on_login + +## 重制所有触发器、事件进度 +function #fzsd:game_event/reset_all \ No newline at end of file diff --git a/data/fzsd/function/game_event/advancement/on_piglin_trade.mcfunction b/data/fzsd/function/game_event/advancement/on_piglin_trade.mcfunction new file mode 100644 index 0000000..95436d3 --- /dev/null +++ b/data/fzsd/function/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 from fzsd:game_event/on_piglin_trade \ No newline at end of file diff --git a/data/fzsd/function/game_event/advancement/on_placed_block.mcfunction b/data/fzsd/function/game_event/advancement/on_placed_block.mcfunction new file mode 100644 index 0000000..84890f2 --- /dev/null +++ b/data/fzsd/function/game_event/advancement/on_placed_block.mcfunction @@ -0,0 +1,9 @@ +# 调用者: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 from fzsd:game_event/on_placed_block \ No newline at end of file diff --git a/data/fzsd/function/game_event/advancement/on_placed_block/on_placed_liquid.mcfunction b/data/fzsd/function/game_event/advancement/on_placed_block/on_placed_liquid.mcfunction new file mode 100644 index 0000000..90f3ea9 --- /dev/null +++ b/data/fzsd/function/game_event/advancement/on_placed_block/on_placed_liquid.mcfunction @@ -0,0 +1,9 @@ +# 调用者: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_liquid + +## 重置事件进度 +advancement revoke @s from fzsd:game_event/on_placed_block/on_placed_liquid \ No newline at end of file diff --git a/data/fzsd/function/game_event/advancement/on_placed_block/on_placed_solid.mcfunction b/data/fzsd/function/game_event/advancement/on_placed_block/on_placed_solid.mcfunction new file mode 100644 index 0000000..1d98643 --- /dev/null +++ b/data/fzsd/function/game_event/advancement/on_placed_block/on_placed_solid.mcfunction @@ -0,0 +1,9 @@ +# 调用者: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_solid + +## 重置事件进度 +advancement revoke @s from fzsd:game_event/on_placed_block/on_placed_solid \ No newline at end of file diff --git a/data/fzsd/function/game_event/advancement/on_play_one_hour.mcfunction b/data/fzsd/function/game_event/advancement/on_play_one_hour.mcfunction new file mode 100644 index 0000000..352695d --- /dev/null +++ b/data/fzsd/function/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 from fzsd:game_event/on_play_one_hour \ No newline at end of file diff --git a/data/fzsd/function/game_event/advancement/on_shears_used_on_entity.mcfunction b/data/fzsd/function/game_event/advancement/on_shears_used_on_entity.mcfunction new file mode 100644 index 0000000..e241bab --- /dev/null +++ b/data/fzsd/function/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 from fzsd:game_event/on_shears_used_on_entity \ No newline at end of file diff --git a/data/fzsd/function/game_event/advancement/on_sleeping.mcfunction b/data/fzsd/function/game_event/advancement/on_sleeping.mcfunction new file mode 100644 index 0000000..8bd3b59 --- /dev/null +++ b/data/fzsd/function/game_event/advancement/on_sleeping.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_sleeping + +## 重置事件进度 +advancement revoke @s from fzsd:game_event/on_sleeping \ No newline at end of file diff --git a/data/fzsd/function/game_event/advancement/on_sneak.mcfunction b/data/fzsd/function/game_event/advancement/on_sneak.mcfunction new file mode 100644 index 0000000..681976b --- /dev/null +++ b/data/fzsd/function/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/function/game_event/advancement/on_took_damage.mcfunction b/data/fzsd/function/game_event/advancement/on_took_damage.mcfunction new file mode 100644 index 0000000..1a6b66c --- /dev/null +++ b/data/fzsd/function/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 from fzsd:game_event/on_took_damage \ No newline at end of file diff --git a/data/fzsd/function/game_event/advancement/on_tools_used_on_block.mcfunction b/data/fzsd/function/game_event/advancement/on_tools_used_on_block.mcfunction new file mode 100644 index 0000000..5be2424 --- /dev/null +++ b/data/fzsd/function/game_event/advancement/on_tools_used_on_block.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_tools_used_on_block + +## 重置事件进度 +advancement revoke @s from fzsd:game_event/on_tools_used_on_block \ No newline at end of file diff --git a/data/fzsd/function/game_event/advancement/on_unsneak.mcfunction b/data/fzsd/function/game_event/advancement/on_unsneak.mcfunction new file mode 100644 index 0000000..0945120 --- /dev/null +++ b/data/fzsd/function/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 through fzsd:game_event/on_unsneak \ No newline at end of file diff --git a/data/fzsd/function/game_event/advancement/on_used_tool.mcfunction b/data/fzsd/function/game_event/advancement/on_used_tool.mcfunction new file mode 100644 index 0000000..aae7055 --- /dev/null +++ b/data/fzsd/function/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 from fzsd:game_event/on_used_tool \ No newline at end of file diff --git a/data/fzsd/function/game_event/advancement/on_villager_trade.mcfunction b/data/fzsd/function/game_event/advancement/on_villager_trade.mcfunction new file mode 100644 index 0000000..0ef9ed4 --- /dev/null +++ b/data/fzsd/function/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 from fzsd:game_event/on_villager_trade \ No newline at end of file diff --git a/data/fzsd/function/game_event/advancement/reset_advancements.mcfunction b/data/fzsd/function/game_event/advancement/reset_advancements.mcfunction new file mode 100644 index 0000000..cc62933 --- /dev/null +++ b/data/fzsd/function/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/function/game_event/game/on_night.mcfunction b/data/fzsd/function/game_event/game/on_night.mcfunction new file mode 100644 index 0000000..53bfb00 --- /dev/null +++ b/data/fzsd/function/game_event/game/on_night.mcfunction @@ -0,0 +1,7 @@ +# 调用者:fzsd:game_event/game/on_night/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": "事件已触发:夜幕降临"}] + +## 运行事件 +function #fzsd:game_event/game/on_night \ No newline at end of file diff --git a/data/fzsd/function/game_event/game/on_night/on_tick.mcfunction b/data/fzsd/function/game_event/game/on_night/on_tick.mcfunction new file mode 100644 index 0000000..9b82f55 --- /dev/null +++ b/data/fzsd/function/game_event/game/on_night/on_tick.mcfunction @@ -0,0 +1,3 @@ +# 由fzsd:game_event/on_tick事件调用 +function #fzsd:api/get_current_daytime +execute if score fzsd.var.cache fzsd.variable.integer matches 12516 run function fzsd:game_event/game/on_night \ No newline at end of file diff --git a/data/fzsd/function/game_event/install.mcfunction b/data/fzsd/function/game_event/install.mcfunction new file mode 100644 index 0000000..ae22326 --- /dev/null +++ b/data/fzsd/function/game_event/install.mcfunction @@ -0,0 +1,45 @@ +## 事件触发 +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 + +## 调试 +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/function/game_event/load.mcfunction b/data/fzsd/function/game_event/load.mcfunction new file mode 100644 index 0000000..c0c03fb --- /dev/null +++ b/data/fzsd/function/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/function/game_event/on_tick.mcfunction b/data/fzsd/function/game_event/on_tick.mcfunction new file mode 100644 index 0000000..d77072b --- /dev/null +++ b/data/fzsd/function/game_event/on_tick.mcfunction @@ -0,0 +1,3 @@ +scoreboard players add @a[predicate=fzsd:is_real_player] fzsd.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/function/game_event/player/on_aviate_one_meter.mcfunction b/data/fzsd/function/game_event/player/on_aviate_one_meter.mcfunction new file mode 100644 index 0000000..385947f --- /dev/null +++ b/data/fzsd/function/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/function/game_event/player/on_broke_block_with_tool.mcfunction b/data/fzsd/function/game_event/player/on_broke_block_with_tool.mcfunction new file mode 100644 index 0000000..dae942d --- /dev/null +++ b/data/fzsd/function/game_event/player/on_broke_block_with_tool.mcfunction @@ -0,0 +1,7 @@ +# 调用者:fzsd:game_event/player/on_broke_block_with_tool/try_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": "挖掘了方块"}] + +## 运行事件 +function #fzsd:game_event/player/on_broke_block_with_tool \ No newline at end of file diff --git a/data/fzsd/function/game_event/player/on_broke_block_with_tool/calculate_dig_score.mcfunction b/data/fzsd/function/game_event/player/on_broke_block_with_tool/calculate_dig_score.mcfunction new file mode 100644 index 0000000..a92443b --- /dev/null +++ b/data/fzsd/function/game_event/player/on_broke_block_with_tool/calculate_dig_score.mcfunction @@ -0,0 +1,33 @@ +## 收集挖掘数据 +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.dig_offset \ No newline at end of file diff --git a/data/fzsd/function/game_event/player/on_broke_block_with_tool/try_trigger.mcfunction b/data/fzsd/function/game_event/player/on_broke_block_with_tool/try_trigger.mcfunction new file mode 100644 index 0000000..dbbae2c --- /dev/null +++ b/data/fzsd/function/game_event/player/on_broke_block_with_tool/try_trigger.mcfunction @@ -0,0 +1,4 @@ +# 调用者:#fzsd:game_event/player/on_used_tool + +## 判断分数 +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/function/game_event/player/on_dead.mcfunction b/data/fzsd/function/game_event/player/on_dead.mcfunction new file mode 100644 index 0000000..c18c269 --- /dev/null +++ b/data/fzsd/function/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/function/game_event/player/on_login.mcfunction b/data/fzsd/function/game_event/player/on_login.mcfunction new file mode 100644 index 0000000..affa3f5 --- /dev/null +++ b/data/fzsd/function/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/function/game_event/player/on_play_one_hour.mcfunction b/data/fzsd/function/game_event/player/on_play_one_hour.mcfunction new file mode 100644 index 0000000..1c2dfb9 --- /dev/null +++ b/data/fzsd/function/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/function/game_event/player/on_took_damage.mcfunction b/data/fzsd/function/game_event/player/on_took_damage.mcfunction new file mode 100644 index 0000000..9c13533 --- /dev/null +++ b/data/fzsd/function/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/function/game_event/player/on_used_tool.mcfunction b/data/fzsd/function/game_event/player/on_used_tool.mcfunction new file mode 100644 index 0000000..9513ded --- /dev/null +++ b/data/fzsd/function/game_event/player/on_used_tool.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_used_tool \ No newline at end of file diff --git a/data/fzsd/function/game_event/player/on_used_tool/reset_used_tool.mcfunction b/data/fzsd/function/game_event/player/on_used_tool/reset_used_tool.mcfunction new file mode 100644 index 0000000..ad4bc6c --- /dev/null +++ b/data/fzsd/function/game_event/player/on_used_tool/reset_used_tool.mcfunction @@ -0,0 +1,35 @@ +scoreboard players set @s fzsd.event.used_tool.dig_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 ..300 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/function/game_event/uninstall.mcfunction b/data/fzsd/function/game_event/uninstall.mcfunction new file mode 100644 index 0000000..dffc5a4 --- /dev/null +++ b/data/fzsd/function/game_event/uninstall.mcfunction @@ -0,0 +1,46 @@ +## 事件触发 +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 + +## 调试 +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/function/logger/clear_data.mcfunction b/data/fzsd/function/logger/clear_data.mcfunction new file mode 100644 index 0000000..258062d --- /dev/null +++ b/data/fzsd/function/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/function/logger/install.mcfunction b/data/fzsd/function/logger/install.mcfunction new file mode 100644 index 0000000..4b42440 --- /dev/null +++ b/data/fzsd/function/logger/install.mcfunction @@ -0,0 +1,28 @@ +##### 使用方式,形如: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 + +## 调试 +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/function/logger/level/debug.mcfunction b/data/fzsd/function/logger/level/debug.mcfunction new file mode 100644 index 0000000..107e6c8 --- /dev/null +++ b/data/fzsd/function/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/function/logger/level/fine.mcfunction b/data/fzsd/function/logger/level/fine.mcfunction new file mode 100644 index 0000000..2aa37eb --- /dev/null +++ b/data/fzsd/function/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/function/logger/level/info.mcfunction b/data/fzsd/function/logger/level/info.mcfunction new file mode 100644 index 0000000..0d2814a --- /dev/null +++ b/data/fzsd/function/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/function/logger/load.mcfunction b/data/fzsd/function/logger/load.mcfunction new file mode 100644 index 0000000..122f127 --- /dev/null +++ b/data/fzsd/function/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/function/logger/uninstall.mcfunction b/data/fzsd/function/logger/uninstall.mcfunction new file mode 100644 index 0000000..dc037fc --- /dev/null +++ b/data/fzsd/function/logger/uninstall.mcfunction @@ -0,0 +1,7 @@ +## 调用者:#fzsd:logger/uninstall + +## 调试 +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/function/module/health/install.mcfunction b/data/fzsd/function/module/health/install.mcfunction new file mode 100644 index 0000000..593b83e --- /dev/null +++ b/data/fzsd/function/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:install 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/function/module/health/load.mcfunction b/data/fzsd/function/module/health/load.mcfunction new file mode 100644 index 0000000..4fe879f --- /dev/null +++ b/data/fzsd/function/module/health/load.mcfunction @@ -0,0 +1,7 @@ +execute unless data storage fzsd:config fzsd.module.health.display{below_name: 0b} run scoreboard objectives setdisplay below_name fzsd.module.health +execute if data storage fzsd:config fzsd.module.health.display{below_name: 0b} run scoreboard objectives setdisplay below_name +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 + +## 日志 +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/function/module/health/set_health_name/default.mcfunction b/data/fzsd/function/module/health/set_health_name/default.mcfunction new file mode 100644 index 0000000..04c0a6e --- /dev/null +++ b/data/fzsd/function/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/function/module/health/set_health_name/preset_1.mcfunction b/data/fzsd/function/module/health/set_health_name/preset_1.mcfunction new file mode 100644 index 0000000..3196a1f --- /dev/null +++ b/data/fzsd/function/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/function/module/health/set_health_name/preset_2.mcfunction b/data/fzsd/function/module/health/set_health_name/preset_2.mcfunction new file mode 100644 index 0000000..fcdf961 --- /dev/null +++ b/data/fzsd/function/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/function/module/health/set_health_name/preset_3.mcfunction b/data/fzsd/function/module/health/set_health_name/preset_3.mcfunction new file mode 100644 index 0000000..c20aa8f --- /dev/null +++ b/data/fzsd/function/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/function/module/health/set_health_name/preset_4.mcfunction b/data/fzsd/function/module/health/set_health_name/preset_4.mcfunction new file mode 100644 index 0000000..1eae806 --- /dev/null +++ b/data/fzsd/function/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/function/module/health/set_health_name/preset_5.mcfunction b/data/fzsd/function/module/health/set_health_name/preset_5.mcfunction new file mode 100644 index 0000000..8acd719 --- /dev/null +++ b/data/fzsd/function/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/function/module/health/try_install.mcfunction b/data/fzsd/function/module/health/try_install.mcfunction new file mode 100644 index 0000000..39eba3e --- /dev/null +++ b/data/fzsd/function/module/health/try_install.mcfunction @@ -0,0 +1 @@ +execute unless data storage fzsd:install fzsd.module{health:0b} run function #fzsd:module/health/install \ No newline at end of file diff --git a/data/fzsd/function/module/health/try_load.mcfunction b/data/fzsd/function/module/health/try_load.mcfunction new file mode 100644 index 0000000..1095699 --- /dev/null +++ b/data/fzsd/function/module/health/try_load.mcfunction @@ -0,0 +1,2 @@ +## 判断是否安装,如果安装则加载 +execute if data storage fzsd:install fzsd.module{health:1b} run function #fzsd:module/health/load \ No newline at end of file diff --git a/data/fzsd/function/module/health/uninstall.mcfunction b/data/fzsd/function/module/health/uninstall.mcfunction new file mode 100644 index 0000000..914630f --- /dev/null +++ b/data/fzsd/function/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:install 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/function/module/here/get_dimension_message/if_overworld.mcfunction b/data/fzsd/function/module/here/get_dimension_message/if_overworld.mcfunction new file mode 100644 index 0000000..b9f0b30 --- /dev/null +++ b/data/fzsd/function/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.append 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/function/module/here/get_dimension_message/if_the_nether.mcfunction b/data/fzsd/function/module/here/get_dimension_message/if_the_nether.mcfunction new file mode 100644 index 0000000..9820949 --- /dev/null +++ b/data/fzsd/function/module/here/get_dimension_message/if_the_nether.mcfunction @@ -0,0 +1,7 @@ +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.append 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": "]"}]]' +## 恢复用于判断的维度id \ No newline at end of file diff --git a/data/fzsd/function/module/here/get_dimension_message/overworld.mcfunction b/data/fzsd/function/module/here/get_dimension_message/overworld.mcfunction new file mode 100644 index 0000000..46c00ec --- /dev/null +++ b/data/fzsd/function/module/here/get_dimension_message/overworld.mcfunction @@ -0,0 +1 @@ +execute if data entity @s {Dimension:"minecraft:overworld"} run function fzsd:module/here/get_dimension_message/if_overworld \ No newline at end of file diff --git a/data/fzsd/function/module/here/get_dimension_message/the_nether.mcfunction b/data/fzsd/function/module/here/get_dimension_message/the_nether.mcfunction new file mode 100644 index 0000000..474495e --- /dev/null +++ b/data/fzsd/function/module/here/get_dimension_message/the_nether.mcfunction @@ -0,0 +1 @@ +execute if data entity @s {Dimension:"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/function/module/here/get_message.mcfunction b/data/fzsd/function/module/here/get_message.mcfunction new file mode 100644 index 0000000..dad1942 --- /dev/null +++ b/data/fzsd/function/module/here/get_message.mcfunction @@ -0,0 +1,8 @@ + +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.append set value '' +data modify storage fzsd:here fzsd.dimension.name set from storage fzsd:global fzsd.api.dimension.name +## 调试 +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/function/module/here/global_message.mcfunction b/data/fzsd/function/module/here/global_message.mcfunction new file mode 100644 index 0000000..edb20b3 --- /dev/null +++ b/data/fzsd/function/module/here/global_message.mcfunction @@ -0,0 +1 @@ +tellraw @a [{"text": ""}, [{"selector": "@s"}, {"text": "说:我在", "color": "white"}, {"nbt": "fzsd.dimension.name", "interpret": true, "storage": "fzsd:here"}, [{"text": " [", "color": "green"}, {"nbt": "fzsd.x", "storage": "fzsd:here"}, {"text": ", "}, {"nbt": "fzsd.y", "storage": "fzsd:here"}, {"text": ", "}, {"nbt": "fzsd.z", "storage": "fzsd:here"}, {"text": "]"}], {"nbt": "fzsd.message.append", "interpret": true, "storage": "fzsd:here"}]] \ No newline at end of file diff --git a/data/fzsd/function/module/here/install.mcfunction b/data/fzsd/function/module/here/install.mcfunction new file mode 100644 index 0000000..77f445c --- /dev/null +++ b/data/fzsd/function/module/here/install.mcfunction @@ -0,0 +1,5 @@ +## 标记为已安装 +data modify storage fzsd:install 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/function/module/here/interactor/display.mcfunction b/data/fzsd/function/module/here/interactor/display.mcfunction new file mode 100644 index 0000000..bc39fc1 --- /dev/null +++ b/data/fzsd/function/module/here/interactor/display.mcfunction @@ -0,0 +1 @@ +execute if data storage fzsd:install 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/function/module/here/interactor/on_click.mcfunction b/data/fzsd/function/module/here/interactor/on_click.mcfunction new file mode 100644 index 0000000..18b4498 --- /dev/null +++ b/data/fzsd/function/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/function/module/here/private_message.mcfunction b/data/fzsd/function/module/here/private_message.mcfunction new file mode 100644 index 0000000..9da0724 --- /dev/null +++ b/data/fzsd/function/module/here/private_message.mcfunction @@ -0,0 +1 @@ +tellraw @s [{"text": "你在", "color": "white"}, {"nbt": "fzsd.dimension.name", "interpret": true, "storage": "fzsd:here"}, [{"text": " [", "color": "green"}, {"nbt": "fzsd.x", "storage": "fzsd:here"}, {"text": ", "}, {"nbt": "fzsd.y", "storage": "fzsd:here"}, {"text": ", "}, {"nbt": "fzsd.z", "storage": "fzsd:here"}, {"text": "]"}], {"nbt": "fzsd.message.append", "interpret": true, "storage": "fzsd:here"}] \ No newline at end of file diff --git a/data/fzsd/function/module/here/try_install.mcfunction b/data/fzsd/function/module/here/try_install.mcfunction new file mode 100644 index 0000000..55a1301 --- /dev/null +++ b/data/fzsd/function/module/here/try_install.mcfunction @@ -0,0 +1 @@ +execute unless data storage fzsd:install fzsd.module{here:0b} run function #fzsd:module/here/install \ No newline at end of file diff --git a/data/fzsd/function/module/here/uninstall.mcfunction b/data/fzsd/function/module/here/uninstall.mcfunction new file mode 100644 index 0000000..010ea0e --- /dev/null +++ b/data/fzsd/function/module/here/uninstall.mcfunction @@ -0,0 +1,7 @@ +data remove storage fzsd:here fzsd + +## 标记为已卸载 +data modify storage fzsd:install 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/function/module/interactor/event/advamcement/on_click.mcfunction b/data/fzsd/function/module/interactor/event/advamcement/on_click.mcfunction new file mode 100644 index 0000000..9758929 --- /dev/null +++ b/data/fzsd/function/module/interactor/event/advamcement/on_click.mcfunction @@ -0,0 +1,5 @@ +execute if data storage fzsd:install fzsd.module{interactor: 1b} run function fzsd:module/interactor/event/on_click + +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/function/module/interactor/event/on_click.mcfunction b/data/fzsd/function/module/interactor/event/on_click.mcfunction new file mode 100644 index 0000000..934993d --- /dev/null +++ b/data/fzsd/function/module/interactor/event/on_click.mcfunction @@ -0,0 +1,4 @@ +## 运行事件 +function #fzsd:module/interactor/event/on_click +## 触发器分数为正数时重新显示交互器按钮,为负数时不显示 +execute if score @s fzsd.module.interactor.trigger matches 1.. run function #fzsd:module/interactor/event/on_display \ No newline at end of file diff --git a/data/fzsd/function/module/interactor/event/on_unsneak/on_unsneak.mcfunction b/data/fzsd/function/module/interactor/event/on_unsneak/on_unsneak.mcfunction new file mode 100644 index 0000000..0ca5107 --- /dev/null +++ b/data/fzsd/function/module/interactor/event/on_unsneak/on_unsneak.mcfunction @@ -0,0 +1,3 @@ +# 本目录用于存放向事件中注册的函数,并不用来新建事件 + +execute if data storage fzsd:install fzsd.module{interactor: 1b} if entity @s[tag=!fzsd.ignore_interactor_headup_sneak, x_rotation = -90] run function #fzsd:module/interactor/event/on_start_interact \ No newline at end of file diff --git a/data/fzsd/function/module/interactor/event/reset_advancements.mcfunction b/data/fzsd/function/module/interactor/event/reset_advancements.mcfunction new file mode 100644 index 0000000..9a229ed --- /dev/null +++ b/data/fzsd/function/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/function/module/interactor/install.mcfunction b/data/fzsd/function/module/interactor/install.mcfunction new file mode 100644 index 0000000..501a4d7 --- /dev/null +++ b/data/fzsd/function/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:install 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/function/module/interactor/interactor/display.mcfunction b/data/fzsd/function/module/interactor/interactor/display.mcfunction new file mode 100644 index 0000000..514ef22 --- /dev/null +++ b/data/fzsd/function/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:install fzsd.module{interactor:1b} run tellraw @s {"text": "交互器:"} + +execute if data storage fzsd:install fzsd.module{interactor:1b} if entity @s[tag=!fzsd.ignore_interactor_headup_sneak] 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:install fzsd.module{interactor:1b} if entity @s[tag=fzsd.ignore_interactor_headup_sneak] 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/function/module/interactor/interactor/on_click.mcfunction b/data/fzsd/function/module/interactor/interactor/on_click.mcfunction new file mode 100644 index 0000000..03ed343 --- /dev/null +++ b/data/fzsd/function/module/interactor/interactor/on_click.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#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 tag @s add fzsd.ignore_interactor_headup_sneak +execute if score @s fzsd.module.interactor.trigger matches 910 run tag @s remove fzsd.ignore_interactor_headup_sneak \ No newline at end of file diff --git a/data/fzsd/function/module/interactor/load.mcfunction b/data/fzsd/function/module/interactor/load.mcfunction new file mode 100644 index 0000000..88ffaea --- /dev/null +++ b/data/fzsd/function/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/function/module/interactor/reset_trigger.mcfunction b/data/fzsd/function/module/interactor/reset_trigger.mcfunction new file mode 100644 index 0000000..9f23725 --- /dev/null +++ b/data/fzsd/function/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/function/module/interactor/try_install.mcfunction b/data/fzsd/function/module/interactor/try_install.mcfunction new file mode 100644 index 0000000..021ecf7 --- /dev/null +++ b/data/fzsd/function/module/interactor/try_install.mcfunction @@ -0,0 +1 @@ +execute unless data storage fzsd:install fzsd.module{interactor:0b} run function #fzsd:module/interactor/install \ No newline at end of file diff --git a/data/fzsd/function/module/interactor/try_load.mcfunction b/data/fzsd/function/module/interactor/try_load.mcfunction new file mode 100644 index 0000000..a86a1b4 --- /dev/null +++ b/data/fzsd/function/module/interactor/try_load.mcfunction @@ -0,0 +1,2 @@ +## 判断是否安装,如果安装则加载 +execute if data storage fzsd:install fzsd.module{interactor:1b} run function #fzsd:module/interactor/load \ No newline at end of file diff --git a/data/fzsd/function/module/interactor/uninstall.mcfunction b/data/fzsd/function/module/interactor/uninstall.mcfunction new file mode 100644 index 0000000..20b5a18 --- /dev/null +++ b/data/fzsd/function/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:install 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/function/module/join_message/default_message.mcfunction b/data/fzsd/function/module/join_message/default_message.mcfunction new file mode 100644 index 0000000..a492807 --- /dev/null +++ b/data/fzsd/function/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 if entity @s[tag=!fzsd.ignore_interactor_headup_sneak] 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 entity @s[tag=fzsd.ignore_interactor_headup_sneak] 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/function/module/join_message/event/on_login/on_login.mcfunction b/data/fzsd/function/module/join_message/event/on_login/on_login.mcfunction new file mode 100644 index 0000000..82c1f3d --- /dev/null +++ b/data/fzsd/function/module/join_message/event/on_login/on_login.mcfunction @@ -0,0 +1 @@ +execute if data storage fzsd:install fzsd.module{join_message:1b} run function #fzsd:module/join_message/send_message \ No newline at end of file diff --git a/data/fzsd/function/module/join_message/install.mcfunction b/data/fzsd/function/module/join_message/install.mcfunction new file mode 100644 index 0000000..3129a27 --- /dev/null +++ b/data/fzsd/function/module/join_message/install.mcfunction @@ -0,0 +1,5 @@ +## 标记为已安装 +data modify storage fzsd:install 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/function/module/join_message/try_install.mcfunction b/data/fzsd/function/module/join_message/try_install.mcfunction new file mode 100644 index 0000000..b054a47 --- /dev/null +++ b/data/fzsd/function/module/join_message/try_install.mcfunction @@ -0,0 +1 @@ +execute unless data storage fzsd:install fzsd.module{join_message:0b} run function #fzsd:module/join_message/install diff --git a/data/fzsd/function/module/join_message/uninstall.mcfunction b/data/fzsd/function/module/join_message/uninstall.mcfunction new file mode 100644 index 0000000..bf9aa43 --- /dev/null +++ b/data/fzsd/function/module/join_message/uninstall.mcfunction @@ -0,0 +1,5 @@ +## 标记为已卸载 +data modify storage fzsd:install 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/function/module/last_death/get_death_point.mcfunction b/data/fzsd/function/module/last_death/get_death_point.mcfunction new file mode 100644 index 0000000..641a188 --- /dev/null +++ b/data/fzsd/function/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/function/module/last_death/install.mcfunction b/data/fzsd/function/module/last_death/install.mcfunction new file mode 100644 index 0000000..94d6724 --- /dev/null +++ b/data/fzsd/function/module/last_death/install.mcfunction @@ -0,0 +1,5 @@ +## 标记为已安装 +data modify storage fzsd:install 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/function/module/last_death/interactor/display.mcfunction b/data/fzsd/function/module/last_death/interactor/display.mcfunction new file mode 100644 index 0000000..8f3a1ad --- /dev/null +++ b/data/fzsd/function/module/last_death/interactor/display.mcfunction @@ -0,0 +1 @@ +execute if data storage fzsd:install 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/function/module/last_death/interactor/on_click.mcfunction b/data/fzsd/function/module/last_death/interactor/on_click.mcfunction new file mode 100644 index 0000000..5ce5872 --- /dev/null +++ b/data/fzsd/function/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/function/module/last_death/private_message.mcfunction b/data/fzsd/function/module/last_death/private_message.mcfunction new file mode 100644 index 0000000..4fe4c42 --- /dev/null +++ b/data/fzsd/function/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/function/module/last_death/try_install.mcfunction b/data/fzsd/function/module/last_death/try_install.mcfunction new file mode 100644 index 0000000..c4bd070 --- /dev/null +++ b/data/fzsd/function/module/last_death/try_install.mcfunction @@ -0,0 +1 @@ +execute unless data storage fzsd:install fzsd.module{last_death:0b} run function #fzsd:module/last_death/install diff --git a/data/fzsd/function/module/last_death/uninstall.mcfunction b/data/fzsd/function/module/last_death/uninstall.mcfunction new file mode 100644 index 0000000..6de53dd --- /dev/null +++ b/data/fzsd/function/module/last_death/uninstall.mcfunction @@ -0,0 +1,7 @@ +data remove storage fzsd:last_death fzsd + +## 标记为已卸载 +data modify storage fzsd:install 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/function/module/last_nether_portal/event/on_entered_nether_portal.mcfunction b/data/fzsd/function/module/last_nether_portal/event/on_entered_nether_portal.mcfunction new file mode 100644 index 0000000..44d4c1c --- /dev/null +++ b/data/fzsd/function/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/function/module/last_nether_portal/get_message.mcfunction b/data/fzsd/function/module/last_nether_portal/get_message.mcfunction new file mode 100644 index 0000000..26a8002 --- /dev/null +++ b/data/fzsd/function/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/function/module/last_nether_portal/global_message.mcfunction b/data/fzsd/function/module/last_nether_portal/global_message.mcfunction new file mode 100644 index 0000000..eb18878 --- /dev/null +++ b/data/fzsd/function/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 [{"text": ""}, [{"selector": "@s"}, {"text": "说:我上次穿出的下界传送门位于", "color": "white"}, {"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.y"}}, {"text": ", "}, {"score": {"name": "@s", "objective": "fzsd.module.last_nether_portal.z"}}, {"text": "]"}]]] +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/function/module/last_nether_portal/install.mcfunction b/data/fzsd/function/module/last_nether_portal/install.mcfunction new file mode 100644 index 0000000..b584dbf --- /dev/null +++ b/data/fzsd/function/module/last_nether_portal/install.mcfunction @@ -0,0 +1,10 @@ +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:install 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/function/module/last_nether_portal/interactor/display.mcfunction b/data/fzsd/function/module/last_nether_portal/interactor/display.mcfunction new file mode 100644 index 0000000..53d5e58 --- /dev/null +++ b/data/fzsd/function/module/last_nether_portal/interactor/display.mcfunction @@ -0,0 +1 @@ +execute if data storage fzsd:install 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/function/module/last_nether_portal/interactor/on_click.mcfunction b/data/fzsd/function/module/last_nether_portal/interactor/on_click.mcfunction new file mode 100644 index 0000000..40d1eea --- /dev/null +++ b/data/fzsd/function/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/function/module/last_nether_portal/private_message.mcfunction b/data/fzsd/function/module/last_nether_portal/private_message.mcfunction new file mode 100644 index 0000000..bbf6fff --- /dev/null +++ b/data/fzsd/function/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.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.y"}}, {"text": ", "}, {"score": {"name": "@s", "objective": "fzsd.module.last_nether_portal.z"}}, {"text": "]"}]] +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/function/module/last_nether_portal/try_install.mcfunction b/data/fzsd/function/module/last_nether_portal/try_install.mcfunction new file mode 100644 index 0000000..432d8ef --- /dev/null +++ b/data/fzsd/function/module/last_nether_portal/try_install.mcfunction @@ -0,0 +1 @@ +execute unless data storage fzsd:install fzsd.module{last_nether_portal:0b} run function #fzsd:module/last_nether_portal/install diff --git a/data/fzsd/function/module/last_nether_portal/uninstall.mcfunction b/data/fzsd/function/module/last_nether_portal/uninstall.mcfunction new file mode 100644 index 0000000..89d5b7f --- /dev/null +++ b/data/fzsd/function/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:install 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/function/module/last_spawn_point/get_spawn_point.mcfunction b/data/fzsd/function/module/last_spawn_point/get_spawn_point.mcfunction new file mode 100644 index 0000000..fb40465 --- /dev/null +++ b/data/fzsd/function/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/function/module/last_spawn_point/install.mcfunction b/data/fzsd/function/module/last_spawn_point/install.mcfunction new file mode 100644 index 0000000..72c3044 --- /dev/null +++ b/data/fzsd/function/module/last_spawn_point/install.mcfunction @@ -0,0 +1,5 @@ +## 标记为已安装 +data modify storage fzsd:install 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/function/module/last_spawn_point/interactor/display.mcfunction b/data/fzsd/function/module/last_spawn_point/interactor/display.mcfunction new file mode 100644 index 0000000..834c54f --- /dev/null +++ b/data/fzsd/function/module/last_spawn_point/interactor/display.mcfunction @@ -0,0 +1 @@ +execute if data storage fzsd:install 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/function/module/last_spawn_point/interactor/on_click.mcfunction b/data/fzsd/function/module/last_spawn_point/interactor/on_click.mcfunction new file mode 100644 index 0000000..d49c977 --- /dev/null +++ b/data/fzsd/function/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/function/module/last_spawn_point/private_message.mcfunction b/data/fzsd/function/module/last_spawn_point/private_message.mcfunction new file mode 100644 index 0000000..2fda5c4 --- /dev/null +++ b/data/fzsd/function/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": " [", "color": "green"}, {"nbt": "fzsd.x", "storage": "fzsd:last_spawn_point"}, {"text": ", "}, {"nbt": "fzsd.y", "storage": "fzsd:last_spawn_point"}, {"text": ", "}, {"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/function/module/last_spawn_point/try_install.mcfunction b/data/fzsd/function/module/last_spawn_point/try_install.mcfunction new file mode 100644 index 0000000..b431baf --- /dev/null +++ b/data/fzsd/function/module/last_spawn_point/try_install.mcfunction @@ -0,0 +1 @@ +execute unless data storage fzsd:install fzsd.module{last_spawn_point:0b} run function #fzsd:module/last_spawn_point/install diff --git a/data/fzsd/function/module/last_spawn_point/uninstall.mcfunction b/data/fzsd/function/module/last_spawn_point/uninstall.mcfunction new file mode 100644 index 0000000..9a8f75a --- /dev/null +++ b/data/fzsd/function/module/last_spawn_point/uninstall.mcfunction @@ -0,0 +1,5 @@ +## 标记为已安装 +data modify storage fzsd:install 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/function/module/phantom_warning/check_time_since_rest.mcfunction b/data/fzsd/function/module/phantom_warning/check_time_since_rest.mcfunction new file mode 100644 index 0000000..840b21c --- /dev/null +++ b/data/fzsd/function/module/phantom_warning/check_time_since_rest.mcfunction @@ -0,0 +1,4 @@ +# TODO: 数字有待商榷 +## @s this player +function #fzsd:api/get_time_since_rest +execute if score fzsd.var.cache fzsd.variable.integer matches 61766.. if entity @s[tag=!fzsd.ignore_phantom_warning] run function #fzsd:module/phantom_warning/send_phantom_warning \ No newline at end of file diff --git a/data/fzsd/function/module/phantom_warning/event/on_night.mcfunction b/data/fzsd/function/module/phantom_warning/event/on_night.mcfunction new file mode 100644 index 0000000..fafcae3 --- /dev/null +++ b/data/fzsd/function/module/phantom_warning/event/on_night.mcfunction @@ -0,0 +1 @@ +execute if data storage fzsd:install fzsd.module{phantom_warning:1b} as @a[predicate=fzsd:is_real_player] run function #fzsd:module/phantom_warning/check_time_since_rest \ No newline at end of file diff --git a/data/fzsd/function/module/phantom_warning/install.mcfunction b/data/fzsd/function/module/phantom_warning/install.mcfunction new file mode 100644 index 0000000..39efec2 --- /dev/null +++ b/data/fzsd/function/module/phantom_warning/install.mcfunction @@ -0,0 +1,5 @@ +## 标记为已安装 +data modify storage fzsd:install fzsd.module.phantom_warning 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/function/module/phantom_warning/interactor/display.mcfunction b/data/fzsd/function/module/phantom_warning/interactor/display.mcfunction new file mode 100644 index 0000000..2253ce4 --- /dev/null +++ b/data/fzsd/function/module/phantom_warning/interactor/display.mcfunction @@ -0,0 +1 @@ +execute if data storage fzsd:install fzsd.module{phantom_warning:1b} run function fzsd:module/phantom_warning/interactor/display_0 \ No newline at end of file diff --git a/data/fzsd/function/module/phantom_warning/interactor/display_0.mcfunction b/data/fzsd/function/module/phantom_warning/interactor/display_0.mcfunction new file mode 100644 index 0000000..0b0e91a --- /dev/null +++ b/data/fzsd/function/module/phantom_warning/interactor/display_0.mcfunction @@ -0,0 +1,2 @@ +tellraw @s[tag=!fzsd.ignore_phantom_warning] [{"text": "幻翼预警:"}, [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "点击关闭"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set 4000"}}, {"text": "已启用", "color": "green"}, {"text": "]"}]] +tellraw @s[tag=fzsd.ignore_phantom_warning] [{"text": "幻翼预警:"}, [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "点击启用"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set 4001"}}, {"text": "已关闭", "color": "red"}, {"text": "]"}]] diff --git a/data/fzsd/function/module/phantom_warning/interactor/on_click.mcfunction b/data/fzsd/function/module/phantom_warning/interactor/on_click.mcfunction new file mode 100644 index 0000000..5d3b3d8 --- /dev/null +++ b/data/fzsd/function/module/phantom_warning/interactor/on_click.mcfunction @@ -0,0 +1,2 @@ +execute if score @s fzsd.module.interactor.trigger matches 4000 run tag @s add fzsd.ignore_phantom_warning +execute if score @s fzsd.module.interactor.trigger matches 4001 run tag @s remove fzsd.ignore_phantom_warning \ No newline at end of file diff --git a/data/fzsd/function/module/phantom_warning/send_phantom_warning.mcfunction b/data/fzsd/function/module/phantom_warning/send_phantom_warning.mcfunction new file mode 100644 index 0000000..9edcc41 --- /dev/null +++ b/data/fzsd/function/module/phantom_warning/send_phantom_warning.mcfunction @@ -0,0 +1,6 @@ +# 调用者:tags\functions\module\phantom_warning\send_phantom_warning.json +## 对当前玩家发送提醒 +execute if score fzsd.logger.level fzsd.variable.integer matches ..600 run tellraw @s [{"nbt": "fzsd.level.alert", "interpret": true, "storage": "fzsd: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": "事件已触发:已向玩家"}, {"selector": "@s"}, {"text": "发送幻翼预警"}] \ No newline at end of file diff --git a/data/fzsd/function/module/phantom_warning/try_install.mcfunction b/data/fzsd/function/module/phantom_warning/try_install.mcfunction new file mode 100644 index 0000000..2038deb --- /dev/null +++ b/data/fzsd/function/module/phantom_warning/try_install.mcfunction @@ -0,0 +1 @@ +execute unless data storage fzsd:install fzsd.module{phantom_warning:0b} run function #fzsd:module/phantom_warning/install diff --git a/data/fzsd/function/module/phantom_warning/uninstall.mcfunction b/data/fzsd/function/module/phantom_warning/uninstall.mcfunction new file mode 100644 index 0000000..4369721 --- /dev/null +++ b/data/fzsd/function/module/phantom_warning/uninstall.mcfunction @@ -0,0 +1,5 @@ +## 标记为已卸载 +data modify storage fzsd:install fzsd.module.phantom_warning 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/function/module/scoreboard/assign/scoreboard/activation.mcfunction b/data/fzsd/function/module/scoreboard/assign/scoreboard/activation.mcfunction new file mode 100644 index 0000000..b051a3d --- /dev/null +++ b/data/fzsd/function/module/scoreboard/assign/scoreboard/activation.mcfunction @@ -0,0 +1,4 @@ +scoreboard players add @s fzsd.module.scoreboard.display.activation 1 +execute if score @s fzsd.module.scoreboard.display.activation matches ..-1 run scoreboard players set @s fzsd.module.scoreboard.display.activation 2147483647 +scoreboard players add fzsd.module.scoreboard.total.activation fzsd.module.scoreboard.assign.general 1 +execute if score fzsd.module.scoreboard.total.activation fzsd.module.scoreboard.assign.general matches ..-1 run scoreboard players set fzsd.module.scoreboard.total.activation fzsd.module.scoreboard.assign.general 2147483647 \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/assign/scoreboard/aviating_distance.mcfunction b/data/fzsd/function/module/scoreboard/assign/scoreboard/aviating_distance.mcfunction new file mode 100644 index 0000000..3cc0542 --- /dev/null +++ b/data/fzsd/function/module/scoreboard/assign/scoreboard/aviating_distance.mcfunction @@ -0,0 +1,4 @@ +scoreboard players operation @s fzsd.module.scoreboard.display.aviating_distance += fzsd.var.score fzsd.variable.integer +execute if score @s fzsd.module.scoreboard.display.aviating_distance matches ..-1 run scoreboard players set @s fzsd.module.scoreboard.display.aviating_distance 2147483647 +scoreboard players operation fzsd.module.scoreboard.total.aviating_distance fzsd.module.scoreboard.assign.general += fzsd.var.score fzsd.variable.integer +execute if score fzsd.module.scoreboard.total.aviating_distance fzsd.module.scoreboard.assign.general matches ..-1 run scoreboard players set fzsd.module.scoreboard.total.aviating_distance fzsd.module.scoreboard.assign.general 2147483647 \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/assign/scoreboard/damage_taken.mcfunction b/data/fzsd/function/module/scoreboard/assign/scoreboard/damage_taken.mcfunction new file mode 100644 index 0000000..1c87bd6 --- /dev/null +++ b/data/fzsd/function/module/scoreboard/assign/scoreboard/damage_taken.mcfunction @@ -0,0 +1,4 @@ +scoreboard players operation @s fzsd.module.scoreboard.display.damage_taken += fzsd.var.score fzsd.variable.integer +execute if score @s fzsd.module.scoreboard.display.damage_taken matches ..-1 run scoreboard players set @s fzsd.module.scoreboard.display.damage_taken 2147483647 +scoreboard players operation fzsd.module.scoreboard.total.damage_taken fzsd.module.scoreboard.assign.general += fzsd.var.score fzsd.variable.integer +execute if score fzsd.module.scoreboard.total.damage_taken fzsd.module.scoreboard.assign.general matches ..-1 run scoreboard players set fzsd.module.scoreboard.total.damage_taken fzsd.module.scoreboard.assign.general 2147483647 \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/assign/scoreboard/death_count.mcfunction b/data/fzsd/function/module/scoreboard/assign/scoreboard/death_count.mcfunction new file mode 100644 index 0000000..6479280 --- /dev/null +++ b/data/fzsd/function/module/scoreboard/assign/scoreboard/death_count.mcfunction @@ -0,0 +1,4 @@ +scoreboard players add @s fzsd.module.scoreboard.display.death_count 1 +execute if score @s fzsd.module.scoreboard.display.death_count matches ..-1 run scoreboard players set @s fzsd.module.scoreboard.display.death_count 2147483647 +scoreboard players add fzsd.module.scoreboard.total.death_count fzsd.module.scoreboard.assign.general 1 +execute if score fzsd.module.scoreboard.total.death_count fzsd.module.scoreboard.assign.general matches ..-1 run scoreboard players set fzsd.module.scoreboard.total.death_count fzsd.module.scoreboard.assign.general 2147483647 \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/assign/scoreboard/dig_count.mcfunction b/data/fzsd/function/module/scoreboard/assign/scoreboard/dig_count.mcfunction new file mode 100644 index 0000000..08a8951 --- /dev/null +++ b/data/fzsd/function/module/scoreboard/assign/scoreboard/dig_count.mcfunction @@ -0,0 +1,4 @@ +scoreboard players operation @s fzsd.module.scoreboard.display.dig_count += fzsd.var.score fzsd.variable.integer +execute if score @s fzsd.module.scoreboard.display.dig_count matches ..-1 run scoreboard players set @s fzsd.module.scoreboard.display.dig_count 2147483647 +scoreboard players operation fzsd.module.scoreboard.total.dig_count fzsd.module.scoreboard.assign.general += fzsd.var.score fzsd.variable.integer +execute if score fzsd.module.scoreboard.total.dig_count fzsd.module.scoreboard.assign.general matches ..-1 run scoreboard players set fzsd.module.scoreboard.total.dig_count fzsd.module.scoreboard.assign.general 2147483647 \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/assign/scoreboard/fishing_count.mcfunction b/data/fzsd/function/module/scoreboard/assign/scoreboard/fishing_count.mcfunction new file mode 100644 index 0000000..8f01eec --- /dev/null +++ b/data/fzsd/function/module/scoreboard/assign/scoreboard/fishing_count.mcfunction @@ -0,0 +1,4 @@ +scoreboard players add @s fzsd.module.scoreboard.display.fishing_count 1 +execute if score @s fzsd.module.scoreboard.display.fishing_count matches ..-1 run scoreboard players set @s fzsd.module.scoreboard.display.fishing_count 2147483647 +scoreboard players add fzsd.module.scoreboard.total.fishing_count fzsd.module.scoreboard.assign.general 1 +execute if score fzsd.module.scoreboard.total.fishing_count fzsd.module.scoreboard.assign.general matches ..-1 run scoreboard players set fzsd.module.scoreboard.total.fishing_count fzsd.module.scoreboard.assign.general 2147483647 \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/assign/scoreboard/general/activation.mcfunction b/data/fzsd/function/module/scoreboard/assign/scoreboard/general/activation.mcfunction new file mode 100644 index 0000000..2584b8d --- /dev/null +++ b/data/fzsd/function/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/function/module/scoreboard/assign/scoreboard/general/aviating_distance.mcfunction b/data/fzsd/function/module/scoreboard/assign/scoreboard/general/aviating_distance.mcfunction new file mode 100644 index 0000000..566494d --- /dev/null +++ b/data/fzsd/function/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/function/module/scoreboard/assign/scoreboard/general/damage_taken.mcfunction b/data/fzsd/function/module/scoreboard/assign/scoreboard/general/damage_taken.mcfunction new file mode 100644 index 0000000..23b6716 --- /dev/null +++ b/data/fzsd/function/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/function/module/scoreboard/assign/scoreboard/general/death_count.mcfunction b/data/fzsd/function/module/scoreboard/assign/scoreboard/general/death_count.mcfunction new file mode 100644 index 0000000..9d9ff00 --- /dev/null +++ b/data/fzsd/function/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/function/module/scoreboard/assign/scoreboard/general/dig_count.mcfunction b/data/fzsd/function/module/scoreboard/assign/scoreboard/general/dig_count.mcfunction new file mode 100644 index 0000000..02511ab --- /dev/null +++ b/data/fzsd/function/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/function/module/scoreboard/assign/scoreboard/general/fishing_count.mcfunction b/data/fzsd/function/module/scoreboard/assign/scoreboard/general/fishing_count.mcfunction new file mode 100644 index 0000000..557b020 --- /dev/null +++ b/data/fzsd/function/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/function/module/scoreboard/assign/scoreboard/general/kill_count.mcfunction b/data/fzsd/function/module/scoreboard/assign/scoreboard/general/kill_count.mcfunction new file mode 100644 index 0000000..491fd6e --- /dev/null +++ b/data/fzsd/function/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/function/module/scoreboard/assign/scoreboard/general/placement_count.mcfunction b/data/fzsd/function/module/scoreboard/assign/scoreboard/general/placement_count.mcfunction new file mode 100644 index 0000000..77307f4 --- /dev/null +++ b/data/fzsd/function/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/function/module/scoreboard/assign/scoreboard/general/trade_count.mcfunction b/data/fzsd/function/module/scoreboard/assign/scoreboard/general/trade_count.mcfunction new file mode 100644 index 0000000..de22426 --- /dev/null +++ b/data/fzsd/function/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/function/module/scoreboard/assign/scoreboard/kill_count.mcfunction b/data/fzsd/function/module/scoreboard/assign/scoreboard/kill_count.mcfunction new file mode 100644 index 0000000..8aad16c --- /dev/null +++ b/data/fzsd/function/module/scoreboard/assign/scoreboard/kill_count.mcfunction @@ -0,0 +1,4 @@ +scoreboard players add @s fzsd.module.scoreboard.display.kill_count 1 +execute if score @s fzsd.module.scoreboard.display.kill_count matches ..-1 run scoreboard players set @s fzsd.module.scoreboard.display.kill_count 2147483647 +scoreboard players add fzsd.module.scoreboard.total.kill_count fzsd.module.scoreboard.assign.general 1 +execute if score fzsd.module.scoreboard.total.kill_count fzsd.module.scoreboard.assign.general matches ..-1 run scoreboard players set fzsd.module.scoreboard.total.kill_count fzsd.module.scoreboard.assign.general 2147483647 \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/assign/scoreboard/placement_count.mcfunction b/data/fzsd/function/module/scoreboard/assign/scoreboard/placement_count.mcfunction new file mode 100644 index 0000000..7264127 --- /dev/null +++ b/data/fzsd/function/module/scoreboard/assign/scoreboard/placement_count.mcfunction @@ -0,0 +1,4 @@ +scoreboard players add @s fzsd.module.scoreboard.display.placement_count 1 +execute if score @s fzsd.module.scoreboard.display.placement_count matches ..-1 run scoreboard players set @s fzsd.module.scoreboard.display.placement_count 2147483647 +scoreboard players add fzsd.module.scoreboard.total.placement_count fzsd.module.scoreboard.assign.general 1 +execute if score fzsd.module.scoreboard.total.placement_count fzsd.module.scoreboard.assign.general matches ..-1 run scoreboard players set fzsd.module.scoreboard.total.placement_count fzsd.module.scoreboard.assign.general 2147483647 \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/assign/scoreboard/trade_count.mcfunction b/data/fzsd/function/module/scoreboard/assign/scoreboard/trade_count.mcfunction new file mode 100644 index 0000000..c370c16 --- /dev/null +++ b/data/fzsd/function/module/scoreboard/assign/scoreboard/trade_count.mcfunction @@ -0,0 +1,4 @@ +scoreboard players add @s fzsd.module.scoreboard.display.trade_count 1 +execute if score @s fzsd.module.scoreboard.display.trade_count matches ..-1 run scoreboard players set @s fzsd.module.scoreboard.display.trade_count 2147483647 +scoreboard players add fzsd.module.scoreboard.total.trade_count fzsd.module.scoreboard.assign.general 1 +execute if score fzsd.module.scoreboard.total.trade_count fzsd.module.scoreboard.assign.general matches ..-1 run scoreboard players set fzsd.module.scoreboard.total.trade_count fzsd.module.scoreboard.assign.general 2147483647 \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/clear_data.mcfunction b/data/fzsd/function/module/scoreboard/clear_data.mcfunction new file mode 100644 index 0000000..00e52a4 --- /dev/null +++ b/data/fzsd/function/module/scoreboard/clear_data.mcfunction @@ -0,0 +1,47 @@ +# 调用者:#fzsd:module/scoreboard/clear_data + +## 删除计分板 +### 总览 +scoreboard objectives remove fzsd.module.scoreboard.assign.general +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/function/module/scoreboard/display/carousel/loop.mcfunction b/data/fzsd/function/module/scoreboard/display/carousel/loop.mcfunction new file mode 100644 index 0000000..94f48a5 --- /dev/null +++ b/data/fzsd/function/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/function/module/scoreboard/display/carousel/set_display/activation.mcfunction b/data/fzsd/function/module/scoreboard/display/carousel/set_display/activation.mcfunction new file mode 100644 index 0000000..ee9c597 --- /dev/null +++ b/data/fzsd/function/module/scoreboard/display/carousel/set_display/activation.mcfunction @@ -0,0 +1,27 @@ +# 调用者: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 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 6 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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.scoreboard.text.activation", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 run return 6 + +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 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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.scoreboard.text.activation", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/display/carousel/set_display/aviating_distance.mcfunction b/data/fzsd/function/module/scoreboard/display/carousel/set_display/aviating_distance.mcfunction new file mode 100644 index 0000000..b6e829f --- /dev/null +++ b/data/fzsd/function/module/scoreboard/display/carousel/set_display/aviating_distance.mcfunction @@ -0,0 +1,26 @@ +# 调用者: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 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 6 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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.scoreboard.text.aviating_distance", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 run return 6 + +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 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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.scoreboard.text.aviating_distance", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/display/carousel/set_display/damage_taken.mcfunction b/data/fzsd/function/module/scoreboard/display/carousel/set_display/damage_taken.mcfunction new file mode 100644 index 0000000..3cad4a4 --- /dev/null +++ b/data/fzsd/function/module/scoreboard/display/carousel/set_display/damage_taken.mcfunction @@ -0,0 +1,26 @@ +# 调用者: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 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 6 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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.scoreboard.text.damage_taken", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 run return 6 + +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 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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.scoreboard.text.damage_taken", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/display/carousel/set_display/death_count.mcfunction b/data/fzsd/function/module/scoreboard/display/carousel/set_display/death_count.mcfunction new file mode 100644 index 0000000..04f7c56 --- /dev/null +++ b/data/fzsd/function/module/scoreboard/display/carousel/set_display/death_count.mcfunction @@ -0,0 +1,26 @@ +# 调用者: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 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 6 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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.scoreboard.text.death_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 run return 6 + +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 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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.scoreboard.text.death_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/display/carousel/set_display/dig_count.mcfunction b/data/fzsd/function/module/scoreboard/display/carousel/set_display/dig_count.mcfunction new file mode 100644 index 0000000..d64a993 --- /dev/null +++ b/data/fzsd/function/module/scoreboard/display/carousel/set_display/dig_count.mcfunction @@ -0,0 +1,26 @@ +# 调用者: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 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 6 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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.scoreboard.text.dig_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 run return 6 + +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 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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.scoreboard.text.dig_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/display/carousel/set_display/fishing_count.mcfunction b/data/fzsd/function/module/scoreboard/display/carousel/set_display/fishing_count.mcfunction new file mode 100644 index 0000000..34ecc64 --- /dev/null +++ b/data/fzsd/function/module/scoreboard/display/carousel/set_display/fishing_count.mcfunction @@ -0,0 +1,26 @@ +# 调用者: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 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 6 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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.scoreboard.text.fishing_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 run return 6 + +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 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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.scoreboard.text.fishing_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/display/carousel/set_display/general.mcfunction b/data/fzsd/function/module/scoreboard/display/carousel/set_display/general.mcfunction new file mode 100644 index 0000000..1d72ed9 --- /dev/null +++ b/data/fzsd/function/module/scoreboard/display/carousel/set_display/general.mcfunction @@ -0,0 +1,26 @@ +# 调用者: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 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 6 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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.scoreboard.text.general", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 run return 6 + +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 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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.scoreboard.text.general", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/display/carousel/set_display/kill_count.mcfunction b/data/fzsd/function/module/scoreboard/display/carousel/set_display/kill_count.mcfunction new file mode 100644 index 0000000..003c0a1 --- /dev/null +++ b/data/fzsd/function/module/scoreboard/display/carousel/set_display/kill_count.mcfunction @@ -0,0 +1,26 @@ +# 调用者: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 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 6 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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.scoreboard.text.kill_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 run return 6 + +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 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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.scoreboard.text.kill_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/display/carousel/set_display/placement_count.mcfunction b/data/fzsd/function/module/scoreboard/display/carousel/set_display/placement_count.mcfunction new file mode 100644 index 0000000..8774f7e --- /dev/null +++ b/data/fzsd/function/module/scoreboard/display/carousel/set_display/placement_count.mcfunction @@ -0,0 +1,26 @@ +# 调用者: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 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 6 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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.scoreboard.text.placement_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 run return 6 + +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 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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.scoreboard.text.placement_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/display/carousel/set_display/trade_count.mcfunction b/data/fzsd/function/module/scoreboard/display/carousel/set_display/trade_count.mcfunction new file mode 100644 index 0000000..e66ee36 --- /dev/null +++ b/data/fzsd/function/module/scoreboard/display/carousel/set_display/trade_count.mcfunction @@ -0,0 +1,26 @@ +# 调用者: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 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 6 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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.scoreboard.text.trade_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 run return 6 + +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 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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.scoreboard.text.trade_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/display/carousel/try_display/activation.mcfunction b/data/fzsd/function/module/scoreboard/display/carousel/try_display/activation.mcfunction new file mode 100644 index 0000000..7accfd3 --- /dev/null +++ b/data/fzsd/function/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/function/module/scoreboard/display/carousel/try_display/aviating_distance.mcfunction b/data/fzsd/function/module/scoreboard/display/carousel/try_display/aviating_distance.mcfunction new file mode 100644 index 0000000..01c2b13 --- /dev/null +++ b/data/fzsd/function/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/function/module/scoreboard/display/carousel/try_display/damage_taken.mcfunction b/data/fzsd/function/module/scoreboard/display/carousel/try_display/damage_taken.mcfunction new file mode 100644 index 0000000..81cf03e --- /dev/null +++ b/data/fzsd/function/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/function/module/scoreboard/display/carousel/try_display/death_count.mcfunction b/data/fzsd/function/module/scoreboard/display/carousel/try_display/death_count.mcfunction new file mode 100644 index 0000000..3afdae3 --- /dev/null +++ b/data/fzsd/function/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/function/module/scoreboard/display/carousel/try_display/dig_count.mcfunction b/data/fzsd/function/module/scoreboard/display/carousel/try_display/dig_count.mcfunction new file mode 100644 index 0000000..7bcb99b --- /dev/null +++ b/data/fzsd/function/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/function/module/scoreboard/display/carousel/try_display/fishing_count.mcfunction b/data/fzsd/function/module/scoreboard/display/carousel/try_display/fishing_count.mcfunction new file mode 100644 index 0000000..43afe7d --- /dev/null +++ b/data/fzsd/function/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/function/module/scoreboard/display/carousel/try_display/general.mcfunction b/data/fzsd/function/module/scoreboard/display/carousel/try_display/general.mcfunction new file mode 100644 index 0000000..fd7d501 --- /dev/null +++ b/data/fzsd/function/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/function/module/scoreboard/display/carousel/try_display/kill_count.mcfunction b/data/fzsd/function/module/scoreboard/display/carousel/try_display/kill_count.mcfunction new file mode 100644 index 0000000..dd5b990 --- /dev/null +++ b/data/fzsd/function/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/function/module/scoreboard/display/carousel/try_display/placement_count.mcfunction b/data/fzsd/function/module/scoreboard/display/carousel/try_display/placement_count.mcfunction new file mode 100644 index 0000000..0127e6d --- /dev/null +++ b/data/fzsd/function/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/function/module/scoreboard/display/carousel/try_display/trade_count.mcfunction b/data/fzsd/function/module/scoreboard/display/carousel/try_display/trade_count.mcfunction new file mode 100644 index 0000000..c0020ce --- /dev/null +++ b/data/fzsd/function/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/function/module/scoreboard/display/highest_id_add_1.mcfunction b/data/fzsd/function/module/scoreboard/display/highest_id_add_1.mcfunction new file mode 100644 index 0000000..3c38a04 --- /dev/null +++ b/data/fzsd/function/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/function/module/scoreboard/display/register_id.mcfunction b/data/fzsd/function/module/scoreboard/display/register_id.mcfunction new file mode 100644 index 0000000..a14dabc --- /dev/null +++ b/data/fzsd/function/module/scoreboard/display/register_id.mcfunction @@ -0,0 +1,59 @@ +#### 注册总览计分板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 +##### 日志 +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册"}, {"nbt": "fzsd.module.scoreboard.text.general", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.general", "objective": "fzsd.variable.integer"}}] + +#### 注册活跃度计分板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 +##### 日志 +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册"}, {"nbt": "fzsd.module.scoreboard.text.activation", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.activation", "objective": "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 +##### 日志 +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册"}, {"nbt": "fzsd.module.scoreboard.text.aviating_distance", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.aviating_distance", "objective": "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 +##### 日志 +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册"}, {"nbt": "fzsd.module.scoreboard.text.placement_count", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.damage_taken", "objective": "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 +##### 日志 +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册"}, {"nbt": "fzsd.module.scoreboard.text.death_count", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.death_count", "objective": "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 +##### 日志 +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册"}, {"nbt": "fzsd.module.scoreboard.text.dig_count", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.dig_count", "objective": "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 +##### 日志 +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册"}, {"nbt": "fzsd.module.scoreboard.text.fishing_count", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.fishing_count", "objective": "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 +##### 日志 +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册击"}, {"nbt": "fzsd.module.scoreboard.text.kill_count", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.kill_count", "objective": "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 +##### 日志 +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册"}, {"nbt": "fzsd.module.scoreboard.text.trade_count", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.trade_count", "objective": "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 +##### 日志 +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册"}, {"nbt": "fzsd.module.scoreboard.text.placement_count", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.placement_count", "objective": "fzsd.variable.integer"}}] diff --git a/data/fzsd/function/module/scoreboard/display/reset_id.mcfunction b/data/fzsd/function/module/scoreboard/display/reset_id.mcfunction new file mode 100644 index 0000000..07525d5 --- /dev/null +++ b/data/fzsd/function/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/function/module/scoreboard/display/set_text/activation/aqua.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/activation/aqua.mcfunction new file mode 100644 index 0000000..688fbb1 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/activation/black.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/activation/black.mcfunction new file mode 100644 index 0000000..1eb4d03 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/activation/blue.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/activation/blue.mcfunction new file mode 100644 index 0000000..31a0cd7 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/activation/dark_aqua.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/activation/dark_aqua.mcfunction new file mode 100644 index 0000000..e2c812f --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/activation/dark_blue.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/activation/dark_blue.mcfunction new file mode 100644 index 0000000..365429a --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/activation/dark_gray.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/activation/dark_gray.mcfunction new file mode 100644 index 0000000..49bd6c3 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/activation/dark_green.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/activation/dark_green.mcfunction new file mode 100644 index 0000000..4745e13 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/activation/dark_purple.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/activation/dark_purple.mcfunction new file mode 100644 index 0000000..fd471b1 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/activation/dark_red.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/activation/dark_red.mcfunction new file mode 100644 index 0000000..cd92a48 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/activation/gold.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/activation/gold.mcfunction new file mode 100644 index 0000000..443eeee --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/activation/gray.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/activation/gray.mcfunction new file mode 100644 index 0000000..1179f4b --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/activation/green.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/activation/green.mcfunction new file mode 100644 index 0000000..d2b8dc6 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/activation/light_purple.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/activation/light_purple.mcfunction new file mode 100644 index 0000000..782c85f --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/activation/red.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/activation/red.mcfunction new file mode 100644 index 0000000..c3caa00 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/activation/white.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/activation/white.mcfunction new file mode 100644 index 0000000..984a979 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/activation/yellow.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/activation/yellow.mcfunction new file mode 100644 index 0000000..bbe5b6c --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/aviating_distance/aqua.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/aqua.mcfunction new file mode 100644 index 0000000..aa87947 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/aviating_distance/black.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/black.mcfunction new file mode 100644 index 0000000..72192af --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/aviating_distance/blue.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/blue.mcfunction new file mode 100644 index 0000000..f53cad9 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/aviating_distance/dark_aqua.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/dark_aqua.mcfunction new file mode 100644 index 0000000..cdaa146 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/aviating_distance/dark_blue.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/dark_blue.mcfunction new file mode 100644 index 0000000..df2e38c --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/aviating_distance/dark_gray.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/dark_gray.mcfunction new file mode 100644 index 0000000..2e389cf --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/aviating_distance/dark_green.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/dark_green.mcfunction new file mode 100644 index 0000000..acdf50c --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/aviating_distance/dark_purple.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/dark_purple.mcfunction new file mode 100644 index 0000000..52f8552 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/aviating_distance/dark_red.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/dark_red.mcfunction new file mode 100644 index 0000000..8e6173f --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/aviating_distance/gold.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/gold.mcfunction new file mode 100644 index 0000000..650d9af --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/aviating_distance/gray.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/gray.mcfunction new file mode 100644 index 0000000..b0fe7aa --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/aviating_distance/green.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/green.mcfunction new file mode 100644 index 0000000..9e6bd52 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/aviating_distance/light_purple.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/light_purple.mcfunction new file mode 100644 index 0000000..112e056 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/aviating_distance/red.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/red.mcfunction new file mode 100644 index 0000000..fdbf6a0 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/aviating_distance/white.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/white.mcfunction new file mode 100644 index 0000000..c5d8847 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/aviating_distance/yellow.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/aviating_distance/yellow.mcfunction new file mode 100644 index 0000000..11e9073 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/carousel/aqua.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/carousel/aqua.mcfunction new file mode 100644 index 0000000..d5ff537 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/carousel/black.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/carousel/black.mcfunction new file mode 100644 index 0000000..bae05c4 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/carousel/blue.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/carousel/blue.mcfunction new file mode 100644 index 0000000..765759f --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/carousel/dark_aqua.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/carousel/dark_aqua.mcfunction new file mode 100644 index 0000000..058cf2e --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/carousel/dark_blue.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/carousel/dark_blue.mcfunction new file mode 100644 index 0000000..d036058 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/carousel/dark_gray.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/carousel/dark_gray.mcfunction new file mode 100644 index 0000000..5335c07 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/carousel/dark_green.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/carousel/dark_green.mcfunction new file mode 100644 index 0000000..3523999 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/carousel/dark_purple.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/carousel/dark_purple.mcfunction new file mode 100644 index 0000000..980644b --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/carousel/dark_red.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/carousel/dark_red.mcfunction new file mode 100644 index 0000000..67681a2 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/carousel/gold.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/carousel/gold.mcfunction new file mode 100644 index 0000000..76fd757 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/carousel/gray.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/carousel/gray.mcfunction new file mode 100644 index 0000000..deabfde --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/carousel/green.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/carousel/green.mcfunction new file mode 100644 index 0000000..78dde49 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/carousel/light_purple.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/carousel/light_purple.mcfunction new file mode 100644 index 0000000..a18be54 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/carousel/red.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/carousel/red.mcfunction new file mode 100644 index 0000000..96cf759 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/carousel/white.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/carousel/white.mcfunction new file mode 100644 index 0000000..262280f --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/carousel/yellow.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/carousel/yellow.mcfunction new file mode 100644 index 0000000..4b93ee4 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/damage_taken/aqua.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/damage_taken/aqua.mcfunction new file mode 100644 index 0000000..8f3d3e6 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/damage_taken/black.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/damage_taken/black.mcfunction new file mode 100644 index 0000000..b3a868f --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/damage_taken/blue.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/damage_taken/blue.mcfunction new file mode 100644 index 0000000..8b5c305 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/damage_taken/dark_aqua.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/damage_taken/dark_aqua.mcfunction new file mode 100644 index 0000000..9f8ef69 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/damage_taken/dark_blue.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/damage_taken/dark_blue.mcfunction new file mode 100644 index 0000000..8615125 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/damage_taken/dark_gray.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/damage_taken/dark_gray.mcfunction new file mode 100644 index 0000000..108914b --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/damage_taken/dark_green.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/damage_taken/dark_green.mcfunction new file mode 100644 index 0000000..6ed2a4a --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/damage_taken/dark_purple.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/damage_taken/dark_purple.mcfunction new file mode 100644 index 0000000..7279aea --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/damage_taken/dark_red.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/damage_taken/dark_red.mcfunction new file mode 100644 index 0000000..fbc8cf7 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/damage_taken/gold.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/damage_taken/gold.mcfunction new file mode 100644 index 0000000..5354ccf --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/damage_taken/gray.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/damage_taken/gray.mcfunction new file mode 100644 index 0000000..c7cc801 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/damage_taken/green.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/damage_taken/green.mcfunction new file mode 100644 index 0000000..00e16f6 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/damage_taken/light_purple.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/damage_taken/light_purple.mcfunction new file mode 100644 index 0000000..5f29db7 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/damage_taken/red.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/damage_taken/red.mcfunction new file mode 100644 index 0000000..62cf5ba --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/damage_taken/white.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/damage_taken/white.mcfunction new file mode 100644 index 0000000..c1c490a --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/damage_taken/yellow.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/damage_taken/yellow.mcfunction new file mode 100644 index 0000000..76c703b --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/death_count/aqua.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/death_count/aqua.mcfunction new file mode 100644 index 0000000..32dab77 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/death_count/black.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/death_count/black.mcfunction new file mode 100644 index 0000000..9019e9c --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/death_count/blue.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/death_count/blue.mcfunction new file mode 100644 index 0000000..e0fb8dc --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/death_count/dark_aqua.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/death_count/dark_aqua.mcfunction new file mode 100644 index 0000000..85113a6 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/death_count/dark_blue.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/death_count/dark_blue.mcfunction new file mode 100644 index 0000000..58ef0e0 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/death_count/dark_gray.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/death_count/dark_gray.mcfunction new file mode 100644 index 0000000..b045731 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/death_count/dark_green.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/death_count/dark_green.mcfunction new file mode 100644 index 0000000..f5f736f --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/death_count/dark_purple.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/death_count/dark_purple.mcfunction new file mode 100644 index 0000000..6a84f2f --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/death_count/dark_red.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/death_count/dark_red.mcfunction new file mode 100644 index 0000000..03d49bc --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/death_count/gold.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/death_count/gold.mcfunction new file mode 100644 index 0000000..2bcd0ec --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/death_count/gray.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/death_count/gray.mcfunction new file mode 100644 index 0000000..3289eaa --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/death_count/green.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/death_count/green.mcfunction new file mode 100644 index 0000000..5d6f264 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/death_count/light_purple.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/death_count/light_purple.mcfunction new file mode 100644 index 0000000..885241a --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/death_count/red.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/death_count/red.mcfunction new file mode 100644 index 0000000..955f8e8 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/death_count/white.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/death_count/white.mcfunction new file mode 100644 index 0000000..c3bb946 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/death_count/yellow.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/death_count/yellow.mcfunction new file mode 100644 index 0000000..c7f993a --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/dig_count/aqua.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/dig_count/aqua.mcfunction new file mode 100644 index 0000000..d3878dc --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/dig_count/black.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/dig_count/black.mcfunction new file mode 100644 index 0000000..9a1ad19 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/dig_count/blue.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/dig_count/blue.mcfunction new file mode 100644 index 0000000..924c593 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/dig_count/dark_aqua.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/dig_count/dark_aqua.mcfunction new file mode 100644 index 0000000..7652730 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/dig_count/dark_blue.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/dig_count/dark_blue.mcfunction new file mode 100644 index 0000000..78fc67f --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/dig_count/dark_gray.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/dig_count/dark_gray.mcfunction new file mode 100644 index 0000000..99dbfea --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/dig_count/dark_green.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/dig_count/dark_green.mcfunction new file mode 100644 index 0000000..7523dd7 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/dig_count/dark_purple.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/dig_count/dark_purple.mcfunction new file mode 100644 index 0000000..374e8df --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/dig_count/dark_red.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/dig_count/dark_red.mcfunction new file mode 100644 index 0000000..c3542ff --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/dig_count/gold.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/dig_count/gold.mcfunction new file mode 100644 index 0000000..ab2d2ee --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/dig_count/gray.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/dig_count/gray.mcfunction new file mode 100644 index 0000000..960fdd2 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/dig_count/green.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/dig_count/green.mcfunction new file mode 100644 index 0000000..f9c89fe --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/dig_count/light_purple.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/dig_count/light_purple.mcfunction new file mode 100644 index 0000000..6876329 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/dig_count/red.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/dig_count/red.mcfunction new file mode 100644 index 0000000..1ea4903 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/dig_count/white.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/dig_count/white.mcfunction new file mode 100644 index 0000000..27c1ee1 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/dig_count/yellow.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/dig_count/yellow.mcfunction new file mode 100644 index 0000000..d54aa74 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/fishing_count/aqua.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/fishing_count/aqua.mcfunction new file mode 100644 index 0000000..2d65e05 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/fishing_count/black.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/fishing_count/black.mcfunction new file mode 100644 index 0000000..5fe5013 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/fishing_count/blue.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/fishing_count/blue.mcfunction new file mode 100644 index 0000000..31ffd08 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/fishing_count/dark_aqua.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/fishing_count/dark_aqua.mcfunction new file mode 100644 index 0000000..ac593b0 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/fishing_count/dark_blue.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/fishing_count/dark_blue.mcfunction new file mode 100644 index 0000000..4558aa9 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/fishing_count/dark_gray.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/fishing_count/dark_gray.mcfunction new file mode 100644 index 0000000..27e44a0 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/fishing_count/dark_green.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/fishing_count/dark_green.mcfunction new file mode 100644 index 0000000..a693796 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/fishing_count/dark_purple.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/fishing_count/dark_purple.mcfunction new file mode 100644 index 0000000..7ca3426 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/fishing_count/dark_red.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/fishing_count/dark_red.mcfunction new file mode 100644 index 0000000..e051570 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/fishing_count/gold.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/fishing_count/gold.mcfunction new file mode 100644 index 0000000..e180aea --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/fishing_count/gray.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/fishing_count/gray.mcfunction new file mode 100644 index 0000000..aabe935 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/fishing_count/green.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/fishing_count/green.mcfunction new file mode 100644 index 0000000..d4f9de7 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/fishing_count/light_purple.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/fishing_count/light_purple.mcfunction new file mode 100644 index 0000000..d279d8e --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/fishing_count/red.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/fishing_count/red.mcfunction new file mode 100644 index 0000000..e8dc6bd --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/fishing_count/white.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/fishing_count/white.mcfunction new file mode 100644 index 0000000..89dc527 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/fishing_count/yellow.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/fishing_count/yellow.mcfunction new file mode 100644 index 0000000..961b95f --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/general/aqua.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/general/aqua.mcfunction new file mode 100644 index 0000000..e4adbd3 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/general/black.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/general/black.mcfunction new file mode 100644 index 0000000..6a04712 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/general/blue.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/general/blue.mcfunction new file mode 100644 index 0000000..0e3bb8f --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/general/dark_aqua.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/general/dark_aqua.mcfunction new file mode 100644 index 0000000..cada99d --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/general/dark_blue.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/general/dark_blue.mcfunction new file mode 100644 index 0000000..586e0cd --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/general/dark_gray.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/general/dark_gray.mcfunction new file mode 100644 index 0000000..a1a9d8f --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/general/dark_green.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/general/dark_green.mcfunction new file mode 100644 index 0000000..187f8ce --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/general/dark_purple.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/general/dark_purple.mcfunction new file mode 100644 index 0000000..3939299 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/general/dark_red.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/general/dark_red.mcfunction new file mode 100644 index 0000000..edf97f1 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/general/gold.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/general/gold.mcfunction new file mode 100644 index 0000000..64356ef --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/general/gray.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/general/gray.mcfunction new file mode 100644 index 0000000..95e39b5 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/general/green.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/general/green.mcfunction new file mode 100644 index 0000000..6fc6c08 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/general/light_purple.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/general/light_purple.mcfunction new file mode 100644 index 0000000..47e3dc9 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/general/red.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/general/red.mcfunction new file mode 100644 index 0000000..3a8051a --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/general/white.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/general/white.mcfunction new file mode 100644 index 0000000..7e98131 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/general/yellow.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/general/yellow.mcfunction new file mode 100644 index 0000000..474c55c --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/kill_count/aqua.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/kill_count/aqua.mcfunction new file mode 100644 index 0000000..a3c8eaa --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/kill_count/black.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/kill_count/black.mcfunction new file mode 100644 index 0000000..7b1ef39 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/kill_count/blue.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/kill_count/blue.mcfunction new file mode 100644 index 0000000..7c6d551 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/kill_count/dark_aqua.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/kill_count/dark_aqua.mcfunction new file mode 100644 index 0000000..012807b --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/kill_count/dark_blue.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/kill_count/dark_blue.mcfunction new file mode 100644 index 0000000..501caca --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/kill_count/dark_gray.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/kill_count/dark_gray.mcfunction new file mode 100644 index 0000000..d3cb683 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/kill_count/dark_green.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/kill_count/dark_green.mcfunction new file mode 100644 index 0000000..97262de --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/kill_count/dark_purple.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/kill_count/dark_purple.mcfunction new file mode 100644 index 0000000..844f790 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/kill_count/dark_red.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/kill_count/dark_red.mcfunction new file mode 100644 index 0000000..6531857 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/kill_count/gold.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/kill_count/gold.mcfunction new file mode 100644 index 0000000..edb4752 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/kill_count/gray.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/kill_count/gray.mcfunction new file mode 100644 index 0000000..b164136 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/kill_count/green.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/kill_count/green.mcfunction new file mode 100644 index 0000000..9b8df2b --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/kill_count/light_purple.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/kill_count/light_purple.mcfunction new file mode 100644 index 0000000..4510f17 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/kill_count/red.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/kill_count/red.mcfunction new file mode 100644 index 0000000..e2674c2 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/kill_count/white.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/kill_count/white.mcfunction new file mode 100644 index 0000000..94cf266 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/kill_count/yellow.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/kill_count/yellow.mcfunction new file mode 100644 index 0000000..b5d21bc --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/placement_count/aqua.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/placement_count/aqua.mcfunction new file mode 100644 index 0000000..47de86f --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/placement_count/black.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/placement_count/black.mcfunction new file mode 100644 index 0000000..cadd33a --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/placement_count/blue.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/placement_count/blue.mcfunction new file mode 100644 index 0000000..b3fb007 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/placement_count/dark_aqua.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/placement_count/dark_aqua.mcfunction new file mode 100644 index 0000000..5b06764 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/placement_count/dark_blue.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/placement_count/dark_blue.mcfunction new file mode 100644 index 0000000..9da14d1 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/placement_count/dark_gray.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/placement_count/dark_gray.mcfunction new file mode 100644 index 0000000..16414d0 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/placement_count/dark_green.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/placement_count/dark_green.mcfunction new file mode 100644 index 0000000..54e7391 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/placement_count/dark_purple.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/placement_count/dark_purple.mcfunction new file mode 100644 index 0000000..8b4eb51 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/placement_count/dark_red.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/placement_count/dark_red.mcfunction new file mode 100644 index 0000000..04faf80 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/placement_count/gold.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/placement_count/gold.mcfunction new file mode 100644 index 0000000..17e6287 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/placement_count/gray.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/placement_count/gray.mcfunction new file mode 100644 index 0000000..89f78af --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/placement_count/green.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/placement_count/green.mcfunction new file mode 100644 index 0000000..da798f3 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/placement_count/light_purple.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/placement_count/light_purple.mcfunction new file mode 100644 index 0000000..d4c2447 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/placement_count/red.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/placement_count/red.mcfunction new file mode 100644 index 0000000..7081c90 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/placement_count/white.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/placement_count/white.mcfunction new file mode 100644 index 0000000..fd913d3 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/placement_count/yellow.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/placement_count/yellow.mcfunction new file mode 100644 index 0000000..a1749cc --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/trade_count/aqua.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/trade_count/aqua.mcfunction new file mode 100644 index 0000000..99cc8dc --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/trade_count/black.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/trade_count/black.mcfunction new file mode 100644 index 0000000..0bb22da --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/trade_count/blue.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/trade_count/blue.mcfunction new file mode 100644 index 0000000..5571533 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/trade_count/dark_aqua.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/trade_count/dark_aqua.mcfunction new file mode 100644 index 0000000..5c7cd94 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/trade_count/dark_blue.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/trade_count/dark_blue.mcfunction new file mode 100644 index 0000000..bf4d51b --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/trade_count/dark_gray.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/trade_count/dark_gray.mcfunction new file mode 100644 index 0000000..8bc4a62 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/trade_count/dark_green.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/trade_count/dark_green.mcfunction new file mode 100644 index 0000000..cbe2a9e --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/trade_count/dark_purple.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/trade_count/dark_purple.mcfunction new file mode 100644 index 0000000..93a522c --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/trade_count/dark_red.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/trade_count/dark_red.mcfunction new file mode 100644 index 0000000..c85e7cb --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/trade_count/gold.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/trade_count/gold.mcfunction new file mode 100644 index 0000000..d7d91e5 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/trade_count/gray.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/trade_count/gray.mcfunction new file mode 100644 index 0000000..79c91f4 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/trade_count/green.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/trade_count/green.mcfunction new file mode 100644 index 0000000..b1efb0e --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/trade_count/light_purple.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/trade_count/light_purple.mcfunction new file mode 100644 index 0000000..7a01610 --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/trade_count/red.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/trade_count/red.mcfunction new file mode 100644 index 0000000..21e30bb --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/trade_count/white.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/trade_count/white.mcfunction new file mode 100644 index 0000000..18b45bf --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/display/set_text/trade_count/yellow.mcfunction b/data/fzsd/function/module/scoreboard/display/set_text/trade_count/yellow.mcfunction new file mode 100644 index 0000000..975eb6c --- /dev/null +++ b/data/fzsd/function/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.module.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/function/module/scoreboard/install.mcfunction b/data/fzsd/function/module/scoreboard/install.mcfunction new file mode 100644 index 0000000..32cbf4d --- /dev/null +++ b/data/fzsd/function/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:install 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/function/module/scoreboard/interactor/display.mcfunction b/data/fzsd/function/module/scoreboard/interactor/display.mcfunction new file mode 100644 index 0000000..33db53c --- /dev/null +++ b/data/fzsd/function/module/scoreboard/interactor/display.mcfunction @@ -0,0 +1,7 @@ +# 调用者:#fzsd:module/scoreboard/interactor/display + +execute if data storage fzsd:install fzsd.module{scoreboard:1b} run tellraw @s {"text": "计分板:"} + +execute if data storage fzsd:install fzsd.module{scoreboard:1b} run tellraw @s [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "contents": {"text": "查询我的分数", "color": "#F4A460"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1120"}}, {"text": "查询我的分数", "color": "#F4A460"}, {"text": "] "}] + +execute if data storage fzsd:install fzsd.module{scoreboard:1b} run tellraw @s [[{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "contents": {"text": "关", "color": "red"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1000"}}, {"text": "关", "color": "red"}, {"text": "] "}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1010"}}, {"nbt": "fzsd.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "] "}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.module.scoreboard.text.general", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1020"}}, {"nbt": "fzsd.module.scoreboard.text.general", "interpret": true, "storage": "fzsd:module"},{"text": "] "}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.module.scoreboard.text.activation", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1030"}}, {"nbt": "fzsd.module.scoreboard.text.activation", "interpret": true, "storage": "fzsd:module"},{"text": "] "}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.module.scoreboard.text.aviating_distance", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1040"}}, {"nbt": "fzsd.module.scoreboard.text.aviating_distance", "interpret": true, "storage": "fzsd:module"},{"text": "] "}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.module.scoreboard.text.damage_taken", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1050"}}, {"nbt": "fzsd.module.scoreboard.text.damage_taken", "interpret": true, "storage": "fzsd:module"},{"text": "] "}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.module.scoreboard.text.death_count", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1060"}}, {"nbt": "fzsd.module.scoreboard.text.death_count", "interpret": true, "storage": "fzsd:module"},{"text": "] "}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.module.scoreboard.text.dig_count", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1070"}}, {"nbt": "fzsd.module.scoreboard.text.dig_count", "interpret": true, "storage": "fzsd:module"},{"text": "] "}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.module.scoreboard.text.fishing_count", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1080"}}, {"nbt": "fzsd.module.scoreboard.text.fishing_count", "interpret": true, "storage": "fzsd:module"},{"text": "] "}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.module.scoreboard.text.kill_count", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1090"}}, {"nbt": "fzsd.module.scoreboard.text.kill_count", "interpret": true, "storage": "fzsd:module"},{"text": "] "}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.module.scoreboard.text.trade_count", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1100"}}, {"nbt": "fzsd.module.scoreboard.text.trade_count", "interpret": true, "storage": "fzsd:module"}, {"text": "] "}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.module.scoreboard.text.placement_count", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1110"}}, {"nbt": "fzsd.module.scoreboard.text.placement_count", "interpret": true, "storage": "fzsd:module"}, {"text": "] "}]] \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/interactor/on_click.mcfunction b/data/fzsd/function/module/scoreboard/interactor/on_click.mcfunction new file mode 100644 index 0000000..851668f --- /dev/null +++ b/data/fzsd/function/module/scoreboard/interactor/on_click.mcfunction @@ -0,0 +1,13 @@ +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 +execute if score @s fzsd.module.interactor.trigger matches -1110 run function #fzsd:module/scoreboard/interactor/subscribe/placement_count +execute if score @s fzsd.module.interactor.trigger matches -1120 run function #fzsd:module/scoreboard/interactor/show_my_scores \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/interactor/show_my_scores.mcfunction b/data/fzsd/function/module/scoreboard/interactor/show_my_scores.mcfunction new file mode 100644 index 0000000..8e204eb --- /dev/null +++ b/data/fzsd/function/module/scoreboard/interactor/show_my_scores.mcfunction @@ -0,0 +1,9 @@ +execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"text": ""}, {"nbt": "fzsd.module.scoreboard.text.activation", "interpret": true, "storage": "fzsd:module"}, [{"text": ":"}, {"score": {"objective": "fzsd.module.scoreboard.display.activation", "name": "@s"}}]] +execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"text": ""}, {"nbt": "fzsd.module.scoreboard.text.aviating_distance", "interpret": true, "storage": "fzsd:module"}, [{"text": ":"}, {"score": {"objective": "fzsd.module.scoreboard.display.aviating_distance", "name": "@s"}}]] +execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"text": ""}, {"nbt": "fzsd.module.scoreboard.text.damage_taken", "interpret": true, "storage": "fzsd:module"}, [{"text": ":"}, {"score": {"objective": "fzsd.module.scoreboard.display.damage_taken", "name": "@s"}}]] +execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"text": ""}, {"nbt": "fzsd.module.scoreboard.text.death_count", "interpret": true, "storage": "fzsd:module"}, [{"text": ":"}, {"score": {"objective": "fzsd.module.scoreboard.display.death_count", "name": "@s"}}]] +execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"text": ""}, {"nbt": "fzsd.module.scoreboard.text.dig_count", "interpret": true, "storage": "fzsd:module"}, [{"text": ":"}, {"score": {"objective": "fzsd.module.scoreboard.display.dig_count", "name": "@s"}}]] +execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"text": ""}, {"nbt": "fzsd.module.scoreboard.text.fishing_count", "interpret": true, "storage": "fzsd:module"}, [{"text": ":"}, {"score": {"objective": "fzsd.module.scoreboard.display.fishing_count", "name": "@s"}}]] +execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"text": ""}, {"nbt": "fzsd.module.scoreboard.text.kill_count", "interpret": true, "storage": "fzsd:module"}, [{"text": ":"}, {"score": {"objective": "fzsd.module.scoreboard.display.kill_count", "name": "@s"}}]] +execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"text": ""}, {"nbt": "fzsd.module.scoreboard.text.trade_count", "interpret": true, "storage": "fzsd:module"}, [{"text": ":"}, {"score": {"objective": "fzsd.module.scoreboard.display.trade_count", "name": "@s"}}]] +execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"text": ""}, {"nbt": "fzsd.module.scoreboard.text.placement_count", "interpret": true, "storage": "fzsd:module"}, [{"text": ":"}, {"score": {"objective": "fzsd.module.scoreboard.display.placement_count", "name": "@s"}}]] diff --git a/data/fzsd/function/module/scoreboard/interactor/subscribe/activation.mcfunction b/data/fzsd/function/module/scoreboard/interactor/subscribe/activation.mcfunction new file mode 100644 index 0000000..c8daa37 --- /dev/null +++ b/data/fzsd/function/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.module.scoreboard.text.activation", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/interactor/subscribe/aviating_distance.mcfunction b/data/fzsd/function/module/scoreboard/interactor/subscribe/aviating_distance.mcfunction new file mode 100644 index 0000000..21e26a1 --- /dev/null +++ b/data/fzsd/function/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.module.scoreboard.text.aviating_distance", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/interactor/subscribe/carousel.mcfunction b/data/fzsd/function/module/scoreboard/interactor/subscribe/carousel.mcfunction new file mode 100644 index 0000000..94d5c74 --- /dev/null +++ b/data/fzsd/function/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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/interactor/subscribe/damage_taken.mcfunction b/data/fzsd/function/module/scoreboard/interactor/subscribe/damage_taken.mcfunction new file mode 100644 index 0000000..4221f0f --- /dev/null +++ b/data/fzsd/function/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.module.scoreboard.text.damage_taken", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/interactor/subscribe/death_count.mcfunction b/data/fzsd/function/module/scoreboard/interactor/subscribe/death_count.mcfunction new file mode 100644 index 0000000..7611871 --- /dev/null +++ b/data/fzsd/function/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.module.scoreboard.text.death_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/interactor/subscribe/dig_count.mcfunction b/data/fzsd/function/module/scoreboard/interactor/subscribe/dig_count.mcfunction new file mode 100644 index 0000000..60b7bda --- /dev/null +++ b/data/fzsd/function/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.module.scoreboard.text.dig_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/interactor/subscribe/fishing_count.mcfunction b/data/fzsd/function/module/scoreboard/interactor/subscribe/fishing_count.mcfunction new file mode 100644 index 0000000..c85fbc3 --- /dev/null +++ b/data/fzsd/function/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.module.scoreboard.text.fishing_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/interactor/subscribe/general.mcfunction b/data/fzsd/function/module/scoreboard/interactor/subscribe/general.mcfunction new file mode 100644 index 0000000..3dc8113 --- /dev/null +++ b/data/fzsd/function/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.module.scoreboard.text.general", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/interactor/subscribe/kill_count.mcfunction b/data/fzsd/function/module/scoreboard/interactor/subscribe/kill_count.mcfunction new file mode 100644 index 0000000..58f5e2a --- /dev/null +++ b/data/fzsd/function/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.module.scoreboard.text.kill_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/interactor/subscribe/off.mcfunction b/data/fzsd/function/module/scoreboard/interactor/subscribe/off.mcfunction new file mode 100644 index 0000000..33c8674 --- /dev/null +++ b/data/fzsd/function/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/function/module/scoreboard/interactor/subscribe/placement_count.mcfunction b/data/fzsd/function/module/scoreboard/interactor/subscribe/placement_count.mcfunction new file mode 100644 index 0000000..573473f --- /dev/null +++ b/data/fzsd/function/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.module.scoreboard.text.placement_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/interactor/subscribe/trade_count.mcfunction b/data/fzsd/function/module/scoreboard/interactor/subscribe/trade_count.mcfunction new file mode 100644 index 0000000..7cb0a79 --- /dev/null +++ b/data/fzsd/function/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.module.scoreboard.text.trade_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/load.mcfunction b/data/fzsd/function/module/scoreboard/load.mcfunction new file mode 100644 index 0000000..6991bf6 --- /dev/null +++ b/data/fzsd/function/module/scoreboard/load.mcfunction @@ -0,0 +1,17 @@ +# 调用者:#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.module.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.module.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.module.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.module.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.module.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.module.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.module.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.module.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.module.scoreboard.text.trade_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.placement_count - "}, {"nbt": "fzsd.module.scoreboard.text.placement_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/fzsd/function/module/scoreboard/try_install.mcfunction b/data/fzsd/function/module/scoreboard/try_install.mcfunction new file mode 100644 index 0000000..7a18d0f --- /dev/null +++ b/data/fzsd/function/module/scoreboard/try_install.mcfunction @@ -0,0 +1,2 @@ + +execute unless data storage fzsd:install fzsd.module{scoreboard:0b} run function #fzsd:module/scoreboard/install \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/try_load.mcfunction b/data/fzsd/function/module/scoreboard/try_load.mcfunction new file mode 100644 index 0000000..f5c60bd --- /dev/null +++ b/data/fzsd/function/module/scoreboard/try_load.mcfunction @@ -0,0 +1,2 @@ +## 判断是否安装,如果安装则加载 +execute if data storage fzsd:install fzsd.module{scoreboard:1b} run function #fzsd:module/scoreboard/load \ No newline at end of file diff --git a/data/fzsd/function/module/scoreboard/uninstall.mcfunction b/data/fzsd/function/module/scoreboard/uninstall.mcfunction new file mode 100644 index 0000000..61333fa --- /dev/null +++ b/data/fzsd/function/module/scoreboard/uninstall.mcfunction @@ -0,0 +1,34 @@ +# 调用者:#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:install 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/function/module/sweeper/bossbar.mcfunction b/data/fzsd/function/module/sweeper/bossbar.mcfunction new file mode 100644 index 0000000..bb05be0 --- /dev/null +++ b/data/fzsd/function/module/sweeper/bossbar.mcfunction @@ -0,0 +1,4 @@ +bossbar set fzsd:sweeper name [{"score": {"objective": "fzsd.variable.integer", "name": "fzsd.sweeper.bossbar.current_time"},"color": "#ff6100","underlined": true,"bold": true},{"text": "秒后清理掉落物","color": "#ffd900","bold": false}] +bossbar set fzsd:sweeper players @a[tag=!fzsd.ignore_sweeper_bossbar] +scoreboard players remove fzsd.sweeper.bossbar.current_time fzsd.variable.integer 1 +schedule function fzsd:module/sweeper/bossbar 1s \ No newline at end of file diff --git a/data/fzsd/function/module/sweeper/clear.mcfunction b/data/fzsd/function/module/sweeper/clear.mcfunction new file mode 100644 index 0000000..12f5a12 --- /dev/null +++ b/data/fzsd/function/module/sweeper/clear.mcfunction @@ -0,0 +1,15 @@ +schedule clear fzsd:module/sweeper/bossbar +schedule clear fzsd:module/sweeper/main +schedule clear fzsd:module/sweeper/timer/1s +schedule clear fzsd:module/sweeper/timer/2s +schedule clear fzsd:module/sweeper/timer/3s +schedule clear fzsd:module/sweeper/timer/4s +schedule clear fzsd:module/sweeper/timer/5s +schedule clear fzsd:module/sweeper/timer/10s +schedule clear fzsd:module/sweeper/timer/30s +schedule clear fzsd:module/sweeper/timer/1min +schedule clear fzsd:module/sweeper/timer/2min +schedule clear fzsd:module/sweeper/timer/3min +schedule clear fzsd:module/sweeper/timer/4min +bossbar set fzsd:sweeper visible false +bossbar set fzsd:sweeper value 0 \ No newline at end of file diff --git a/data/fzsd/function/module/sweeper/install.mcfunction b/data/fzsd/function/module/sweeper/install.mcfunction new file mode 100644 index 0000000..aa3940e --- /dev/null +++ b/data/fzsd/function/module/sweeper/install.mcfunction @@ -0,0 +1,8 @@ +bossbar add fzsd:sweeper "" +bossbar set fzsd:sweeper max 60 + +## 标记为已安装 +data modify storage fzsd:install fzsd.module.sweeper 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/function/module/sweeper/interactor/display.mcfunction b/data/fzsd/function/module/sweeper/interactor/display.mcfunction new file mode 100644 index 0000000..b9ba3b7 --- /dev/null +++ b/data/fzsd/function/module/sweeper/interactor/display.mcfunction @@ -0,0 +1,2 @@ +# 调用者:#fzsd:module/sweeper/interactor/display +execute if data storage fzsd:install fzsd.module{sweeper:1b} run function fzsd:module/sweeper/interactor/display_0 \ No newline at end of file diff --git a/data/fzsd/function/module/sweeper/interactor/display_0.mcfunction b/data/fzsd/function/module/sweeper/interactor/display_0.mcfunction new file mode 100644 index 0000000..d3a307b --- /dev/null +++ b/data/fzsd/function/module/sweeper/interactor/display_0.mcfunction @@ -0,0 +1,12 @@ +tellraw @s [{"text": "扫地机:"}] + +tellraw @s[tag=!fzsd.ignore_sweeper_bossbar] [{"text": "- 血条栏:"}, [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "点击关闭"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set 3400"}}, {"text": "已启用", "color": "green"}, {"text": "]"}]] +tellraw @s[tag=fzsd.ignore_sweeper_bossbar] [{"text": "- 血条栏:"}, [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "点击启用"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set 3401"}}, {"text": "已关闭", "color": "red"}, {"text": "]"}]] + +tellraw @s[tag=!fzsd.ignore_sweeper_sound] [{"text": "- 音效:"}, [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "点击关闭"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set 3500"}}, {"text": "已启用", "color": "green"}, {"text": "]"}]] +tellraw @s[tag=fzsd.ignore_sweeper_sound] [{"text": "- 音效:"}, [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "点击启用"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set 3501"}}, {"text": "已关闭", "color": "red"}, {"text": "]"}]] + +tellraw @s[tag=!fzsd.ignore_sweeper_message] [{"text": "- 聊天栏:"}, [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "点击关闭"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set 3600"}}, {"text": "已启用", "color": "green"}, {"text": "]"}]] +tellraw @s[tag=fzsd.ignore_sweeper_message] [{"text": "- 聊天栏:"}, [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "点击启用"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set 3601"}}, {"text": "已关闭", "color": "red"}, {"text": "]"}]] + +tellraw @s [{"text": "- 开关:"}, [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "contents": {"text": "关", "color": "red"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -3000"}}, {"text": "关", "color": "red"}, {"text": "] "}], [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "contents": {"text": "清理一次", "color": "aqua"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -3300"}}, {"text": "清理一次", "color": "aqua"}, {"text": "] "}], [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "contents": {"text": "10s", "color": "#aa0000"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -3010"}}, {"text": "10s", "color": "#aa0000"}, {"text": "] "}], [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "contents": {"text": "30s", "color": "#da7924"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -3030"}}, {"text": "30s", "color": "#da7924"}, {"text": "] "}], [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "contents": {"text": "1min", "color": "#ffe34c"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -3060"}}, {"text": "1min", "color": "#ffe34c"}, {"text": "] "}], [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "contents": {"text": "2min", "color": "#e3ff50"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -3120"}}, {"text": "2min", "color": "#e3ff50"}, {"text": "] "}], [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "contents": {"text": "3min", "color": "#81d42c"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -3180"}}, {"text": "3min", "color": "#81d42c"}, {"text": "] "}], [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "contents": {"text": "4min", "color": "#00aa00"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -3240"}}, {"text": "4min", "color": "#00aa00"}, {"text": "]"}]] diff --git a/data/fzsd/function/module/sweeper/interactor/on_click.mcfunction b/data/fzsd/function/module/sweeper/interactor/on_click.mcfunction new file mode 100644 index 0000000..4f9b385 --- /dev/null +++ b/data/fzsd/function/module/sweeper/interactor/on_click.mcfunction @@ -0,0 +1,9 @@ +execute if score @s fzsd.module.interactor.trigger matches 3400 run tag @s add fzsd.ignore_sweeper_bossbar +execute if score @s fzsd.module.interactor.trigger matches 3401 run tag @s remove fzsd.ignore_sweeper_bossbar +execute if score @s fzsd.module.interactor.trigger matches 3500 run tag @s add fzsd.ignore_sweeper_sound +execute if score @s fzsd.module.interactor.trigger matches 3501 run tag @s remove fzsd.ignore_sweeper_sound +execute if score @s fzsd.module.interactor.trigger matches 3600 run tag @s add fzsd.ignore_sweeper_message +execute if score @s fzsd.module.interactor.trigger matches 3601 run tag @s remove fzsd.ignore_sweeper_message +execute if score @s fzsd.module.interactor.trigger matches -3300 run function #fzsd:module/sweeper/sweep +execute if score @s fzsd.module.interactor.trigger matches -3000 run function #fzsd:module/sweeper/stop_loop +execute if score @s fzsd.module.interactor.trigger matches -3240..-3010 run function #fzsd:module/sweeper/start_loop \ No newline at end of file diff --git a/data/fzsd/function/module/sweeper/load.mcfunction b/data/fzsd/function/module/sweeper/load.mcfunction new file mode 100644 index 0000000..1195762 --- /dev/null +++ b/data/fzsd/function/module/sweeper/load.mcfunction @@ -0,0 +1,4 @@ +function fzsd:module/sweeper/clear + +## 日志 +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/function/module/sweeper/main.mcfunction b/data/fzsd/function/module/sweeper/main.mcfunction new file mode 100644 index 0000000..8f28021 --- /dev/null +++ b/data/fzsd/function/module/sweeper/main.mcfunction @@ -0,0 +1,3 @@ +bossbar set fzsd:sweeper value 0 +function #fzsd:module/sweeper/sweep +function fzsd:module/sweeper/start_timer \ No newline at end of file diff --git a/data/fzsd/function/module/sweeper/pre_loop.mcfunction b/data/fzsd/function/module/sweeper/pre_loop.mcfunction new file mode 100644 index 0000000..4bf3b67 --- /dev/null +++ b/data/fzsd/function/module/sweeper/pre_loop.mcfunction @@ -0,0 +1,6 @@ +# 获取间隔时间 +scoreboard players set fzsd.sweeper.interval_time fzsd.variable.integer 3000 +scoreboard players operation fzsd.sweeper.interval_time fzsd.variable.integer += @s fzsd.module.interactor.trigger +scoreboard players operation fzsd.sweeper.interval_time fzsd.variable.integer *= -1 fzsd.variable.integer +# 设为显示 +bossbar set fzsd:sweeper visible true \ No newline at end of file diff --git a/data/fzsd/function/module/sweeper/start_timer.mcfunction b/data/fzsd/function/module/sweeper/start_timer.mcfunction new file mode 100644 index 0000000..4748291 --- /dev/null +++ b/data/fzsd/function/module/sweeper/start_timer.mcfunction @@ -0,0 +1,7 @@ +execute if score fzsd.sweeper.interval_time fzsd.variable.integer matches 10 run function fzsd:module/sweeper/timer/10s +execute if score fzsd.sweeper.interval_time fzsd.variable.integer matches 30 run function fzsd:module/sweeper/timer/30s +execute if score fzsd.sweeper.interval_time fzsd.variable.integer matches 60 run function fzsd:module/sweeper/timer/1min +execute if score fzsd.sweeper.interval_time fzsd.variable.integer matches 120 run function fzsd:module/sweeper/timer/2min +execute if score fzsd.sweeper.interval_time fzsd.variable.integer matches 180 run function fzsd:module/sweeper/timer/3min +execute if score fzsd.sweeper.interval_time fzsd.variable.integer matches 240 run function fzsd:module/sweeper/timer/4min +scoreboard players operation fzsd.sweeper.bossbar.current_time fzsd.variable.integer = fzsd.sweeper.interval_time fzsd.variable.integer \ No newline at end of file diff --git a/data/fzsd/function/module/sweeper/sweep.mcfunction b/data/fzsd/function/module/sweeper/sweep.mcfunction new file mode 100644 index 0000000..364545c --- /dev/null +++ b/data/fzsd/function/module/sweeper/sweep.mcfunction @@ -0,0 +1,3 @@ +execute store result score fzsd.sweeper.killed fzsd.variable.integer run kill @e[type=minecraft:item,predicate=!fzsd:sweeper/whitelist] +execute if score fzsd.logger.level fzsd.variable.integer matches ..600 run tellraw @a [{"nbt": "fzsd.level.alert", "interpret": true, "storage": "fzsd:logger"}, {"text": "本次共清理了"}, {"score": {"objective": "fzsd.variable.integer", "name": "fzsd.sweeper.killed"}}, {"text": "堆掉落物"}] +execute as @a[tag=!fzsd.ignore_sweeper_sound] at @s run playsound minecraft:block.note_block.pling voice @s ~ ~ ~ 1 2 \ No newline at end of file diff --git a/data/fzsd/function/module/sweeper/timer/10s.mcfunction b/data/fzsd/function/module/sweeper/timer/10s.mcfunction new file mode 100644 index 0000000..9ad9aeb --- /dev/null +++ b/data/fzsd/function/module/sweeper/timer/10s.mcfunction @@ -0,0 +1,5 @@ +execute if score fzsd.logger.level fzsd.variable.integer matches ..600 run tellraw @a[tag=!fzsd.ignore_sweeper_message] [{"nbt": "fzsd.level.alert", "interpret": true, "storage": "fzsd:logger"}, {"text": "10秒后清理掉落物"}] +execute as @a[tag=!fzsd.ignore_sweeper_sound] at @s run playsound minecraft:block.note_block.pling voice @s ~ ~ ~ 1 1 +bossbar set fzsd:sweeper color yellow +bossbar set fzsd:sweeper value 10 +schedule function fzsd:module/sweeper/timer/5s 5s \ No newline at end of file diff --git a/data/fzsd/function/module/sweeper/timer/1min.mcfunction b/data/fzsd/function/module/sweeper/timer/1min.mcfunction new file mode 100644 index 0000000..567655f --- /dev/null +++ b/data/fzsd/function/module/sweeper/timer/1min.mcfunction @@ -0,0 +1,5 @@ +execute if score fzsd.logger.level fzsd.variable.integer matches ..600 run execute if score fzsd.logger.level fzsd.variable.integer matches ..600 run tellraw @a[tag=!fzsd.ignore_sweeper_message] [{"nbt": "fzsd.level.alert", "interpret": true, "storage": "fzsd:logger"}, {"text": "1分钟后清理掉落物"}] +execute as @a[tag=!fzsd.ignore_sweeper_sound] at @s run playsound minecraft:block.note_block.pling voice @s ~ ~ ~ 1 1 +bossbar set fzsd:sweeper color yellow +bossbar set fzsd:sweeper value 60 +schedule function fzsd:module/sweeper/timer/30s 30s \ No newline at end of file diff --git a/data/fzsd/function/module/sweeper/timer/1s.mcfunction b/data/fzsd/function/module/sweeper/timer/1s.mcfunction new file mode 100644 index 0000000..1694865 --- /dev/null +++ b/data/fzsd/function/module/sweeper/timer/1s.mcfunction @@ -0,0 +1,4 @@ +execute if score fzsd.logger.level fzsd.variable.integer matches ..600 run tellraw @a[tag=!fzsd.ignore_sweeper_message] [{"nbt": "fzsd.level.alert", "interpret": true, "storage": "fzsd:logger"}, {"text": "1秒后清理掉落物"}] +execute as @a[tag=!fzsd.ignore_sweeper_sound] at @s run playsound minecraft:block.note_block.pling voice @s ~ ~ ~ 1 1 +bossbar set fzsd:sweeper value 12 +schedule function fzsd:module/sweeper/main 1s \ No newline at end of file diff --git a/data/fzsd/function/module/sweeper/timer/2min.mcfunction b/data/fzsd/function/module/sweeper/timer/2min.mcfunction new file mode 100644 index 0000000..8f753f7 --- /dev/null +++ b/data/fzsd/function/module/sweeper/timer/2min.mcfunction @@ -0,0 +1,5 @@ +execute if score fzsd.logger.level fzsd.variable.integer matches ..600 run tellraw @a[tag=!fzsd.ignore_sweeper_message] [{"nbt": "fzsd.level.alert", "interpret": true, "storage": "fzsd:logger"}, {"text": "2分钟后清理掉落物"}] +execute as @a[tag=!fzsd.ignore_sweeper_sound] at @s run playsound minecraft:block.note_block.pling voice @s ~ ~ ~ 1 1 +bossbar set fzsd:sweeper color green +bossbar set fzsd:sweeper value 30 +schedule function fzsd:module/sweeper/timer/1min 60s \ No newline at end of file diff --git a/data/fzsd/function/module/sweeper/timer/2s.mcfunction b/data/fzsd/function/module/sweeper/timer/2s.mcfunction new file mode 100644 index 0000000..a124da9 --- /dev/null +++ b/data/fzsd/function/module/sweeper/timer/2s.mcfunction @@ -0,0 +1,4 @@ +execute if score fzsd.logger.level fzsd.variable.integer matches ..600 run tellraw @a[tag=!fzsd.ignore_sweeper_message] [{"nbt": "fzsd.level.alert", "interpret": true, "storage": "fzsd:logger"}, {"text": "2秒后清理掉落物"}] +execute as @a[tag=!fzsd.ignore_sweeper_sound] at @s run playsound minecraft:block.note_block.pling voice @s ~ ~ ~ 1 1 +bossbar set fzsd:sweeper value 24 +schedule function fzsd:module/sweeper/timer/1s 1s \ No newline at end of file diff --git a/data/fzsd/function/module/sweeper/timer/30s.mcfunction b/data/fzsd/function/module/sweeper/timer/30s.mcfunction new file mode 100644 index 0000000..5927eb4 --- /dev/null +++ b/data/fzsd/function/module/sweeper/timer/30s.mcfunction @@ -0,0 +1,5 @@ +execute if score fzsd.logger.level fzsd.variable.integer matches ..600 run tellraw @a[tag=!fzsd.ignore_sweeper_message] [{"nbt": "fzsd.level.alert", "interpret": true, "storage": "fzsd:logger"}, {"text": "30秒后清理掉落物"}] +execute as @a[tag=!fzsd.ignore_sweeper_sound] at @s run playsound minecraft:block.note_block.pling voice @s ~ ~ ~ 1 1 +bossbar set fzsd:sweeper color yellow +bossbar set fzsd:sweeper value 30 +schedule function fzsd:module/sweeper/timer/10s 20s \ No newline at end of file diff --git a/data/fzsd/function/module/sweeper/timer/3min.mcfunction b/data/fzsd/function/module/sweeper/timer/3min.mcfunction new file mode 100644 index 0000000..b81944f --- /dev/null +++ b/data/fzsd/function/module/sweeper/timer/3min.mcfunction @@ -0,0 +1,5 @@ +execute if score fzsd.logger.level fzsd.variable.integer matches ..600 run tellraw @a[tag=!fzsd.ignore_sweeper_message] [{"nbt": "fzsd.level.alert", "interpret": true, "storage": "fzsd:logger"}, {"text": "3分钟后清理掉落物"}] +execute as @a[tag=!fzsd.ignore_sweeper_sound] at @s run playsound minecraft:block.note_block.pling voice @s ~ ~ ~ 1 1 +bossbar set fzsd:sweeper color green +bossbar set fzsd:sweeper value 45 +schedule function fzsd:module/sweeper/timer/2min 60s \ No newline at end of file diff --git a/data/fzsd/function/module/sweeper/timer/3s.mcfunction b/data/fzsd/function/module/sweeper/timer/3s.mcfunction new file mode 100644 index 0000000..74b3afe --- /dev/null +++ b/data/fzsd/function/module/sweeper/timer/3s.mcfunction @@ -0,0 +1,4 @@ +execute if score fzsd.logger.level fzsd.variable.integer matches ..600 run tellraw @a[tag=!fzsd.ignore_sweeper_message] [{"nbt": "fzsd.level.alert", "interpret": true, "storage": "fzsd:logger"}, {"text": "3秒后清理掉落物"}] +execute as @a[tag=!fzsd.ignore_sweeper_sound] at @s run playsound minecraft:block.note_block.pling voice @s ~ ~ ~ 1 1 +bossbar set fzsd:sweeper value 36 +schedule function fzsd:module/sweeper/timer/2s 1s \ No newline at end of file diff --git a/data/fzsd/function/module/sweeper/timer/4min.mcfunction b/data/fzsd/function/module/sweeper/timer/4min.mcfunction new file mode 100644 index 0000000..0f52caf --- /dev/null +++ b/data/fzsd/function/module/sweeper/timer/4min.mcfunction @@ -0,0 +1,5 @@ +execute if score fzsd.logger.level fzsd.variable.integer matches ..600 run tellraw @a[tag=!fzsd.ignore_sweeper_message] [{"nbt": "fzsd.level.alert", "interpret": true, "storage": "fzsd:logger"}, {"text": "4分钟后清理掉落物"}] +execute as @a[tag=!fzsd.ignore_sweeper_sound] at @s run playsound minecraft:block.note_block.pling voice @s ~ ~ ~ 1 1 +bossbar set fzsd:sweeper color green +bossbar set fzsd:sweeper value 50 +schedule function fzsd:module/sweeper/timer/3min 60s \ No newline at end of file diff --git a/data/fzsd/function/module/sweeper/timer/4s.mcfunction b/data/fzsd/function/module/sweeper/timer/4s.mcfunction new file mode 100644 index 0000000..d7dddd2 --- /dev/null +++ b/data/fzsd/function/module/sweeper/timer/4s.mcfunction @@ -0,0 +1,4 @@ +execute if score fzsd.logger.level fzsd.variable.integer matches ..600 run tellraw @a[tag=!fzsd.ignore_sweeper_message] [{"nbt": "fzsd.level.alert", "interpret": true, "storage": "fzsd:logger"}, {"text": "4秒后清理掉落物"}] +execute as @a[tag=!fzsd.ignore_sweeper_sound] at @s run playsound minecraft:block.note_block.pling voice @s ~ ~ ~ 1 1 +bossbar set fzsd:sweeper value 48 +schedule function fzsd:module/sweeper/timer/3s 1s \ No newline at end of file diff --git a/data/fzsd/function/module/sweeper/timer/5s.mcfunction b/data/fzsd/function/module/sweeper/timer/5s.mcfunction new file mode 100644 index 0000000..47e2149 --- /dev/null +++ b/data/fzsd/function/module/sweeper/timer/5s.mcfunction @@ -0,0 +1,5 @@ +execute if score fzsd.logger.level fzsd.variable.integer matches ..600 run tellraw @a[tag=!fzsd.ignore_sweeper_message] [{"nbt": "fzsd.level.alert", "interpret": true, "storage": "fzsd:logger"}, {"text": "5秒后清理掉落物"}] +execute as @a[tag=!fzsd.ignore_sweeper_sound] at @s run playsound minecraft:block.note_block.pling voice @s ~ ~ ~ 1 1 +bossbar set fzsd:sweeper color red +bossbar set fzsd:sweeper value 60 +schedule function fzsd:module/sweeper/timer/4s 1s \ No newline at end of file diff --git a/data/fzsd/function/module/sweeper/try_install.mcfunction b/data/fzsd/function/module/sweeper/try_install.mcfunction new file mode 100644 index 0000000..715becf --- /dev/null +++ b/data/fzsd/function/module/sweeper/try_install.mcfunction @@ -0,0 +1 @@ +execute unless data storage fzsd:install fzsd.module{sweeper:0b} run function #fzsd:module/sweeper/install \ No newline at end of file diff --git a/data/fzsd/function/module/sweeper/try_load.mcfunction b/data/fzsd/function/module/sweeper/try_load.mcfunction new file mode 100644 index 0000000..5a88bcc --- /dev/null +++ b/data/fzsd/function/module/sweeper/try_load.mcfunction @@ -0,0 +1,2 @@ +## 判断是否安装,如果安装则加载 +execute if data storage fzsd:install fzsd.module{sweeper:1b} run function #fzsd:module/sweeper/load \ No newline at end of file diff --git a/data/fzsd/function/module/sweeper/uninstall.mcfunction b/data/fzsd/function/module/sweeper/uninstall.mcfunction new file mode 100644 index 0000000..788b452 --- /dev/null +++ b/data/fzsd/function/module/sweeper/uninstall.mcfunction @@ -0,0 +1,7 @@ +bossbar remove fzsd:sweeper + +## 标记为已安装 +data modify storage fzsd:install fzsd.module.sweeper 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/function/system/carpet/settings_preset.mcfunction b/data/fzsd/function/system/carpet/settings_preset.mcfunction new file mode 100644 index 0000000..bd31bd0 --- /dev/null +++ b/data/fzsd/function/system/carpet/settings_preset.mcfunction @@ -0,0 +1,18 @@ +# 这个文件并不会自动执行,有需要可以手动执行 +carpet setDefault language zh_cn +carpet setDefault stackableShulkerBoxes 16 +carpet setDefault leadFix true +carpet setDefault ctrlQCraftingFix true +carpet setDefault smoothClientAnimations true +carpet setDefault fastRedstoneDust true +carpet setDefault reloadSuffocationFix true +carpet setDefault persistentParrots true +carpet setDefault missingTools true +carpet setDefault optimizedTNT true +carpet setDefault placementRotationFix true +carpet setDefault cleanLogs true +carpet setDefault lightningKillsDropsFix true +carpet setDefault lagFreeSpawning true +carpet setDefault accurateBlockPlacement true +carpet setDefault flippinCactus true +carpet setDefault defaultLoggers mobcaps,tps diff --git a/data/fzsd/function/system/carpet/try_load_fzsd_score.mcfunction b/data/fzsd/function/system/carpet/try_load_fzsd_score.mcfunction new file mode 100644 index 0000000..195b0d2 --- /dev/null +++ b/data/fzsd/function/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/function/system/install/install.mcfunction b/data/fzsd/function/system/install/install.mcfunction new file mode 100644 index 0000000..dde43ab --- /dev/null +++ b/data/fzsd/function/system/install/install.mcfunction @@ -0,0 +1,7 @@ +## 整数类型 +scoreboard objectives add fzsd.variable.integer dummy +scoreboard players set -1 fzsd.variable.integer -1 +scoreboard players set 10 fzsd.variable.integer 10 +scoreboard players set 200 fzsd.variable.integer 200 +scoreboard players set 24000 fzsd.variable.integer 24000 +scoreboard players set 72000 fzsd.variable.integer 72000 \ No newline at end of file diff --git a/data/fzsd/functions/system/install/after.mcfunction b/data/fzsd/function/system/install/post.mcfunction similarity index 100% rename from data/fzsd/functions/system/install/after.mcfunction rename to data/fzsd/function/system/install/post.mcfunction diff --git a/data/fzsd/function/system/load/load.mcfunction b/data/fzsd/function/system/load/load.mcfunction new file mode 100644 index 0000000..5473280 --- /dev/null +++ b/data/fzsd/function/system/load/load.mcfunction @@ -0,0 +1,6 @@ +## 常量 +scoreboard players set -1 fzsd.variable.integer -1 +scoreboard players set 10 fzsd.variable.integer 10 +scoreboard players set 200 fzsd.variable.integer 200 +scoreboard players set 24000 fzsd.variable.integer 24000 +scoreboard players set 72000 fzsd.variable.integer 72000 \ No newline at end of file diff --git a/data/fzsd/functions/system/load/after.mcfunction b/data/fzsd/function/system/load/post.mcfunction similarity index 100% rename from data/fzsd/functions/system/load/after.mcfunction rename to data/fzsd/function/system/load/post.mcfunction diff --git a/data/fzsd/function/system/uninstall/cache_module_install_data.mcfunction b/data/fzsd/function/system/uninstall/cache_module_install_data.mcfunction new file mode 100644 index 0000000..4bd895f --- /dev/null +++ b/data/fzsd/function/system/uninstall/cache_module_install_data.mcfunction @@ -0,0 +1,2 @@ +## 将模块安装记录缓存,因为模块的卸载函数会覆盖该记录 +data modify storage fzsd:install fzsd.cache set from storage fzsd:install fzsd.module \ No newline at end of file diff --git a/data/fzsd/functions/system/uninstall/after.mcfunction b/data/fzsd/function/system/uninstall/post.mcfunction similarity index 100% rename from data/fzsd/functions/system/uninstall/after.mcfunction rename to data/fzsd/function/system/uninstall/post.mcfunction diff --git a/data/fzsd/function/system/uninstall/restore_module_install_data.mcfunction b/data/fzsd/function/system/uninstall/restore_module_install_data.mcfunction new file mode 100644 index 0000000..37595a1 --- /dev/null +++ b/data/fzsd/function/system/uninstall/restore_module_install_data.mcfunction @@ -0,0 +1,3 @@ +## 恢复模块安装记录 +data modify storage fzsd:install fzsd.module set from storage fzsd:install fzsd.cache +data remove storage fzsd:install fzsd.cache \ No newline at end of file diff --git a/data/fzsd/function/system/uninstall/uninstall.mcfunction b/data/fzsd/function/system/uninstall/uninstall.mcfunction new file mode 100644 index 0000000..d05ffbb --- /dev/null +++ b/data/fzsd/function/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/function/system/update.mcfunction b/data/fzsd/function/system/update.mcfunction new file mode 100644 index 0000000..c75e1c6 --- /dev/null +++ b/data/fzsd/function/system/update.mcfunction @@ -0,0 +1,3 @@ +execute if data storage fzsd:install fzsd{global: 1b} run function #fzsd:uninstall +function #fzsd:update +function #fzsd:install diff --git a/data/fzsd/function/update/update_3_1_9.mcfunction b/data/fzsd/function/update/update_3_1_9.mcfunction new file mode 100644 index 0000000..dbf563a --- /dev/null +++ b/data/fzsd/function/update/update_3_1_9.mcfunction @@ -0,0 +1,6 @@ +## 计分板 +# 删去旧的总数数据 +scoreboard players reset 总受伤害量 +scoreboard players reset 总挖掘量 +scoreboard players reset 总放置方块数 +scoreboard players reset 总交易量 \ No newline at end of file diff --git a/data/fzsd/functions/boot.mcfunction b/data/fzsd/functions/boot.mcfunction index 8a98a35..9fb4035 100644 --- a/data/fzsd/functions/boot.mcfunction +++ b/data/fzsd/functions/boot.mcfunction @@ -1,4 +1,4 @@ -execute store success storage fzsd:version fzsd.need_update byte 1 run data merge storage fzsd:version {fzsd: {version: '3.1.8'}} +execute store success storage fzsd:version fzsd.need_update byte 1 run data merge storage fzsd:version {fzsd: {version: '3.1.9-alpha.1'}} execute if data storage fzsd:version fzsd{need_update: 1b} run function fzsd:system/update function fzsd:system/carpet/try_load_fzsd_score function #fzsd:load diff --git a/data/fzsd/functions/module/here/interactor/display.mcfunction b/data/fzsd/functions/module/here/interactor/display.mcfunction index a0cb0ca..bc39fc1 100644 --- a/data/fzsd/functions/module/here/interactor/display.mcfunction +++ b/data/fzsd/functions/module/here/interactor/display.mcfunction @@ -1 +1 @@ -execute if data storage fzsd:install 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 +execute if data storage fzsd:install 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/last_nether_portal/interactor/display.mcfunction b/data/fzsd/functions/module/last_nether_portal/interactor/display.mcfunction index 5207438..53d5e58 100644 --- a/data/fzsd/functions/module/last_nether_portal/interactor/display.mcfunction +++ b/data/fzsd/functions/module/last_nether_portal/interactor/display.mcfunction @@ -1 +1 @@ -execute if data storage fzsd:install 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 +execute if data storage fzsd:install 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/phantom_warning/interactor/display_0.mcfunction b/data/fzsd/functions/module/phantom_warning/interactor/display_0.mcfunction index 90e5070..0b0e91a 100644 --- a/data/fzsd/functions/module/phantom_warning/interactor/display_0.mcfunction +++ b/data/fzsd/functions/module/phantom_warning/interactor/display_0.mcfunction @@ -1,2 +1,2 @@ -tellraw @s[tag=!fzsd.ignore_phantom_warning] [{"text": "幻翼预警:"}, [{"text": "[", "color": "gray", "hoverEvent": {"action": "show_text", "value": "点击关闭"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set 4000"}}, {"text": "已启用", "color": "green"}, {"text": "]", "color": "gray"}]] -tellraw @s[tag=fzsd.ignore_phantom_warning] [{"text": "幻翼预警:"}, [{"text": "[", "color": "gray", "hoverEvent": {"action": "show_text", "value": "点击启用"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set 4001"}}, {"text": "已关闭", "color": "red"}, {"text": "]", "color": "gray"}]] +tellraw @s[tag=!fzsd.ignore_phantom_warning] [{"text": "幻翼预警:"}, [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "点击关闭"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set 4000"}}, {"text": "已启用", "color": "green"}, {"text": "]"}]] +tellraw @s[tag=fzsd.ignore_phantom_warning] [{"text": "幻翼预警:"}, [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "点击启用"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set 4001"}}, {"text": "已关闭", "color": "red"}, {"text": "]"}]] 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 index 29bc45f..23b6716 100644 --- a/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/damage_taken.mcfunction +++ b/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/damage_taken.mcfunction @@ -1,4 +1,4 @@ -team join fzsd.module.scoreboard.display.damage_taken 总受伤害量 +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 +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 index 25d9f80..9d9ff00 100644 --- a/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/death_count.mcfunction +++ b/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/death_count.mcfunction @@ -1,4 +1,4 @@ -team join fzsd.module.scoreboard.display.death_count 总死亡次数 +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 +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 index 71b402c..02511ab 100644 --- a/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/dig_count.mcfunction +++ b/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/dig_count.mcfunction @@ -1,4 +1,4 @@ -team join fzsd.module.scoreboard.display.dig_count 总挖掘量 +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 +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/placement_count.mcfunction b/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/placement_count.mcfunction index 4165b3b..77307f4 100644 --- a/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/placement_count.mcfunction +++ b/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/placement_count.mcfunction @@ -1,4 +1,4 @@ -team join fzsd.module.scoreboard.display.placement_count 总方块放置数 +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 +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 index 3b5da10..de22426 100644 --- a/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/trade_count.mcfunction +++ b/data/fzsd/functions/module/scoreboard/assign/scoreboard/general/trade_count.mcfunction @@ -1,4 +1,4 @@ -team join fzsd.module.scoreboard.display.trade_count 总交易量 +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 +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/clear_data.mcfunction b/data/fzsd/functions/module/scoreboard/clear_data.mcfunction index f38e604..00e52a4 100644 --- a/data/fzsd/functions/module/scoreboard/clear_data.mcfunction +++ b/data/fzsd/functions/module/scoreboard/clear_data.mcfunction @@ -1,7 +1,7 @@ # 调用者:#fzsd:module/scoreboard/clear_data ## 删除计分板 -### 总榜 +### 总览 scoreboard objectives remove fzsd.module.scoreboard.assign.general scoreboard objectives remove fzsd.module.scoreboard.display.general ### 活跃度 @@ -24,7 +24,7 @@ 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 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 index abb7127..ee9c597 100644 --- a/data/fzsd/functions/module/scoreboard/display/carousel/set_display/activation.mcfunction +++ b/data/fzsd/functions/module/scoreboard/display/carousel/set_display/activation.mcfunction @@ -4,7 +4,7 @@ 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 6 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": "计分板"}] +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.scoreboard.text.activation", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 run return 6 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 @@ -24,4 +24,4 @@ execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer mat 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 +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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.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 index b56404c..b6e829f 100644 --- 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 @@ -3,7 +3,7 @@ ## 判断颜色代码,见: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 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 6 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": "计分板"}] +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.scoreboard.text.aviating_distance", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 run return 6 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 @@ -23,4 +23,4 @@ execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer mat 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 +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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.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 index db3bc9a..3cad4a4 100644 --- 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 @@ -3,7 +3,7 @@ ## 判断颜色代码,见: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 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 6 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": "计分板"}] +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.scoreboard.text.damage_taken", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 run return 6 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 @@ -23,4 +23,4 @@ execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer mat 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 +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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.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 index 69e76a8..04f7c56 100644 --- 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 @@ -3,7 +3,7 @@ ## 判断颜色代码,见: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 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 6 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": "计分板"}] +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.scoreboard.text.death_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 run return 6 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 @@ -23,4 +23,4 @@ execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer mat 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 +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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.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 index e77a8fd..d64a993 100644 --- 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 @@ -3,7 +3,7 @@ ## 判断颜色代码,见: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 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 6 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": "计分板"}] +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.scoreboard.text.dig_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 run return 6 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 @@ -23,4 +23,4 @@ execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer mat 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 +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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.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 index 40ca5d1..34ecc64 100644 --- 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 @@ -3,7 +3,7 @@ ## 判断颜色代码,见: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 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 6 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": "计分板"}] +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.scoreboard.text.fishing_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 run return 6 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 @@ -23,4 +23,4 @@ execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer mat 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 +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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.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 index c7457d9..1d72ed9 100644 --- a/data/fzsd/functions/module/scoreboard/display/carousel/set_display/general.mcfunction +++ b/data/fzsd/functions/module/scoreboard/display/carousel/set_display/general.mcfunction @@ -3,7 +3,7 @@ ## 判断颜色代码,见: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 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 6 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": "计分板"}] +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.scoreboard.text.general", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 run return 6 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 @@ -23,4 +23,4 @@ execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer mat 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 +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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.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 index 7c6a09d..003c0a1 100644 --- 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 @@ -3,7 +3,7 @@ ## 判断颜色代码,见: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 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 6 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": "计分板"}] +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.scoreboard.text.kill_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 run return 6 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 @@ -23,4 +23,4 @@ execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer mat 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 +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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.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 index ab31354..8774f7e 100644 --- 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 @@ -3,7 +3,7 @@ ## 判断颜色代码,见: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 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 6 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": "计分板"}] +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.scoreboard.text.placement_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 run return 6 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 @@ -23,4 +23,4 @@ execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer mat 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 +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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.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 index 8718374..e66ee36 100644 --- 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 @@ -3,7 +3,7 @@ ## 判断颜色代码,见: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 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 6 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": "计分板"}] +execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.scoreboard.text.trade_count", "interpret": true, "storage": "fzsd:module"}, {"text": "计分板"}] execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer matches 6 run return 6 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 @@ -23,4 +23,4 @@ execute if score fzsd.module.scoreboard.carousel.color fzsd.variable.integer mat 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 +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.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "显示"}, {"nbt": "fzsd.module.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/register_id.mcfunction b/data/fzsd/functions/module/scoreboard/display/register_id.mcfunction index 0362932..a14dabc 100644 --- a/data/fzsd/functions/module/scoreboard/display/register_id.mcfunction +++ b/data/fzsd/functions/module/scoreboard/display/register_id.mcfunction @@ -1,59 +1,59 @@ -#### 注册总榜计分板id +#### 注册总览计分板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 ##### 日志 -execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册"}, {"nbt": "fzsd.scoreboard.text.general", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.general", "objective": "fzsd.variable.integer"}}] +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册"}, {"nbt": "fzsd.module.scoreboard.text.general", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.general", "objective": "fzsd.variable.integer"}}] #### 注册活跃度计分板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 ##### 日志 -execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册"}, {"nbt": "fzsd.scoreboard.text.activation", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.activation", "objective": "fzsd.variable.integer"}}] +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册"}, {"nbt": "fzsd.module.scoreboard.text.activation", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.activation", "objective": "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 ##### 日志 -execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册"}, {"nbt": "fzsd.scoreboard.text.aviating_distance", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.aviating_distance", "objective": "fzsd.variable.integer"}}] +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册"}, {"nbt": "fzsd.module.scoreboard.text.aviating_distance", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.aviating_distance", "objective": "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 ##### 日志 -execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册"}, {"nbt": "fzsd.scoreboard.text.placement_count", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.damage_taken", "objective": "fzsd.variable.integer"}}] +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册"}, {"nbt": "fzsd.module.scoreboard.text.placement_count", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.damage_taken", "objective": "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 ##### 日志 -execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册"}, {"nbt": "fzsd.scoreboard.text.death_count", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.death_count", "objective": "fzsd.variable.integer"}}] +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册"}, {"nbt": "fzsd.module.scoreboard.text.death_count", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.death_count", "objective": "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 ##### 日志 -execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册"}, {"nbt": "fzsd.scoreboard.text.dig_count", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.dig_count", "objective": "fzsd.variable.integer"}}] +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册"}, {"nbt": "fzsd.module.scoreboard.text.dig_count", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.dig_count", "objective": "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 ##### 日志 -execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册"}, {"nbt": "fzsd.scoreboard.text.fishing_count", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.fishing_count", "objective": "fzsd.variable.integer"}}] +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册"}, {"nbt": "fzsd.module.scoreboard.text.fishing_count", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.fishing_count", "objective": "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 ##### 日志 -execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册击"}, {"nbt": "fzsd.scoreboard.text.kill_count", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.kill_count", "objective": "fzsd.variable.integer"}}] +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册击"}, {"nbt": "fzsd.module.scoreboard.text.kill_count", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.kill_count", "objective": "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 ##### 日志 -execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册"}, {"nbt": "fzsd.scoreboard.text.trade_count", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.trade_count", "objective": "fzsd.variable.integer"}}] +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册"}, {"nbt": "fzsd.module.scoreboard.text.trade_count", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.trade_count", "objective": "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 ##### 日志 -execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册"}, {"nbt": "fzsd.scoreboard.text.placement_count", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.placement_count", "objective": "fzsd.variable.integer"}}] +execute if score fzsd.logger.level fzsd.variable.integer matches ..400 run tellraw @a [{"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "注册"}, {"nbt": "fzsd.module.scoreboard.text.placement_count", "interpret": true, "storage": "fzsd:module"}, {"text": "id为:"}, {"score": {"name": "fzsd.module.scoreboard.display.id.placement_count", "objective": "fzsd.variable.integer"}}] 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 index a852806..688fbb1 100644 --- a/data/fzsd/functions/module/scoreboard/display/set_text/activation/aqua.mcfunction +++ b/data/fzsd/functions/module/scoreboard/display/set_text/activation/aqua.mcfunction @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/activation -data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "aqua"}' +data modify storage fzsd:module fzsd.module.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 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 index 23f2d38..1eb4d03 100644 --- a/data/fzsd/functions/module/scoreboard/display/set_text/activation/black.mcfunction +++ b/data/fzsd/functions/module/scoreboard/display/set_text/activation/black.mcfunction @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/activation -data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "black"}' +data modify storage fzsd:module fzsd.module.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 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 index e00b4da..31a0cd7 100644 --- a/data/fzsd/functions/module/scoreboard/display/set_text/activation/blue.mcfunction +++ b/data/fzsd/functions/module/scoreboard/display/set_text/activation/blue.mcfunction @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/activation -data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "blue"}' +data modify storage fzsd:module fzsd.module.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 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 index ce7d6a2..e2c812f 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/activation -data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "dark_aqua"}' +data modify storage fzsd:module fzsd.module.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 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 index e95ed98..365429a 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/activation -data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "dark_blue"}' +data modify storage fzsd:module fzsd.module.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 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 index be9aa5d..49bd6c3 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/activation -data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "dark_gray"}' +data modify storage fzsd:module fzsd.module.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 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 index 1994a7c..4745e13 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/activation -data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "dark_green"}' +data modify storage fzsd:module fzsd.module.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 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 index 837cafb..fd471b1 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/activation -data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "dark_purple"}' +data modify storage fzsd:module fzsd.module.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 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 index 2b62fa2..cd92a48 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/activation -data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "dark_red"}' +data modify storage fzsd:module fzsd.module.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 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 index 45d2190..443eeee 100644 --- a/data/fzsd/functions/module/scoreboard/display/set_text/activation/gold.mcfunction +++ b/data/fzsd/functions/module/scoreboard/display/set_text/activation/gold.mcfunction @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/activation -data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "gold"}' +data modify storage fzsd:module fzsd.module.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 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 index af98eb5..1179f4b 100644 --- a/data/fzsd/functions/module/scoreboard/display/set_text/activation/gray.mcfunction +++ b/data/fzsd/functions/module/scoreboard/display/set_text/activation/gray.mcfunction @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/activation -data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "gray"}' +data modify storage fzsd:module fzsd.module.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 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 index f9a1d1a..d2b8dc6 100644 --- a/data/fzsd/functions/module/scoreboard/display/set_text/activation/green.mcfunction +++ b/data/fzsd/functions/module/scoreboard/display/set_text/activation/green.mcfunction @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/activation -data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "green"}' +data modify storage fzsd:module fzsd.module.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 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 index 3929da8..782c85f 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/activation -data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "light_purple"}' +data modify storage fzsd:module fzsd.module.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 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 index 5b7b9bc..c3caa00 100644 --- a/data/fzsd/functions/module/scoreboard/display/set_text/activation/red.mcfunction +++ b/data/fzsd/functions/module/scoreboard/display/set_text/activation/red.mcfunction @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/activation -data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "red"}' +data modify storage fzsd:module fzsd.module.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 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 index 9b13270..984a979 100644 --- a/data/fzsd/functions/module/scoreboard/display/set_text/activation/white.mcfunction +++ b/data/fzsd/functions/module/scoreboard/display/set_text/activation/white.mcfunction @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/activation -data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "white"}' +data modify storage fzsd:module fzsd.module.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 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 index 54854d3..bbe5b6c 100644 --- a/data/fzsd/functions/module/scoreboard/display/set_text/activation/yellow.mcfunction +++ b/data/fzsd/functions/module/scoreboard/display/set_text/activation/yellow.mcfunction @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/activation -data modify storage fzsd:module fzsd.scoreboard.text.activation set value '{"text": "活跃时间(h)", "color": "yellow"}' +data modify storage fzsd:module fzsd.module.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 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 index 4ff1c72..aa87947 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance -data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "aqua"}' +data modify storage fzsd:module fzsd.module.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 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 index 1dc7fed..72192af 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance -data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "black"}' +data modify storage fzsd:module fzsd.module.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 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 index d41a9cf..f53cad9 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance -data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "blue"}' +data modify storage fzsd:module fzsd.module.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 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 index e3e95b8..cdaa146 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance -data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "dark_aqua"}' +data modify storage fzsd:module fzsd.module.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 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 index 1f8b847..df2e38c 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance -data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "dark_blue"}' +data modify storage fzsd:module fzsd.module.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 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 index 0e45065..2e389cf 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance -data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "dark_gray"}' +data modify storage fzsd:module fzsd.module.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 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 index 036f374..acdf50c 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance -data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "dark_green"}' +data modify storage fzsd:module fzsd.module.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 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 index e8b8a1e..52f8552 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance -data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "dark_purple"}' +data modify storage fzsd:module fzsd.module.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 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 index 221a101..8e6173f 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance -data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "dark_red"}' +data modify storage fzsd:module fzsd.module.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 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 index 056fd26..650d9af 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance -data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "gold"}' +data modify storage fzsd:module fzsd.module.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 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 index f451892..b0fe7aa 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance -data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "gray"}' +data modify storage fzsd:module fzsd.module.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 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 index aaa227d..9e6bd52 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance -data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "green"}' +data modify storage fzsd:module fzsd.module.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 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 index 2cb2970..112e056 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance -data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "light_purple"}' +data modify storage fzsd:module fzsd.module.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 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 index f3d1da0..fdbf6a0 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance -data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "red"}' +data modify storage fzsd:module fzsd.module.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 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 index c677446..c5d8847 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance -data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "white"}' +data modify storage fzsd:module fzsd.module.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 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 index 0ea6f4a..11e9073 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/aviating_distance -data modify storage fzsd:module fzsd.scoreboard.text.aviating_distance set value '{"text": "飞行距离", "color": "yellow"}' +data modify storage fzsd:module fzsd.module.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 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 index 8f25f4d..d5ff537 100644 --- a/data/fzsd/functions/module/scoreboard/display/set_text/carousel/aqua.mcfunction +++ b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/aqua.mcfunction @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/carousel -data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "aqua"}' +data modify storage fzsd:module fzsd.module.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 index c5ce129..bae05c4 100644 --- a/data/fzsd/functions/module/scoreboard/display/set_text/carousel/black.mcfunction +++ b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/black.mcfunction @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/carousel -data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "black"}' +data modify storage fzsd:module fzsd.module.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 index f6587e8..765759f 100644 --- a/data/fzsd/functions/module/scoreboard/display/set_text/carousel/blue.mcfunction +++ b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/blue.mcfunction @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/carousel -data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "blue"}' +data modify storage fzsd:module fzsd.module.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 index dd7df03..058cf2e 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/carousel -data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "dark_aqua"}' +data modify storage fzsd:module fzsd.module.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 index fbae6ea..d036058 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/carousel -data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "dark_blue"}' +data modify storage fzsd:module fzsd.module.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 index 4ba05df..5335c07 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/carousel -data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "dark_gray"}' +data modify storage fzsd:module fzsd.module.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 index aa26b70..3523999 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/carousel -data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "dark_green"}' +data modify storage fzsd:module fzsd.module.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 index a942bcd..980644b 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/carousel -data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "dark_purple"}' +data modify storage fzsd:module fzsd.module.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 index 75d3ae5..67681a2 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/carousel -data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "dark_red"}' +data modify storage fzsd:module fzsd.module.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 index 7f5027c..76fd757 100644 --- a/data/fzsd/functions/module/scoreboard/display/set_text/carousel/gold.mcfunction +++ b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/gold.mcfunction @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/carousel -data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "gold"}' +data modify storage fzsd:module fzsd.module.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 index b277287..deabfde 100644 --- a/data/fzsd/functions/module/scoreboard/display/set_text/carousel/gray.mcfunction +++ b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/gray.mcfunction @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/carousel -data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "gray"}' +data modify storage fzsd:module fzsd.module.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 index 3193fb9..78dde49 100644 --- a/data/fzsd/functions/module/scoreboard/display/set_text/carousel/green.mcfunction +++ b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/green.mcfunction @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/carousel -data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "green"}' +data modify storage fzsd:module fzsd.module.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 index d85a879..a18be54 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/carousel -data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "light_purple"}' +data modify storage fzsd:module fzsd.module.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 index 33fdbee..96cf759 100644 --- a/data/fzsd/functions/module/scoreboard/display/set_text/carousel/red.mcfunction +++ b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/red.mcfunction @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/carousel -data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "red"}' +data modify storage fzsd:module fzsd.module.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 index 09b799c..262280f 100644 --- a/data/fzsd/functions/module/scoreboard/display/set_text/carousel/white.mcfunction +++ b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/white.mcfunction @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/carousel -data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "white"}' +data modify storage fzsd:module fzsd.module.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 index 77c5faa..4b93ee4 100644 --- a/data/fzsd/functions/module/scoreboard/display/set_text/carousel/yellow.mcfunction +++ b/data/fzsd/functions/module/scoreboard/display/set_text/carousel/yellow.mcfunction @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/carousel -data modify storage fzsd:module fzsd.scoreboard.text.carousel set value '{"text": "轮播", "color": "yellow"}' +data modify storage fzsd:module fzsd.module.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 index 803fda8..8f3d3e6 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/damage_taken -data modify storage fzsd:module fzsd.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "aqua"}' +data modify storage fzsd:module fzsd.module.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 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 index 7611c4e..b3a868f 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/damage_taken -data modify storage fzsd:module fzsd.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "black"}' +data modify storage fzsd:module fzsd.module.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 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 index b5467e8..8b5c305 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/damage_taken -data modify storage fzsd:module fzsd.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "blue"}' +data modify storage fzsd:module fzsd.module.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 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 index c1a9e40..9f8ef69 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#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"}' +data modify storage fzsd:module fzsd.module.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 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 index f9b0344..8615125 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#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"}' +data modify storage fzsd:module fzsd.module.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 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 index 6c740f5..108914b 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#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"}' +data modify storage fzsd:module fzsd.module.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 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 index 4cee1b2..6ed2a4a 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#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"}' +data modify storage fzsd:module fzsd.module.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 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 index bc2ae45..7279aea 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#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"}' +data modify storage fzsd:module fzsd.module.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 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 index a71d93e..fbc8cf7 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#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"}' +data modify storage fzsd:module fzsd.module.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 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 index faaec43..5354ccf 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/damage_taken -data modify storage fzsd:module fzsd.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "gold"}' +data modify storage fzsd:module fzsd.module.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 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 index 617d0c7..c7cc801 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/damage_taken -data modify storage fzsd:module fzsd.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "gray"}' +data modify storage fzsd:module fzsd.module.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 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 index 17c91b1..00e16f6 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/damage_taken -data modify storage fzsd:module fzsd.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "green"}' +data modify storage fzsd:module fzsd.module.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 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 index 37eea31..5f29db7 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#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"}' +data modify storage fzsd:module fzsd.module.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 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 index 84355b4..62cf5ba 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/damage_taken -data modify storage fzsd:module fzsd.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "red"}' +data modify storage fzsd:module fzsd.module.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 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 index 8c2334a..c1c490a 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/damage_taken -data modify storage fzsd:module fzsd.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "white"}' +data modify storage fzsd:module fzsd.module.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 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 index 6319e28..76c703b 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/damage_taken -data modify storage fzsd:module fzsd.scoreboard.text.damage_taken set value '{"text": "抖M榜", "color": "yellow"}' +data modify storage fzsd:module fzsd.module.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 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 index 0ebfcce..32dab77 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/death_count -data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "aqua"}' +data modify storage fzsd:module fzsd.module.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 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 index 55ae643..9019e9c 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/death_count -data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "black"}' +data modify storage fzsd:module fzsd.module.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 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 index 8f0dde5..e0fb8dc 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/death_count -data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "blue"}' +data modify storage fzsd:module fzsd.module.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 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 index 009463a..85113a6 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/death_count -data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "dark_aqua"}' +data modify storage fzsd:module fzsd.module.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 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 index 6632f2f..58ef0e0 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/death_count -data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "dark_blue"}' +data modify storage fzsd:module fzsd.module.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 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 index 9879137..b045731 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/death_count -data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "dark_gray"}' +data modify storage fzsd:module fzsd.module.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 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 index d886edd..f5f736f 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/death_count -data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "dark_green"}' +data modify storage fzsd:module fzsd.module.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 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 index cdb20dc..6a84f2f 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/death_count -data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "dark_purple"}' +data modify storage fzsd:module fzsd.module.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 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 index 9376836..03d49bc 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/death_count -data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "dark_red"}' +data modify storage fzsd:module fzsd.module.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 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 index bc288fe..2bcd0ec 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/death_count -data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "gold"}' +data modify storage fzsd:module fzsd.module.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 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 index 055d8b6..3289eaa 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/death_count -data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "gray"}' +data modify storage fzsd:module fzsd.module.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 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 index 678f3d9..5d6f264 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/death_count -data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "green"}' +data modify storage fzsd:module fzsd.module.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 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 index 9672957..885241a 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/death_count -data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "light_purple"}' +data modify storage fzsd:module fzsd.module.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 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 index 2acfe18..955f8e8 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/death_count -data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "red"}' +data modify storage fzsd:module fzsd.module.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 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 index 415911c..c3bb946 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/death_count -data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "white"}' +data modify storage fzsd:module fzsd.module.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 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 index e1705e1..c7f993a 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/death_count -data modify storage fzsd:module fzsd.scoreboard.text.death_count set value '{"text": "死亡榜", "color": "yellow"}' +data modify storage fzsd:module fzsd.module.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 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 index 9f09279..d3878dc 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/dig_count -data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "aqua"}' +data modify storage fzsd:module fzsd.module.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 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 index 381d8b9..9a1ad19 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/dig_count -data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "black"}' +data modify storage fzsd:module fzsd.module.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 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 index 29868f7..924c593 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/dig_count -data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "blue"}' +data modify storage fzsd:module fzsd.module.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 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 index 18c0761..7652730 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/dig_count -data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "dark_aqua"}' +data modify storage fzsd:module fzsd.module.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 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 index 0379e9f..78fc67f 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/dig_count -data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "dark_blue"}' +data modify storage fzsd:module fzsd.module.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 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 index e573161..99dbfea 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/dig_count -data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "dark_gray"}' +data modify storage fzsd:module fzsd.module.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 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 index 7611e7a..7523dd7 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/dig_count -data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "dark_green"}' +data modify storage fzsd:module fzsd.module.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 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 index ffbdee0..374e8df 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/dig_count -data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "dark_purple"}' +data modify storage fzsd:module fzsd.module.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 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 index a03d0ec..c3542ff 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/dig_count -data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "dark_red"}' +data modify storage fzsd:module fzsd.module.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 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 index c0172f4..ab2d2ee 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/dig_count -data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "gold"}' +data modify storage fzsd:module fzsd.module.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 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 index 5ab5bfb..960fdd2 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/dig_count -data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "gray"}' +data modify storage fzsd:module fzsd.module.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 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 index c35fc35..f9c89fe 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/dig_count -data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "green"}' +data modify storage fzsd:module fzsd.module.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 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 index 9d1440d..6876329 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/dig_count -data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "light_purple"}' +data modify storage fzsd:module fzsd.module.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 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 index 14967f4..1ea4903 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/dig_count -data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "red"}' +data modify storage fzsd:module fzsd.module.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 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 index 0dfbea9..27c1ee1 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/dig_count -data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "white"}' +data modify storage fzsd:module fzsd.module.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 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 index 24a0d41..d54aa74 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/dig_count -data modify storage fzsd:module fzsd.scoreboard.text.dig_count set value '{"text": "挖掘榜", "color": "yellow"}' +data modify storage fzsd:module fzsd.module.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 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 index 647d734..2d65e05 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count -data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "aqua"}' +data modify storage fzsd:module fzsd.module.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 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 index 4dd0b5c..5fe5013 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count -data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "black"}' +data modify storage fzsd:module fzsd.module.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 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 index 12ffb14..31ffd08 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count -data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "blue"}' +data modify storage fzsd:module fzsd.module.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 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 index 623124d..ac593b0 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count -data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "dark_aqua"}' +data modify storage fzsd:module fzsd.module.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 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 index a70bdac..4558aa9 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count -data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "dark_blue"}' +data modify storage fzsd:module fzsd.module.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 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 index 1fe57e4..27e44a0 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count -data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "dark_gray"}' +data modify storage fzsd:module fzsd.module.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 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 index f6ffc91..a693796 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count -data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "dark_green"}' +data modify storage fzsd:module fzsd.module.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 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 index 64e7679..7ca3426 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count -data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "dark_purple"}' +data modify storage fzsd:module fzsd.module.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 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 index 1bc733e..e051570 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count -data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "dark_red"}' +data modify storage fzsd:module fzsd.module.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 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 index b77694a..e180aea 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count -data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "gold"}' +data modify storage fzsd:module fzsd.module.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 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 index a883ee5..aabe935 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count -data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "gray"}' +data modify storage fzsd:module fzsd.module.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 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 index 2bb7c65..d4f9de7 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count -data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "green"}' +data modify storage fzsd:module fzsd.module.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 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 index a155b98..d279d8e 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count -data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "light_purple"}' +data modify storage fzsd:module fzsd.module.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 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 index 66fc2df..e8dc6bd 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count -data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "red"}' +data modify storage fzsd:module fzsd.module.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 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 index 06c9593..89dc527 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count -data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "white"}' +data modify storage fzsd:module fzsd.module.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 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 index 7535c8f..961b95f 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/fishing_count -data modify storage fzsd:module fzsd.scoreboard.text.fishing_count set value '{"text": "钓鱼榜", "color": "yellow"}' +data modify storage fzsd:module fzsd.module.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 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 index d7e394a..e4adbd3 100644 --- a/data/fzsd/functions/module/scoreboard/display/set_text/general/aqua.mcfunction +++ b/data/fzsd/functions/module/scoreboard/display/set_text/general/aqua.mcfunction @@ -1,7 +1,7 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/general -data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "aqua"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index 07a52a0..6a04712 100644 --- a/data/fzsd/functions/module/scoreboard/display/set_text/general/black.mcfunction +++ b/data/fzsd/functions/module/scoreboard/display/set_text/general/black.mcfunction @@ -1,7 +1,7 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/general -data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "black"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index fc89ff2..0e3bb8f 100644 --- a/data/fzsd/functions/module/scoreboard/display/set_text/general/blue.mcfunction +++ b/data/fzsd/functions/module/scoreboard/display/set_text/general/blue.mcfunction @@ -1,7 +1,7 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/general -data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "blue"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index 143cb07..cada99d 100644 --- 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 @@ -1,7 +1,7 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/general -data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "dark_aqua"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index 1a57962..586e0cd 100644 --- 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 @@ -1,7 +1,7 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/general -data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "dark_blue"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index 6c1ed71..a1a9d8f 100644 --- 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 @@ -1,7 +1,7 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/general -data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "dark_gray"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index 649d58f..187f8ce 100644 --- 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 @@ -1,7 +1,7 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/general -data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "dark_green"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index 9c63860..3939299 100644 --- 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 @@ -1,7 +1,7 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/general -data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "dark_purple"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index e8b78ec..edf97f1 100644 --- 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 @@ -1,7 +1,7 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/general -data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "dark_red"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index 7ab2f54..64356ef 100644 --- a/data/fzsd/functions/module/scoreboard/display/set_text/general/gold.mcfunction +++ b/data/fzsd/functions/module/scoreboard/display/set_text/general/gold.mcfunction @@ -1,7 +1,7 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/general -data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "gold"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index ee883a8..95e39b5 100644 --- a/data/fzsd/functions/module/scoreboard/display/set_text/general/gray.mcfunction +++ b/data/fzsd/functions/module/scoreboard/display/set_text/general/gray.mcfunction @@ -1,7 +1,7 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/general -data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "gray"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index ed42268..6fc6c08 100644 --- a/data/fzsd/functions/module/scoreboard/display/set_text/general/green.mcfunction +++ b/data/fzsd/functions/module/scoreboard/display/set_text/general/green.mcfunction @@ -1,7 +1,7 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/general -data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "green"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index 579d39d..47e3dc9 100644 --- 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 @@ -1,7 +1,7 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/general -data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "light_purple"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index 67c88f4..3a8051a 100644 --- a/data/fzsd/functions/module/scoreboard/display/set_text/general/red.mcfunction +++ b/data/fzsd/functions/module/scoreboard/display/set_text/general/red.mcfunction @@ -1,7 +1,7 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/general -data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "red"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index dbccf83..7e98131 100644 --- a/data/fzsd/functions/module/scoreboard/display/set_text/general/white.mcfunction +++ b/data/fzsd/functions/module/scoreboard/display/set_text/general/white.mcfunction @@ -1,7 +1,7 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/general -data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "white"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index 0a467d4..474c55c 100644 --- a/data/fzsd/functions/module/scoreboard/display/set_text/general/yellow.mcfunction +++ b/data/fzsd/functions/module/scoreboard/display/set_text/general/yellow.mcfunction @@ -1,7 +1,7 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/general -data modify storage fzsd:module fzsd.scoreboard.text.general set value '{"text": "总榜", "color": "yellow"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index 5315a90..a3c8eaa 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/kill_count -data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "aqua"}' +data modify storage fzsd:module fzsd.module.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 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 index 536074a..7b1ef39 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/kill_count -data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "black"}' +data modify storage fzsd:module fzsd.module.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 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 index 988bd8c..7c6d551 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/kill_count -data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "blue"}' +data modify storage fzsd:module fzsd.module.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 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 index afae5eb..012807b 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/kill_count -data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "dark_aqua"}' +data modify storage fzsd:module fzsd.module.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 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 index 8f28323..501caca 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/kill_count -data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "dark_blue"}' +data modify storage fzsd:module fzsd.module.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 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 index 4e36eaf..d3cb683 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/kill_count -data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "dark_gray"}' +data modify storage fzsd:module fzsd.module.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 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 index a7581f3..97262de 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/kill_count -data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "dark_green"}' +data modify storage fzsd:module fzsd.module.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 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 index 23937b1..844f790 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/kill_count -data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "dark_purple"}' +data modify storage fzsd:module fzsd.module.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 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 index 4bb5a83..6531857 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/kill_count -data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "dark_red"}' +data modify storage fzsd:module fzsd.module.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 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 index 2f27b92..edb4752 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/kill_count -data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "gold"}' +data modify storage fzsd:module fzsd.module.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 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 index 71b7353..b164136 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/kill_count -data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "gray"}' +data modify storage fzsd:module fzsd.module.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 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 index ee03077..9b8df2b 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/kill_count -data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "green"}' +data modify storage fzsd:module fzsd.module.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 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 index 1de7027..4510f17 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/kill_count -data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "light_purple"}' +data modify storage fzsd:module fzsd.module.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 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 index b18a0c8..e2674c2 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/kill_count -data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "red"}' +data modify storage fzsd:module fzsd.module.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 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 index 0717d27..94cf266 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/kill_count -data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "white"}' +data modify storage fzsd:module fzsd.module.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 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 index bbac8a1..b5d21bc 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/kill_count -data modify storage fzsd:module fzsd.scoreboard.text.kill_count set value '{"text": "击杀榜", "color": "yellow"}' +data modify storage fzsd:module fzsd.module.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 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 index 22c2aef..47de86f 100644 --- 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 @@ -1,7 +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"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index 1fba08d..cadd33a 100644 --- 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 @@ -1,7 +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"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index 1ea5d07..b3fb007 100644 --- 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 @@ -1,7 +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"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index c490cc1..5b06764 100644 --- 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 @@ -1,7 +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"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index 845e618..9da14d1 100644 --- 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 @@ -1,7 +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"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index 6b6ad14..16414d0 100644 --- 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 @@ -1,7 +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"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index fd792e4..54e7391 100644 --- 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 @@ -1,7 +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"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index 2b35662..8b4eb51 100644 --- 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 @@ -1,7 +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"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index 7ce5103..04faf80 100644 --- 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 @@ -1,7 +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"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index 6e01895..17e6287 100644 --- 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 @@ -1,7 +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"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index 2724906..89f78af 100644 --- 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 @@ -1,7 +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"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index 32e9066..da798f3 100644 --- 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 @@ -1,7 +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"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index 899d0e8..d4c2447 100644 --- 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 @@ -1,7 +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"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index d9827e0..7081c90 100644 --- 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 @@ -1,7 +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"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index 5b3fee2..fd913d3 100644 --- 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 @@ -1,7 +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"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index 4bf5f01..a1749cc 100644 --- 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 @@ -1,7 +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"}' +data modify storage fzsd:module fzsd.module.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"} +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 +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 index 281b959..99cc8dc 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/trade_count -data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "aqua"}' +data modify storage fzsd:module fzsd.module.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 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 index e4d8c96..0bb22da 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/trade_count -data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "black"}' +data modify storage fzsd:module fzsd.module.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 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 index df816a8..5571533 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/trade_count -data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "blue"}' +data modify storage fzsd:module fzsd.module.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 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 index 2060471..5c7cd94 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/trade_count -data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "dark_aqua"}' +data modify storage fzsd:module fzsd.module.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 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 index 963c156..bf4d51b 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/trade_count -data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "dark_blue"}' +data modify storage fzsd:module fzsd.module.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 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 index e440e33..8bc4a62 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/trade_count -data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "dark_gray"}' +data modify storage fzsd:module fzsd.module.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 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 index 8891664..cbe2a9e 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/trade_count -data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "dark_green"}' +data modify storage fzsd:module fzsd.module.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 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 index ae10de1..93a522c 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/trade_count -data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "dark_purple"}' +data modify storage fzsd:module fzsd.module.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 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 index 13ec343..c85e7cb 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/trade_count -data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "dark_red"}' +data modify storage fzsd:module fzsd.module.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 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 index e72abcc..d7d91e5 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/trade_count -data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "gold"}' +data modify storage fzsd:module fzsd.module.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 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 index a798fe3..79c91f4 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/trade_count -data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "gray"}' +data modify storage fzsd:module fzsd.module.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 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 index 2163882..b1efb0e 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/trade_count -data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "green"}' +data modify storage fzsd:module fzsd.module.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 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 index e8d1538..7a01610 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/trade_count -data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "light_purple"}' +data modify storage fzsd:module fzsd.module.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 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 index edb6311..21e30bb 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/trade_count -data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "red"}' +data modify storage fzsd:module fzsd.module.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 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 index 8367dc4..18b45bf 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/trade_count -data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "white"}' +data modify storage fzsd:module fzsd.module.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 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 index 45c5771..975eb6c 100644 --- 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 @@ -1,6 +1,6 @@ # 调用者:#fzsd:module/scoreboard/display/set_text/trade_count -data modify storage fzsd:module fzsd.scoreboard.text.trade_count set value '{"text": "交易榜", "color": "yellow"}' +data modify storage fzsd:module fzsd.module.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 diff --git a/data/fzsd/functions/module/scoreboard/install.mcfunction b/data/fzsd/functions/module/scoreboard/install.mcfunction index 034815e..32cbf4d 100644 --- a/data/fzsd/functions/module/scoreboard/install.mcfunction +++ b/data/fzsd/functions/module/scoreboard/install.mcfunction @@ -2,7 +2,7 @@ ## 源计分板 -### 总榜 +### 总览 scoreboard objectives add fzsd.module.scoreboard.assign.general dummy ## 轮播 @@ -11,7 +11,7 @@ team add fzsd.module.scoreboard.display.carousel ## 显示计分板 ###### 判据均为dummy,便于升级维护! -### 总榜 +### 总览 scoreboard objectives add fzsd.module.scoreboard.display.general dummy team add fzsd.module.scoreboard.display.general diff --git a/data/fzsd/functions/module/scoreboard/interactor/display.mcfunction b/data/fzsd/functions/module/scoreboard/interactor/display.mcfunction index b0778c2..33db53c 100644 --- a/data/fzsd/functions/module/scoreboard/interactor/display.mcfunction +++ b/data/fzsd/functions/module/scoreboard/interactor/display.mcfunction @@ -2,4 +2,6 @@ execute if data storage fzsd:install fzsd.module{scoreboard:1b} run tellraw @s {"text": "计分板:"} -execute if data storage fzsd:install 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": "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": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.scoreboard.text.placement_count", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1200"}}, {"nbt": "fzsd.scoreboard.text.placement_count", "interpret": true, "storage": "fzsd:module"}, {"text": "]"}]] \ No newline at end of file +execute if data storage fzsd:install fzsd.module{scoreboard:1b} run tellraw @s [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "contents": {"text": "查询我的分数", "color": "#F4A460"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1120"}}, {"text": "查询我的分数", "color": "#F4A460"}, {"text": "] "}] + +execute if data storage fzsd:install fzsd.module{scoreboard:1b} run tellraw @s [[{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "contents": {"text": "关", "color": "red"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1000"}}, {"text": "关", "color": "red"}, {"text": "] "}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1010"}}, {"nbt": "fzsd.module.scoreboard.text.carousel", "interpret": true, "storage": "fzsd:module"}, {"text": "] "}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.module.scoreboard.text.general", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1020"}}, {"nbt": "fzsd.module.scoreboard.text.general", "interpret": true, "storage": "fzsd:module"},{"text": "] "}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.module.scoreboard.text.activation", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1030"}}, {"nbt": "fzsd.module.scoreboard.text.activation", "interpret": true, "storage": "fzsd:module"},{"text": "] "}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.module.scoreboard.text.aviating_distance", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1040"}}, {"nbt": "fzsd.module.scoreboard.text.aviating_distance", "interpret": true, "storage": "fzsd:module"},{"text": "] "}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.module.scoreboard.text.damage_taken", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1050"}}, {"nbt": "fzsd.module.scoreboard.text.damage_taken", "interpret": true, "storage": "fzsd:module"},{"text": "] "}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.module.scoreboard.text.death_count", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1060"}}, {"nbt": "fzsd.module.scoreboard.text.death_count", "interpret": true, "storage": "fzsd:module"},{"text": "] "}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.module.scoreboard.text.dig_count", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1070"}}, {"nbt": "fzsd.module.scoreboard.text.dig_count", "interpret": true, "storage": "fzsd:module"},{"text": "] "}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.module.scoreboard.text.fishing_count", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1080"}}, {"nbt": "fzsd.module.scoreboard.text.fishing_count", "interpret": true, "storage": "fzsd:module"},{"text": "] "}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.module.scoreboard.text.kill_count", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1090"}}, {"nbt": "fzsd.module.scoreboard.text.kill_count", "interpret": true, "storage": "fzsd:module"},{"text": "] "}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.module.scoreboard.text.trade_count", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1100"}}, {"nbt": "fzsd.module.scoreboard.text.trade_count", "interpret": true, "storage": "fzsd:module"}, {"text": "] "}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fzsd.module.scoreboard.text.placement_count", "interpret": true, "storage": "fzsd:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -1110"}}, {"nbt": "fzsd.module.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/on_click.mcfunction b/data/fzsd/functions/module/scoreboard/interactor/on_click.mcfunction index 49d6308..851668f 100644 --- a/data/fzsd/functions/module/scoreboard/interactor/on_click.mcfunction +++ b/data/fzsd/functions/module/scoreboard/interactor/on_click.mcfunction @@ -9,4 +9,5 @@ execute if score @s fzsd.module.interactor.trigger matches -1070 run function #f 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 -execute if score @s fzsd.module.interactor.trigger matches -1200 run function #fzsd:module/scoreboard/interactor/subscribe/placement_count \ No newline at end of file +execute if score @s fzsd.module.interactor.trigger matches -1110 run function #fzsd:module/scoreboard/interactor/subscribe/placement_count +execute if score @s fzsd.module.interactor.trigger matches -1120 run function #fzsd:module/scoreboard/interactor/show_my_scores \ No newline at end of file diff --git a/data/fzsd/functions/module/scoreboard/interactor/show_my_scores.mcfunction b/data/fzsd/functions/module/scoreboard/interactor/show_my_scores.mcfunction new file mode 100644 index 0000000..8e204eb --- /dev/null +++ b/data/fzsd/functions/module/scoreboard/interactor/show_my_scores.mcfunction @@ -0,0 +1,9 @@ +execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"text": ""}, {"nbt": "fzsd.module.scoreboard.text.activation", "interpret": true, "storage": "fzsd:module"}, [{"text": ":"}, {"score": {"objective": "fzsd.module.scoreboard.display.activation", "name": "@s"}}]] +execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"text": ""}, {"nbt": "fzsd.module.scoreboard.text.aviating_distance", "interpret": true, "storage": "fzsd:module"}, [{"text": ":"}, {"score": {"objective": "fzsd.module.scoreboard.display.aviating_distance", "name": "@s"}}]] +execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"text": ""}, {"nbt": "fzsd.module.scoreboard.text.damage_taken", "interpret": true, "storage": "fzsd:module"}, [{"text": ":"}, {"score": {"objective": "fzsd.module.scoreboard.display.damage_taken", "name": "@s"}}]] +execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"text": ""}, {"nbt": "fzsd.module.scoreboard.text.death_count", "interpret": true, "storage": "fzsd:module"}, [{"text": ":"}, {"score": {"objective": "fzsd.module.scoreboard.display.death_count", "name": "@s"}}]] +execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"text": ""}, {"nbt": "fzsd.module.scoreboard.text.dig_count", "interpret": true, "storage": "fzsd:module"}, [{"text": ":"}, {"score": {"objective": "fzsd.module.scoreboard.display.dig_count", "name": "@s"}}]] +execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"text": ""}, {"nbt": "fzsd.module.scoreboard.text.fishing_count", "interpret": true, "storage": "fzsd:module"}, [{"text": ":"}, {"score": {"objective": "fzsd.module.scoreboard.display.fishing_count", "name": "@s"}}]] +execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"text": ""}, {"nbt": "fzsd.module.scoreboard.text.kill_count", "interpret": true, "storage": "fzsd:module"}, [{"text": ":"}, {"score": {"objective": "fzsd.module.scoreboard.display.kill_count", "name": "@s"}}]] +execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"text": ""}, {"nbt": "fzsd.module.scoreboard.text.trade_count", "interpret": true, "storage": "fzsd:module"}, [{"text": ":"}, {"score": {"objective": "fzsd.module.scoreboard.display.trade_count", "name": "@s"}}]] +execute if score fzsd.logger.level fzsd.variable.integer matches ..500 run tellraw @a [{"text": ""}, {"nbt": "fzsd.module.scoreboard.text.placement_count", "interpret": true, "storage": "fzsd:module"}, [{"text": ":"}, {"score": {"objective": "fzsd.module.scoreboard.display.placement_count", "name": "@s"}}]] diff --git a/data/fzsd/functions/module/scoreboard/interactor/subscribe/activation.mcfunction b/data/fzsd/functions/module/scoreboard/interactor/subscribe/activation.mcfunction index 3147f6f..c8daa37 100644 --- a/data/fzsd/functions/module/scoreboard/interactor/subscribe/activation.mcfunction +++ b/data/fzsd/functions/module/scoreboard/interactor/subscribe/activation.mcfunction @@ -3,4 +3,4 @@ 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 +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.module.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 index 0f09d97..21e26a1 100644 --- a/data/fzsd/functions/module/scoreboard/interactor/subscribe/aviating_distance.mcfunction +++ b/data/fzsd/functions/module/scoreboard/interactor/subscribe/aviating_distance.mcfunction @@ -3,4 +3,4 @@ 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 +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.module.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 index 3988a23..94d5c74 100644 --- a/data/fzsd/functions/module/scoreboard/interactor/subscribe/carousel.mcfunction +++ b/data/fzsd/functions/module/scoreboard/interactor/subscribe/carousel.mcfunction @@ -3,4 +3,4 @@ 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 +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.module.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 index 92f30a3..4221f0f 100644 --- a/data/fzsd/functions/module/scoreboard/interactor/subscribe/damage_taken.mcfunction +++ b/data/fzsd/functions/module/scoreboard/interactor/subscribe/damage_taken.mcfunction @@ -3,4 +3,4 @@ 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 +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.module.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 index b10f5b3..7611871 100644 --- a/data/fzsd/functions/module/scoreboard/interactor/subscribe/death_count.mcfunction +++ b/data/fzsd/functions/module/scoreboard/interactor/subscribe/death_count.mcfunction @@ -3,4 +3,4 @@ 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 +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.module.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 index badf5e9..60b7bda 100644 --- a/data/fzsd/functions/module/scoreboard/interactor/subscribe/dig_count.mcfunction +++ b/data/fzsd/functions/module/scoreboard/interactor/subscribe/dig_count.mcfunction @@ -3,4 +3,4 @@ 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 +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.module.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 index 3d71e2b..c85fbc3 100644 --- a/data/fzsd/functions/module/scoreboard/interactor/subscribe/fishing_count.mcfunction +++ b/data/fzsd/functions/module/scoreboard/interactor/subscribe/fishing_count.mcfunction @@ -3,4 +3,4 @@ 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 +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.module.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 index cdb7ef0..3dc8113 100644 --- a/data/fzsd/functions/module/scoreboard/interactor/subscribe/general.mcfunction +++ b/data/fzsd/functions/module/scoreboard/interactor/subscribe/general.mcfunction @@ -3,4 +3,4 @@ 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 +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.module.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 index 40c7e62..58f5e2a 100644 --- a/data/fzsd/functions/module/scoreboard/interactor/subscribe/kill_count.mcfunction +++ b/data/fzsd/functions/module/scoreboard/interactor/subscribe/kill_count.mcfunction @@ -3,4 +3,4 @@ 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 +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.module.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/placement_count.mcfunction b/data/fzsd/functions/module/scoreboard/interactor/subscribe/placement_count.mcfunction index 24a78d6..573473f 100644 --- a/data/fzsd/functions/module/scoreboard/interactor/subscribe/placement_count.mcfunction +++ b/data/fzsd/functions/module/scoreboard/interactor/subscribe/placement_count.mcfunction @@ -3,4 +3,4 @@ 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 +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.module.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 index c438662..7cb0a79 100644 --- a/data/fzsd/functions/module/scoreboard/interactor/subscribe/trade_count.mcfunction +++ b/data/fzsd/functions/module/scoreboard/interactor/subscribe/trade_count.mcfunction @@ -3,4 +3,4 @@ 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 +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.module.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 index a39ad22..6991bf6 100644 --- a/data/fzsd/functions/module/scoreboard/load.mcfunction +++ b/data/fzsd/functions/module/scoreboard/load.mcfunction @@ -2,16 +2,16 @@ ## 调试 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 ..400 run tellraw @a [{"text": "", "color": "green"}, {"nbt": "fzsd.level.debug", "interpret": true, "storage": "fzsd:logger"}, {"text": "fzsd.module.scoreboard.display.placement_count - "}, {"nbt": "fzsd.scoreboard.text.placement_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.general - "}, {"nbt": "fzsd.module.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.module.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.module.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.module.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.module.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.module.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.module.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.module.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.module.scoreboard.text.trade_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.placement_count - "}, {"nbt": "fzsd.module.scoreboard.text.placement_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/fzsd/functions/module/sweeper/interactor/display_0.mcfunction b/data/fzsd/functions/module/sweeper/interactor/display_0.mcfunction index f1dd758..d3a307b 100644 --- a/data/fzsd/functions/module/sweeper/interactor/display_0.mcfunction +++ b/data/fzsd/functions/module/sweeper/interactor/display_0.mcfunction @@ -1,12 +1,12 @@ tellraw @s [{"text": "扫地机:"}] -tellraw @s[tag=!fzsd.ignore_sweeper_bossbar] [{"text": "- 血条栏:"}, [{"text": "[", "color": "gray", "hoverEvent": {"action": "show_text", "value": "点击关闭"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set 3400"}}, {"text": "已启用", "color": "green"}, {"text": "]", "color": "gray"}]] -tellraw @s[tag=fzsd.ignore_sweeper_bossbar] [{"text": "- 血条栏:"}, [{"text": "[", "color": "gray", "hoverEvent": {"action": "show_text", "value": "点击启用"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set 3401"}}, {"text": "已关闭", "color": "red"}, {"text": "]", "color": "gray"}]] +tellraw @s[tag=!fzsd.ignore_sweeper_bossbar] [{"text": "- 血条栏:"}, [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "点击关闭"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set 3400"}}, {"text": "已启用", "color": "green"}, {"text": "]"}]] +tellraw @s[tag=fzsd.ignore_sweeper_bossbar] [{"text": "- 血条栏:"}, [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "点击启用"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set 3401"}}, {"text": "已关闭", "color": "red"}, {"text": "]"}]] -tellraw @s[tag=!fzsd.ignore_sweeper_sound] [{"text": "- 音效:"}, [{"text": "[", "color": "gray", "hoverEvent": {"action": "show_text", "value": "点击关闭"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set 3500"}}, {"text": "已启用", "color": "green"}, {"text": "]", "color": "gray"}]] -tellraw @s[tag=fzsd.ignore_sweeper_sound] [{"text": "- 音效:"}, [{"text": "[", "color": "gray", "hoverEvent": {"action": "show_text", "value": "点击启用"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set 3501"}}, {"text": "已关闭", "color": "red"}, {"text": "]", "color": "gray"}]] +tellraw @s[tag=!fzsd.ignore_sweeper_sound] [{"text": "- 音效:"}, [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "点击关闭"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set 3500"}}, {"text": "已启用", "color": "green"}, {"text": "]"}]] +tellraw @s[tag=fzsd.ignore_sweeper_sound] [{"text": "- 音效:"}, [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "点击启用"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set 3501"}}, {"text": "已关闭", "color": "red"}, {"text": "]"}]] -tellraw @s[tag=!fzsd.ignore_sweeper_message] [{"text": "- 聊天栏:"}, [{"text": "[", "color": "gray", "hoverEvent": {"action": "show_text", "value": "点击关闭"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set 3600"}}, {"text": "已启用", "color": "green"}, {"text": "]", "color": "gray"}]] -tellraw @s[tag=fzsd.ignore_sweeper_message] [{"text": "- 聊天栏:"}, [{"text": "[", "color": "gray", "hoverEvent": {"action": "show_text", "value": "点击启用"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set 3601"}}, {"text": "已关闭", "color": "red"}, {"text": "]", "color": "gray"}]] +tellraw @s[tag=!fzsd.ignore_sweeper_message] [{"text": "- 聊天栏:"}, [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "点击关闭"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set 3600"}}, {"text": "已启用", "color": "green"}, {"text": "]"}]] +tellraw @s[tag=fzsd.ignore_sweeper_message] [{"text": "- 聊天栏:"}, [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "value": "点击启用"}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set 3601"}}, {"text": "已关闭", "color": "red"}, {"text": "]"}]] -tellraw @s [{"text": "- 开关:"}, [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "contents": {"text": "关", "color": "dark_red"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -3000"}}, {"text": "关", "color": "red"}, {"text": "]"}], [{"text": "[", "color": "gray", "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -3300"}}, {"text": "清理一次", "color": "aqua"}, {"text": "]", "color": "gray"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"text": "10s", "color": "#aa0000"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -3010"}}, {"text": "10s", "color": "#aa0000"}, {"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"text": "30s", "color": "#da7924"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -3030"}}, {"text": "30s", "color": "#da7924"}, {"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"text": "1min", "color": "#ffe34c"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -3060"}}, {"text": "1min", "color": "#ffe34c"}, {"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"text": "2min", "color": "#e3ff50"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -3120"}}, {"text": "2min", "color": "#e3ff50"}, {"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"text": "3min", "color": "#81d42c"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -3180"}}, {"text": "3min", "color": "#81d42c"}, {"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"text": "4min", "color": "#00aa00"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -3240"}}, {"text": "4min", "color": "#00aa00"}, {"text": "]"}]] \ No newline at end of file +tellraw @s [{"text": "- 开关:"}, [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "contents": {"text": "关", "color": "red"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -3000"}}, {"text": "关", "color": "red"}, {"text": "] "}], [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "contents": {"text": "清理一次", "color": "aqua"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -3300"}}, {"text": "清理一次", "color": "aqua"}, {"text": "] "}], [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "contents": {"text": "10s", "color": "#aa0000"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -3010"}}, {"text": "10s", "color": "#aa0000"}, {"text": "] "}], [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "contents": {"text": "30s", "color": "#da7924"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -3030"}}, {"text": "30s", "color": "#da7924"}, {"text": "] "}], [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "contents": {"text": "1min", "color": "#ffe34c"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -3060"}}, {"text": "1min", "color": "#ffe34c"}, {"text": "] "}], [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "contents": {"text": "2min", "color": "#e3ff50"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -3120"}}, {"text": "2min", "color": "#e3ff50"}, {"text": "] "}], [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "contents": {"text": "3min", "color": "#81d42c"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -3180"}}, {"text": "3min", "color": "#81d42c"}, {"text": "] "}], [{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "contents": {"text": "4min", "color": "#00aa00"}}, "clickEvent": {"action": "run_command", "value": "/trigger fzsd.module.interactor.trigger set -3240"}}, {"text": "4min", "color": "#00aa00"}, {"text": "]"}]] diff --git a/data/fzsd/functions/system/install/post.mcfunction b/data/fzsd/functions/system/install/post.mcfunction new file mode 100644 index 0000000..9e72e1e --- /dev/null +++ b/data/fzsd/functions/system/install/post.mcfunction @@ -0,0 +1,5 @@ +## 标记为已安装 +data modify storage fzsd:install 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/load/post.mcfunction b/data/fzsd/functions/system/load/post.mcfunction new file mode 100644 index 0000000..a0f7346 --- /dev/null +++ b/data/fzsd/functions/system/load/post.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/uninstall/post.mcfunction b/data/fzsd/functions/system/uninstall/post.mcfunction new file mode 100644 index 0000000..cdb836e --- /dev/null +++ b/data/fzsd/functions/system/uninstall/post.mcfunction @@ -0,0 +1,5 @@ +## 标记为已卸载 +data modify storage fzsd:install fzsd.global set value 0b + +## 日志 +tellraw @a [{"nbt": "fzsd.level.info", "interpret": true, "storage": "fzsd:logger"}, {"text": "卸载完成!"}] \ No newline at end of file diff --git a/data/fzsd/predicate/in_dimension_overworld.json b/data/fzsd/predicate/in_dimension_overworld.json new file mode 100644 index 0000000..ce7f9a2 --- /dev/null +++ b/data/fzsd/predicate/in_dimension_overworld.json @@ -0,0 +1,9 @@ +{ + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "location": { + "dimension": "minecraft:overworld" + } + } +} \ No newline at end of file diff --git a/data/fzsd/predicate/in_dimension_the_nether.json b/data/fzsd/predicate/in_dimension_the_nether.json new file mode 100644 index 0000000..545cdcd --- /dev/null +++ b/data/fzsd/predicate/in_dimension_the_nether.json @@ -0,0 +1,9 @@ +{ + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "location": { + "dimension": "minecraft:the_nether" + } + } +} \ No newline at end of file diff --git a/data/fzsd/predicate/is_fake_player.json b/data/fzsd/predicate/is_fake_player.json new file mode 100644 index 0000000..b0f390b --- /dev/null +++ b/data/fzsd/predicate/is_fake_player.json @@ -0,0 +1,7 @@ +{ + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "team": "fzsd.module.scoreboard.fake" + } +} \ No newline at end of file diff --git a/data/fzsd/predicate/is_real_player.json b/data/fzsd/predicate/is_real_player.json new file mode 100644 index 0000000..f8ebc9c --- /dev/null +++ b/data/fzsd/predicate/is_real_player.json @@ -0,0 +1,7 @@ +{ + "condition": "minecraft:inverted", + "term": { + "condition": "minecraft:reference", + "name": "fzsd:not_real_player" + } +} \ No newline at end of file diff --git a/data/fzsd/predicate/is_shadow_player.json b/data/fzsd/predicate/is_shadow_player.json new file mode 100644 index 0000000..e037631 --- /dev/null +++ b/data/fzsd/predicate/is_shadow_player.json @@ -0,0 +1,7 @@ +{ + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "team": "fzsd.module.scoreboard.shadow" + } +} \ No newline at end of file diff --git a/data/fzsd/predicate/not_real_player.json b/data/fzsd/predicate/not_real_player.json new file mode 100644 index 0000000..c18b150 --- /dev/null +++ b/data/fzsd/predicate/not_real_player.json @@ -0,0 +1,13 @@ +{ + "condition": "minecraft:any_of", + "terms": [ + { + "condition": "minecraft:reference", + "name": "fzsd:is_fake_player" + }, + { + "condition": "minecraft:reference", + "name": "fzsd:is_shadow_player" + } + ] +} \ No newline at end of file diff --git a/data/fzsd/predicate/sweeper/whitelist.json b/data/fzsd/predicate/sweeper/whitelist.json new file mode 100644 index 0000000..0285b5d --- /dev/null +++ b/data/fzsd/predicate/sweeper/whitelist.json @@ -0,0 +1,109 @@ +{ + "condition": "minecraft:any_of", + "terms": [ + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "type": "item", + "nbt": "{Item:{id:\"minecraft:minecart\"}}" + } + }, + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "type": "item", + "nbt": "{Item:{id:\"minecraft:hopper_minecart\"}}" + } + }, + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "type": "item", + "nbt": "{Item:{id:\"minecraft:chest_minecart\"}}" + } + }, + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "type": "item", + "nbt": "{Item:{id:\"minecraft:furnace_minecart\"}}" + } + }, + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "type": "item", + "nbt": "{Item:{id:\"minecraft:oak_boat\"}}" + } + }, + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "type": "item", + "nbt": "{Item:{id:\"minecraft:birch_boat\"}}" + } + }, + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "type": "item", + "nbt": "{Item:{id:\"minecraft:acacia_boat\"}}" + } + }, + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "type": "item", + "nbt": "{Item:{id:\"minecraft:cherry_boat\"}}" + } + }, + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "type": "item", + "nbt": "{Item:{id:\"minecraft:jungle_boat\"}}" + } + }, + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "type": "item", + "nbt": "{Item:{id:\"minecraft:spruce_boat\"}}" + } + }, + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "type": "item", + "nbt": "{Item:{id:\"minecraft:dark_oak_boat\"}}" + } + }, + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "type": "item", + "nbt": "{Item:{id:\"minecraft:mangrove_boat\"}}" + } + }, + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "type": "item", + "nbt": "{Item:{id:\"minecraft:bamboo_raft\"}}" + } + } + ] +} diff --git a/data/fzsd/predicate/used_tool.json b/data/fzsd/predicate/used_tool.json new file mode 100644 index 0000000..1a62526 --- /dev/null +++ b/data/fzsd/predicate/used_tool.json @@ -0,0 +1,284 @@ +{ + "condition": "minecraft:any_of", + "terms": [ + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.used_tool.diamond_axe": { + "min": 1 + } + } + }, + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.used_tool.diamond_hoe": { + "min": 1 + } + } + }, + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.used_tool.diamond_pickaxe": { + "min": 1 + } + } + }, + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.used_tool.diamond_shovel": { + "min": 1 + } + } + }, + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.used_tool.diamond_sword": { + "min": 1 + } + } + }, + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.used_tool.golden_axe": { + "min": 1 + } + } + }, + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.used_tool.golden_hoe": { + "min": 1 + } + } + }, + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.used_tool.golden_pickaxe": { + "min": 1 + } + } + }, + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.used_tool.golden_shovel": { + "min": 1 + } + } + }, + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.used_tool.golden_sword": { + "min": 1 + } + } + }, + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.used_tool.iron_axe": { + "min": 1 + } + } + }, + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.used_tool.iron_hoe": { + "min": 1 + } + } + }, + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.used_tool.iron_pickaxe": { + "min": 1 + } + } + }, + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.used_tool.iron_shovel": { + "min": 1 + } + } + }, + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.used_tool.iron_sword": { + "min": 1 + } + } + }, + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.used_tool.netherite_axe": { + "min": 1 + } + } + }, + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.used_tool.netherite_hoe": { + "min": 1 + } + } + }, + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.used_tool.netherite_pickaxe": { + "min": 1 + } + } + }, + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.used_tool.netherite_shovel": { + "min": 1 + } + } + }, + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.used_tool.netherite_sword": { + "min": 1 + } + } + }, + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.used_tool.shears": { + "min": 1 + } + } + }, + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.used_tool.stone_axe": { + "min": 1 + } + } + }, + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.used_tool.stone_hoe": { + "min": 1 + } + } + }, + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.used_tool.stone_pickaxe": { + "min": 1 + } + } + }, + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.used_tool.stone_shovel": { + "min": 1 + } + } + }, + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.used_tool.stone_sword": { + "min": 1 + } + } + }, + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.used_tool.wooden_axe": { + "min": 1 + } + } + }, + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.used_tool.wooden_hoe": { + "min": 1 + } + } + }, + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.used_tool.wooden_pickaxe": { + "min": 1 + } + } + }, + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.used_tool.wooden_shovel": { + "min": 1 + } + } + }, + { + "condition": "minecraft:entity_scores", + "entity": "this", + "scores": { + "fzsd.event.used_tool.wooden_sword": { + "min": 1 + } + } + } + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/block/liquid.json b/data/fzsd/tags/block/liquid.json new file mode 100644 index 0000000..43ed7cb --- /dev/null +++ b/data/fzsd/tags/block/liquid.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "minecraft:water", + "minecraft:lava" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/block/stripped_blocks.json b/data/fzsd/tags/block/stripped_blocks.json new file mode 100644 index 0000000..86c9557 --- /dev/null +++ b/data/fzsd/tags/block/stripped_blocks.json @@ -0,0 +1,25 @@ +{ + "replace": false, + "values": [ + "minecraft:stripped_acacia_log", + "minecraft:stripped_acacia_wood", + "minecraft:stripped_birch_log", + "minecraft:stripped_birch_wood", + "minecraft:stripped_crimson_hyphae", + "minecraft:stripped_crimson_stem", + "minecraft:stripped_dark_oak_log", + "minecraft:stripped_dark_oak_wood", + "minecraft:stripped_jungle_log", + "minecraft:stripped_jungle_wood", + "minecraft:stripped_oak_log", + "minecraft:stripped_oak_wood", + "minecraft:stripped_spruce_log", + "minecraft:stripped_spruce_wood", + "minecraft:stripped_warped_hyphae", + "minecraft:stripped_warped_stem", + "minecraft:stripped_cherry_log", + "minecraft:stripped_cherry_wood", + "minecraft:stripped_mangrove_log", + "minecraft:stripped_mangrove_wood" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/entity_type/ignore_on_player_killed_entity.json b/data/fzsd/tags/entity_type/ignore_on_player_killed_entity.json new file mode 100644 index 0000000..46e01c5 --- /dev/null +++ b/data/fzsd/tags/entity_type/ignore_on_player_killed_entity.json @@ -0,0 +1,13 @@ +{ + "replace": false, + "values": [ + "minecraft:armor_stand", + "minecraft:boat", + "minecraft:minecart", + "minecraft:shulker_bullet", + "minecraft:item_frame", + "minecraft:glow_item_frame", + "minecraft:painting", + "minecraft:end_crystal" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/system/load/after.json b/data/fzsd/tags/entity_type/shearable.json similarity index 58% rename from data/fzsd/tags/functions/system/load/after.json rename to data/fzsd/tags/entity_type/shearable.json index 7342c34..6f7fd6b 100644 --- a/data/fzsd/tags/functions/system/load/after.json +++ b/data/fzsd/tags/entity_type/shearable.json @@ -1,6 +1,6 @@ { "replace": false, "values": [ - "fzsd:system/load/after" + "minecraft:sheep" ] } \ No newline at end of file diff --git a/data/fzsd/tags/function/api/get_current_daytime.json b/data/fzsd/tags/function/api/get_current_daytime.json new file mode 100644 index 0000000..ea94533 --- /dev/null +++ b/data/fzsd/tags/function/api/get_current_daytime.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:api/get_current_daytime" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/api/get_current_gametime.json b/data/fzsd/tags/function/api/get_current_gametime.json new file mode 100644 index 0000000..5d34e09 --- /dev/null +++ b/data/fzsd/tags/function/api/get_current_gametime.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:api/get_current_gametime" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/api/get_dimension_name.json b/data/fzsd/tags/function/api/get_dimension_name.json new file mode 100644 index 0000000..4b69c89 --- /dev/null +++ b/data/fzsd/tags/function/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/function/api/get_dimension_name/minecraft/overworld.json b/data/fzsd/tags/function/api/get_dimension_name/minecraft/overworld.json new file mode 100644 index 0000000..6f97d3c --- /dev/null +++ b/data/fzsd/tags/function/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/function/api/get_dimension_name/minecraft/the_end.json b/data/fzsd/tags/function/api/get_dimension_name/minecraft/the_end.json new file mode 100644 index 0000000..1a8b468 --- /dev/null +++ b/data/fzsd/tags/function/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/function/api/get_dimension_name/minecraft/the_nether.json b/data/fzsd/tags/function/api/get_dimension_name/minecraft/the_nether.json new file mode 100644 index 0000000..568d8ac --- /dev/null +++ b/data/fzsd/tags/function/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/fzsd/tags/function/api/get_player_dimension.json b/data/fzsd/tags/function/api/get_player_dimension.json new file mode 100644 index 0000000..862c1d0 --- /dev/null +++ b/data/fzsd/tags/function/api/get_player_dimension.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:api/get_player_dimension" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/api/get_time_since_rest.json b/data/fzsd/tags/function/api/get_time_since_rest.json new file mode 100644 index 0000000..c336391 --- /dev/null +++ b/data/fzsd/tags/function/api/get_time_since_rest.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:api/get_time_since_rest" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/system/install/after.json b/data/fzsd/tags/function/api/install.json similarity index 56% rename from data/fzsd/tags/functions/system/install/after.json rename to data/fzsd/tags/function/api/install.json index fa5b18b..c9849a6 100644 --- a/data/fzsd/tags/functions/system/install/after.json +++ b/data/fzsd/tags/function/api/install.json @@ -1,6 +1,6 @@ { "replace": false, "values": [ - "fzsd:system/install/after" + "fzsd:api/install" ] } \ No newline at end of file diff --git a/data/fzsd/tags/function/api/uninstall.json b/data/fzsd/tags/function/api/uninstall.json new file mode 100644 index 0000000..e20ddcc --- /dev/null +++ b/data/fzsd/tags/function/api/uninstall.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:api/uninstall" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/calculation/highest_id_add_1.json b/data/fzsd/tags/function/calculation/highest_id_add_1.json new file mode 100644 index 0000000..0d2f172 --- /dev/null +++ b/data/fzsd/tags/function/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/function/deep_install.json b/data/fzsd/tags/function/deep_install.json new file mode 100644 index 0000000..dc9b999 --- /dev/null +++ b/data/fzsd/tags/function/deep_install.json @@ -0,0 +1,10 @@ +{ + "__comment": "本标签将强制安装所有模块", + "replace": false, + "values": [ + "#fzsd:system/install/pre", + "#fzsd:system/install/system", + "#fzsd:system/install/module/force", + "#fzsd:system/install/post" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/deep_reinstall.json b/data/fzsd/tags/function/deep_reinstall.json new file mode 100644 index 0000000..826d6b1 --- /dev/null +++ b/data/fzsd/tags/function/deep_reinstall.json @@ -0,0 +1,9 @@ +{ + "__comment": "本标签将强制重装所有模块", + "replace": false, + "values": [ + "#fzsd:deep_uninstall", + "#fzsd:deep_install", + "#fzsd:load" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/deep_uninstall.json b/data/fzsd/tags/function/deep_uninstall.json new file mode 100644 index 0000000..0446c70 --- /dev/null +++ b/data/fzsd/tags/function/deep_uninstall.json @@ -0,0 +1,10 @@ +{ + "__comment": "本标签将强制卸载所有模块", + "replace": false, + "values": [ + "#fzsd:system/uninstall/pre", + "#fzsd:system/uninstall/module", + "#fzsd:system/uninstall/system", + "#fzsd:system/uninstall/post" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/game_event/advancement/reset_advancements.json b/data/fzsd/tags/function/game_event/advancement/reset_advancements.json new file mode 100644 index 0000000..4909996 --- /dev/null +++ b/data/fzsd/tags/function/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/fzsd/tags/function/game_event/game/on_night.json b/data/fzsd/tags/function/game_event/game/on_night.json new file mode 100644 index 0000000..365d15d --- /dev/null +++ b/data/fzsd/tags/function/game_event/game/on_night.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "#fzsd:module/phantom_warning/event/on_night" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/game_event/install.json b/data/fzsd/tags/function/game_event/install.json new file mode 100644 index 0000000..27ec775 --- /dev/null +++ b/data/fzsd/tags/function/game_event/install.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:game_event/install" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/game_event/on_tick.json b/data/fzsd/tags/function/game_event/on_tick.json new file mode 100644 index 0000000..413e722 --- /dev/null +++ b/data/fzsd/tags/function/game_event/on_tick.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:game_event/game/on_night/on_tick" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/game_event/player/on_aviate_one_meter.json b/data/fzsd/tags/function/game_event/player/on_aviate_one_meter.json new file mode 100644 index 0000000..066489b --- /dev/null +++ b/data/fzsd/tags/function/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/function/game_event/player/on_broke_block_with_tool.json b/data/fzsd/tags/function/game_event/player/on_broke_block_with_tool.json new file mode 100644 index 0000000..d76ccdf --- /dev/null +++ b/data/fzsd/tags/function/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/function/game_event/player/on_broke_block_with_tool/calculate_dig_score.json b/data/fzsd/tags/function/game_event/player/on_broke_block_with_tool/calculate_dig_score.json new file mode 100644 index 0000000..a050418 --- /dev/null +++ b/data/fzsd/tags/function/game_event/player/on_broke_block_with_tool/calculate_dig_score.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:game_event/player/on_broke_block_with_tool/calculate_dig_score" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/game_event/player/on_dead.json b/data/fzsd/tags/function/game_event/player/on_dead.json new file mode 100644 index 0000000..a98eee5 --- /dev/null +++ b/data/fzsd/tags/function/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/function/game_event/player/on_entered_nether_portal.json b/data/fzsd/tags/function/game_event/player/on_entered_nether_portal.json new file mode 100644 index 0000000..7a09c06 --- /dev/null +++ b/data/fzsd/tags/function/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/function/game_event/player/on_fished.json b/data/fzsd/tags/function/game_event/player/on_fished.json new file mode 100644 index 0000000..9364527 --- /dev/null +++ b/data/fzsd/tags/function/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/fzsd/tags/functions/system/install/before.json b/data/fzsd/tags/function/game_event/player/on_hurt_entity_with_tools.json similarity index 100% rename from data/fzsd/tags/functions/system/install/before.json rename to data/fzsd/tags/function/game_event/player/on_hurt_entity_with_tools.json diff --git a/data/fzsd/tags/function/game_event/player/on_killed_mob_or_player.json b/data/fzsd/tags/function/game_event/player/on_killed_mob_or_player.json new file mode 100644 index 0000000..f95a913 --- /dev/null +++ b/data/fzsd/tags/function/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/function/game_event/player/on_login.json b/data/fzsd/tags/function/game_event/player/on_login.json new file mode 100644 index 0000000..d3411ba --- /dev/null +++ b/data/fzsd/tags/function/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/function/game_event/player/on_piglin_trade.json b/data/fzsd/tags/function/game_event/player/on_piglin_trade.json new file mode 100644 index 0000000..9a10072 --- /dev/null +++ b/data/fzsd/tags/function/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/function/game_event/player/on_placed_block.json b/data/fzsd/tags/function/game_event/player/on_placed_block.json new file mode 100644 index 0000000..a1dc310 --- /dev/null +++ b/data/fzsd/tags/function/game_event/player/on_placed_block.json @@ -0,0 +1,5 @@ +{ + "replace": false, + "values": [ + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/game_event/player/on_placed_liquid.json b/data/fzsd/tags/function/game_event/player/on_placed_liquid.json new file mode 100644 index 0000000..a1dc310 --- /dev/null +++ b/data/fzsd/tags/function/game_event/player/on_placed_liquid.json @@ -0,0 +1,5 @@ +{ + "replace": false, + "values": [ + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/game_event/player/on_placed_solid.json b/data/fzsd/tags/function/game_event/player/on_placed_solid.json new file mode 100644 index 0000000..5210f29 --- /dev/null +++ b/data/fzsd/tags/function/game_event/player/on_placed_solid.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/function/game_event/player/on_play_one_hour.json b/data/fzsd/tags/function/game_event/player/on_play_one_hour.json new file mode 100644 index 0000000..8459e67 --- /dev/null +++ b/data/fzsd/tags/function/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/fzsd/tags/functions/system/load/before.json b/data/fzsd/tags/function/game_event/player/on_shears_used_on_entity.json similarity index 100% rename from data/fzsd/tags/functions/system/load/before.json rename to data/fzsd/tags/function/game_event/player/on_shears_used_on_entity.json diff --git a/data/fzsd/tags/functions/system/uninstall/before.json b/data/fzsd/tags/function/game_event/player/on_sleeping.json similarity index 100% rename from data/fzsd/tags/functions/system/uninstall/before.json rename to data/fzsd/tags/function/game_event/player/on_sleeping.json diff --git a/data/fzsd/tags/function/game_event/player/on_sneak.json b/data/fzsd/tags/function/game_event/player/on_sneak.json new file mode 100644 index 0000000..907e30b --- /dev/null +++ b/data/fzsd/tags/function/game_event/player/on_sneak.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/game_event/player/on_took_damage.json b/data/fzsd/tags/function/game_event/player/on_took_damage.json new file mode 100644 index 0000000..7cf64b6 --- /dev/null +++ b/data/fzsd/tags/function/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/fzsd/tags/function/game_event/player/on_tools_right_click_used.json b/data/fzsd/tags/function/game_event/player/on_tools_right_click_used.json new file mode 100644 index 0000000..907e30b --- /dev/null +++ b/data/fzsd/tags/function/game_event/player/on_tools_right_click_used.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/game_event/player/on_tools_used_on_block.json b/data/fzsd/tags/function/game_event/player/on_tools_used_on_block.json new file mode 100644 index 0000000..a1dc310 --- /dev/null +++ b/data/fzsd/tags/function/game_event/player/on_tools_used_on_block.json @@ -0,0 +1,5 @@ +{ + "replace": false, + "values": [ + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/game_event/player/on_unsneak.json b/data/fzsd/tags/function/game_event/player/on_unsneak.json new file mode 100644 index 0000000..e07d337 --- /dev/null +++ b/data/fzsd/tags/function/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/function/game_event/player/on_used_tool.json b/data/fzsd/tags/function/game_event/player/on_used_tool.json new file mode 100644 index 0000000..ce9eb56 --- /dev/null +++ b/data/fzsd/tags/function/game_event/player/on_used_tool.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "#fzsd:game_event/player/on_broke_block_with_tool/calculate_dig_score", + "fzsd:game_event/player/on_broke_block_with_tool/try_trigger" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/game_event/player/on_used_tool/reset_used_tool.json b/data/fzsd/tags/function/game_event/player/on_used_tool/reset_used_tool.json new file mode 100644 index 0000000..705614c --- /dev/null +++ b/data/fzsd/tags/function/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/function/game_event/player/on_villager_trade.json b/data/fzsd/tags/function/game_event/player/on_villager_trade.json new file mode 100644 index 0000000..9a10072 --- /dev/null +++ b/data/fzsd/tags/function/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/function/game_event/reset_all.json b/data/fzsd/tags/function/game_event/reset_all.json new file mode 100644 index 0000000..c1b23bd --- /dev/null +++ b/data/fzsd/tags/function/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/function/game_event/uninstall.json b/data/fzsd/tags/function/game_event/uninstall.json new file mode 100644 index 0000000..f2713ef --- /dev/null +++ b/data/fzsd/tags/function/game_event/uninstall.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:game_event/uninstall" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/install.json b/data/fzsd/tags/function/install.json new file mode 100644 index 0000000..2421f9b --- /dev/null +++ b/data/fzsd/tags/function/install.json @@ -0,0 +1,10 @@ +{ + "__comment": "本标签将尝试安装安装记录不为false的模块", + "replace": false, + "values": [ + "#fzsd:system/install/pre", + "#fzsd:system/install/system", + "#fzsd:system/install/module/try", + "#fzsd:system/install/post" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/load.json b/data/fzsd/tags/function/load.json new file mode 100644 index 0000000..bc3a4f8 --- /dev/null +++ b/data/fzsd/tags/function/load.json @@ -0,0 +1,10 @@ +{ + "__comment": "本标签将尝试加载安装记录为true的模块", + "replace": false, + "values": [ + "#fzsd:system/load/pre", + "#fzsd:system/load/system", + "#fzsd:system/load/module/try", + "#fzsd:system/load/post" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/logger/clear_data.json b/data/fzsd/tags/function/logger/clear_data.json new file mode 100644 index 0000000..9fba972 --- /dev/null +++ b/data/fzsd/tags/function/logger/clear_data.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:logger/clear_data" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/logger/install.json b/data/fzsd/tags/function/logger/install.json new file mode 100644 index 0000000..9d12fc6 --- /dev/null +++ b/data/fzsd/tags/function/logger/install.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:logger/install" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/logger/uninstall.json b/data/fzsd/tags/function/logger/uninstall.json new file mode 100644 index 0000000..62564b7 --- /dev/null +++ b/data/fzsd/tags/function/logger/uninstall.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:logger/uninstall" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/health/install.json b/data/fzsd/tags/function/module/health/install.json new file mode 100644 index 0000000..6e61403 --- /dev/null +++ b/data/fzsd/tags/function/module/health/install.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/health/install" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/health/load.json b/data/fzsd/tags/function/module/health/load.json new file mode 100644 index 0000000..f3c0d82 --- /dev/null +++ b/data/fzsd/tags/function/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/fzsd/tags/function/module/health/set_health_name.json b/data/fzsd/tags/function/module/health/set_health_name.json new file mode 100644 index 0000000..076eb23 --- /dev/null +++ b/data/fzsd/tags/function/module/health/set_health_name.json @@ -0,0 +1,9 @@ +{ + "__comment": "用于自定义血量单位", + "__comment_replace": "编写扩展数据包时必须为true", + "replace": false, + "__comment_values": "此处只能填写一个函数!", + "values": [ + "fzsd:module/health/set_health_name/default" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/health/uninstall.json b/data/fzsd/tags/function/module/health/uninstall.json new file mode 100644 index 0000000..1ac2c87 --- /dev/null +++ b/data/fzsd/tags/function/module/health/uninstall.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/health/uninstall" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/here/get_dimension_message.json b/data/fzsd/tags/function/module/here/get_dimension_message.json new file mode 100644 index 0000000..9c0f364 --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/here/get_message.json b/data/fzsd/tags/function/module/here/get_message.json new file mode 100644 index 0000000..8601c96 --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/here/global_message.json b/data/fzsd/tags/function/module/here/global_message.json new file mode 100644 index 0000000..2a76977 --- /dev/null +++ b/data/fzsd/tags/function/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/fzsd/tags/function/module/here/install.json b/data/fzsd/tags/function/module/here/install.json new file mode 100644 index 0000000..0efe1d0 --- /dev/null +++ b/data/fzsd/tags/function/module/here/install.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/here/install" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/here/interactor/display.json b/data/fzsd/tags/function/module/here/interactor/display.json new file mode 100644 index 0000000..032b9d4 --- /dev/null +++ b/data/fzsd/tags/function/module/here/interactor/display.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/here/interactor/display" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/here/interactor/on_click.json b/data/fzsd/tags/function/module/here/interactor/on_click.json new file mode 100644 index 0000000..31778a2 --- /dev/null +++ b/data/fzsd/tags/function/module/here/interactor/on_click.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/here/interactor/on_click" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/here/private_message.json b/data/fzsd/tags/function/module/here/private_message.json new file mode 100644 index 0000000..440181a --- /dev/null +++ b/data/fzsd/tags/function/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/fzsd/tags/function/module/here/uninstall.json b/data/fzsd/tags/function/module/here/uninstall.json new file mode 100644 index 0000000..0d4f548 --- /dev/null +++ b/data/fzsd/tags/function/module/here/uninstall.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/here/uninstall" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/interactor/event/on_click.json b/data/fzsd/tags/function/module/interactor/event/on_click.json new file mode 100644 index 0000000..0ee392c --- /dev/null +++ b/data/fzsd/tags/function/module/interactor/event/on_click.json @@ -0,0 +1,13 @@ +{ + "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", + "#fzsd:module/sweeper/interactor/on_click", + "#fzsd:module/phantom_warning/interactor/on_click" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/interactor/event/on_display.json b/data/fzsd/tags/function/module/interactor/event/on_display.json new file mode 100644 index 0000000..28e190e --- /dev/null +++ b/data/fzsd/tags/function/module/interactor/event/on_display.json @@ -0,0 +1,14 @@ +{ + "__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", + "#fzsd:module/sweeper/interactor/display", + "#fzsd:module/phantom_warning/interactor/display" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/interactor/event/on_start_interact.json b/data/fzsd/tags/function/module/interactor/event/on_start_interact.json new file mode 100644 index 0000000..a96258a --- /dev/null +++ b/data/fzsd/tags/function/module/interactor/event/on_start_interact.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "#fzsd:module/interactor/event/on_display", + "#fzsd:module/interactor/reset_trigger" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/interactor/event/reset_advancements.json b/data/fzsd/tags/function/module/interactor/event/reset_advancements.json new file mode 100644 index 0000000..bbab5d7 --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/interactor/install.json b/data/fzsd/tags/function/module/interactor/install.json new file mode 100644 index 0000000..56145f1 --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/interactor/load.json b/data/fzsd/tags/function/module/interactor/load.json new file mode 100644 index 0000000..980a65f --- /dev/null +++ b/data/fzsd/tags/function/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/fzsd/tags/function/module/interactor/reset_trigger.json b/data/fzsd/tags/function/module/interactor/reset_trigger.json new file mode 100644 index 0000000..05d6f51 --- /dev/null +++ b/data/fzsd/tags/function/module/interactor/reset_trigger.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/interactor/reset_trigger" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/interactor/uninstall.json b/data/fzsd/tags/function/module/interactor/uninstall.json new file mode 100644 index 0000000..1274fae --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/join_message/install.json b/data/fzsd/tags/function/module/join_message/install.json new file mode 100644 index 0000000..29de367 --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/join_message/send_message.json b/data/fzsd/tags/function/module/join_message/send_message.json new file mode 100644 index 0000000..d419905 --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/join_message/uninstall.json b/data/fzsd/tags/function/module/join_message/uninstall.json new file mode 100644 index 0000000..7c21298 --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/last_death/get_death_point.json b/data/fzsd/tags/function/module/last_death/get_death_point.json new file mode 100644 index 0000000..24036a5 --- /dev/null +++ b/data/fzsd/tags/function/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/fzsd/tags/function/module/last_death/install.json b/data/fzsd/tags/function/module/last_death/install.json new file mode 100644 index 0000000..03707ab --- /dev/null +++ b/data/fzsd/tags/function/module/last_death/install.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/last_death/install" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/last_death/interactor/display.json b/data/fzsd/tags/function/module/last_death/interactor/display.json new file mode 100644 index 0000000..6e2ff7c --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/last_death/interactor/on_click.json b/data/fzsd/tags/function/module/last_death/interactor/on_click.json new file mode 100644 index 0000000..6482ba3 --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/last_death/private_message.json b/data/fzsd/tags/function/module/last_death/private_message.json new file mode 100644 index 0000000..5151100 --- /dev/null +++ b/data/fzsd/tags/function/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/fzsd/tags/function/module/last_death/uninstall.json b/data/fzsd/tags/function/module/last_death/uninstall.json new file mode 100644 index 0000000..4f4c04b --- /dev/null +++ b/data/fzsd/tags/function/module/last_death/uninstall.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/last_death/uninstall" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/last_nether_portal/event/on_entered_nether_portal.json b/data/fzsd/tags/function/module/last_nether_portal/event/on_entered_nether_portal.json new file mode 100644 index 0000000..ab735f5 --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/last_nether_portal/get_message.json b/data/fzsd/tags/function/module/last_nether_portal/get_message.json new file mode 100644 index 0000000..a38db8d --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/last_nether_portal/global_message.json b/data/fzsd/tags/function/module/last_nether_portal/global_message.json new file mode 100644 index 0000000..df0dd1b --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/last_nether_portal/install.json b/data/fzsd/tags/function/module/last_nether_portal/install.json new file mode 100644 index 0000000..eeefc17 --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/last_nether_portal/interactor/display.json b/data/fzsd/tags/function/module/last_nether_portal/interactor/display.json new file mode 100644 index 0000000..0294dec --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/last_nether_portal/interactor/on_click.json b/data/fzsd/tags/function/module/last_nether_portal/interactor/on_click.json new file mode 100644 index 0000000..5d719b1 --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/last_nether_portal/private_message.json b/data/fzsd/tags/function/module/last_nether_portal/private_message.json new file mode 100644 index 0000000..9a89067 --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/last_nether_portal/uninstall.json b/data/fzsd/tags/function/module/last_nether_portal/uninstall.json new file mode 100644 index 0000000..6c4afe0 --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/last_spawn_point/get_spawn_point.json b/data/fzsd/tags/function/module/last_spawn_point/get_spawn_point.json new file mode 100644 index 0000000..b62d1fc --- /dev/null +++ b/data/fzsd/tags/function/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/fzsd/tags/function/module/last_spawn_point/install.json b/data/fzsd/tags/function/module/last_spawn_point/install.json new file mode 100644 index 0000000..c010035 --- /dev/null +++ b/data/fzsd/tags/function/module/last_spawn_point/install.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/last_spawn_point/install" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/last_spawn_point/interactor/display.json b/data/fzsd/tags/function/module/last_spawn_point/interactor/display.json new file mode 100644 index 0000000..acd02d8 --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/last_spawn_point/interactor/on_click.json b/data/fzsd/tags/function/module/last_spawn_point/interactor/on_click.json new file mode 100644 index 0000000..11e3bd2 --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/last_spawn_point/private_message.json b/data/fzsd/tags/function/module/last_spawn_point/private_message.json new file mode 100644 index 0000000..8e5171c --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/last_spawn_point/uninstall.json b/data/fzsd/tags/function/module/last_spawn_point/uninstall.json new file mode 100644 index 0000000..6bbd983 --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/phantom_warning/check_time_since_rest.json b/data/fzsd/tags/function/module/phantom_warning/check_time_since_rest.json new file mode 100644 index 0000000..4aff0ac --- /dev/null +++ b/data/fzsd/tags/function/module/phantom_warning/check_time_since_rest.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/phantom_warning/check_time_since_rest" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/phantom_warning/event/on_night.json b/data/fzsd/tags/function/module/phantom_warning/event/on_night.json new file mode 100644 index 0000000..e871e8e --- /dev/null +++ b/data/fzsd/tags/function/module/phantom_warning/event/on_night.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/phantom_warning/event/on_night" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/phantom_warning/install.json b/data/fzsd/tags/function/module/phantom_warning/install.json new file mode 100644 index 0000000..2358954 --- /dev/null +++ b/data/fzsd/tags/function/module/phantom_warning/install.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/phantom_warning/install" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/phantom_warning/interactor/display.json b/data/fzsd/tags/function/module/phantom_warning/interactor/display.json new file mode 100644 index 0000000..39bb8c6 --- /dev/null +++ b/data/fzsd/tags/function/module/phantom_warning/interactor/display.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/phantom_warning/interactor/display" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/phantom_warning/interactor/on_click.json b/data/fzsd/tags/function/module/phantom_warning/interactor/on_click.json new file mode 100644 index 0000000..e5739d1 --- /dev/null +++ b/data/fzsd/tags/function/module/phantom_warning/interactor/on_click.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/phantom_warning/interactor/on_click" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/phantom_warning/send_phantom_warning.json b/data/fzsd/tags/function/module/phantom_warning/send_phantom_warning.json new file mode 100644 index 0000000..23de180 --- /dev/null +++ b/data/fzsd/tags/function/module/phantom_warning/send_phantom_warning.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "__comment": "调用者:data/fzsd/functions/module/phantom_warning/check_time_since_rest.mcfunction", + "values": [ + "fzsd:module/phantom_warning/send_phantom_warning" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/phantom_warning/uninstall.json b/data/fzsd/tags/function/module/phantom_warning/uninstall.json new file mode 100644 index 0000000..a6d1d7a --- /dev/null +++ b/data/fzsd/tags/function/module/phantom_warning/uninstall.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/phantom_warning/uninstall" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/activation.json b/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/activation.json new file mode 100644 index 0000000..63e7adf --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/scoreboard/assign/scoreboard/aviating_distance.json b/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/aviating_distance.json new file mode 100644 index 0000000..191188c --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/scoreboard/assign/scoreboard/damage_taken.json b/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/damage_taken.json new file mode 100644 index 0000000..c239022 --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/scoreboard/assign/scoreboard/death_count.json b/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/death_count.json new file mode 100644 index 0000000..9f08b8c --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/scoreboard/assign/scoreboard/dig_count.json b/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/dig_count.json new file mode 100644 index 0000000..0f18813 --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/scoreboard/assign/scoreboard/fishing_count.json b/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/fishing_count.json new file mode 100644 index 0000000..4eaa039 --- /dev/null +++ b/data/fzsd/tags/function/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/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/activation.json b/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/activation.json new file mode 100644 index 0000000..885053b --- /dev/null +++ b/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/activation.json @@ -0,0 +1,8 @@ +{ + "__comment_replace": "编写扩展数据包时必须为true", + "replace": false, + "__comment_values": "此处只能填写一个函数!", + "values": [ + "fzsd:module/scoreboard/assign/scoreboard/general/activation" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/aviating_distance.json b/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/aviating_distance.json new file mode 100644 index 0000000..91d8fe9 --- /dev/null +++ b/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/aviating_distance.json @@ -0,0 +1,8 @@ +{ + "__comment_replace": "编写扩展数据包时必须为true", + "replace": false, + "__comment_values": "此处只能填写一个函数!", + "values": [ + "fzsd:module/scoreboard/assign/scoreboard/general/aviating_distance" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/bedrock_broke_count.json b/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/bedrock_broke_count.json new file mode 100644 index 0000000..e19c3a0 --- /dev/null +++ b/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/bedrock_broke_count.json @@ -0,0 +1,7 @@ +{ + "__comment": "用于兼容fzsd地毯脚本分数恢复功能", + "replace": false, + "values": [ + "fzsd.extra.bbl:assign/general" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/damage_taken.json b/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/damage_taken.json new file mode 100644 index 0000000..1103866 --- /dev/null +++ b/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/damage_taken.json @@ -0,0 +1,8 @@ +{ + "__comment_replace": "编写扩展数据包时必须为true", + "replace": false, + "__comment_values": "此处只能填写一个函数!", + "values": [ + "fzsd:module/scoreboard/assign/scoreboard/general/damage_taken" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/death_count.json b/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/death_count.json new file mode 100644 index 0000000..cc43ee2 --- /dev/null +++ b/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/death_count.json @@ -0,0 +1,8 @@ +{ + "__comment_replace": "编写扩展数据包时必须为true", + "replace": false, + "__comment_values": "此处只能填写一个函数!", + "values": [ + "fzsd:module/scoreboard/assign/scoreboard/general/death_count" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/dig_count.json b/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/dig_count.json new file mode 100644 index 0000000..b4cedf9 --- /dev/null +++ b/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/dig_count.json @@ -0,0 +1,8 @@ +{ + "__comment_replace": "编写扩展数据包时必须为true", + "replace": false, + "__comment_values": "此处只能填写一个函数!", + "values": [ + "fzsd:module/scoreboard/assign/scoreboard/general/dig_count" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/fishing_count.json b/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/fishing_count.json new file mode 100644 index 0000000..35d33a1 --- /dev/null +++ b/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/fishing_count.json @@ -0,0 +1,8 @@ +{ + "__comment_replace": "编写扩展数据包时必须为true", + "replace": false, + "__comment_values": "此处只能填写一个函数!", + "values": [ + "fzsd:module/scoreboard/assign/scoreboard/general/fishing_count" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/kill_count.json b/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/kill_count.json new file mode 100644 index 0000000..7407593 --- /dev/null +++ b/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/kill_count.json @@ -0,0 +1,8 @@ +{ + "__comment_replace": "编写扩展数据包时必须为true", + "replace": false, + "__comment_values": "此处只能填写一个函数!", + "values": [ + "fzsd:module/scoreboard/assign/scoreboard/general/kill_count" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/placement_count.json b/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/placement_count.json new file mode 100644 index 0000000..8fe5a34 --- /dev/null +++ b/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/placement_count.json @@ -0,0 +1,8 @@ +{ + "__comment_replace": "编写扩展数据包时必须为true", + "replace": false, + "__comment_values": "此处只能填写一个函数!", + "values": [ + "fzsd:module/scoreboard/assign/scoreboard/general/placement_count" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/trade_count.json b/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/trade_count.json new file mode 100644 index 0000000..b15cc20 --- /dev/null +++ b/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/general/trade_count.json @@ -0,0 +1,8 @@ +{ + "__comment_replace": "编写扩展数据包时必须为true", + "replace": false, + "__comment_values": "此处只能填写一个函数!", + "values": [ + "fzsd:module/scoreboard/assign/scoreboard/general/trade_count" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/kill_count.json b/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/kill_count.json new file mode 100644 index 0000000..d5a87b6 --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/scoreboard/assign/scoreboard/placement_count.json b/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/placement_count.json new file mode 100644 index 0000000..f3bdd3f --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/scoreboard/assign/scoreboard/trade_count.json b/data/fzsd/tags/function/module/scoreboard/assign/scoreboard/trade_count.json new file mode 100644 index 0000000..485e8ed --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/scoreboard/clear_data.json b/data/fzsd/tags/function/module/scoreboard/clear_data.json new file mode 100644 index 0000000..0e9ff18 --- /dev/null +++ b/data/fzsd/tags/function/module/scoreboard/clear_data.json @@ -0,0 +1,8 @@ +{ + "__comment": "调用者:fzsd:module:scoreboard/uninstall", + "replace": false, + "values": [ + "fzsd:module/scoreboard/clear_data", + "fzsd.extra.bbl:clear_data" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/scoreboard/display/carousel/try_display.json b/data/fzsd/tags/function/module/scoreboard/display/carousel/try_display.json new file mode 100644 index 0000000..a62ff32 --- /dev/null +++ b/data/fzsd/tags/function/module/scoreboard/display/carousel/try_display.json @@ -0,0 +1,16 @@ +{ + "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", + "fzsd.extra.bbl:display/carousel/try_display" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/scoreboard/display/register_id.json b/data/fzsd/tags/function/module/scoreboard/display/register_id.json new file mode 100644 index 0000000..084bfed --- /dev/null +++ b/data/fzsd/tags/function/module/scoreboard/display/register_id.json @@ -0,0 +1,12 @@ +{ + "__comments": [ + "调用者:fzsd:module/scoreboard/load", + "用于在加载注册计分板的运行时ID" + ], + "replace": false, + "values": [ + "fzsd:module/scoreboard/display/reset_id", + "fzsd:module/scoreboard/display/register_id", + "fzsd.extra.bbl:display/register_id" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/scoreboard/display/set_text.json b/data/fzsd/tags/function/module/scoreboard/display/set_text.json new file mode 100644 index 0000000..97d6d1e --- /dev/null +++ b/data/fzsd/tags/function/module/scoreboard/display/set_text.json @@ -0,0 +1,21 @@ +{ + "__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", + "#fzsd.extra.bbl:display/set_text" + ] +} diff --git a/data/fzsd/tags/function/module/scoreboard/display/set_text/activation.json b/data/fzsd/tags/function/module/scoreboard/display/set_text/activation.json new file mode 100644 index 0000000..4d1bbb2 --- /dev/null +++ b/data/fzsd/tags/function/module/scoreboard/display/set_text/activation.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/activation/aqua" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/scoreboard/display/set_text/aviating_distance.json b/data/fzsd/tags/function/module/scoreboard/display/set_text/aviating_distance.json new file mode 100644 index 0000000..de281dc --- /dev/null +++ b/data/fzsd/tags/function/module/scoreboard/display/set_text/aviating_distance.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/aviating_distance/light_purple" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/scoreboard/display/set_text/carousel.json b/data/fzsd/tags/function/module/scoreboard/display/set_text/carousel.json new file mode 100644 index 0000000..cf6569d --- /dev/null +++ b/data/fzsd/tags/function/module/scoreboard/display/set_text/carousel.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/carousel/gold" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/scoreboard/display/set_text/damage_taken.json b/data/fzsd/tags/function/module/scoreboard/display/set_text/damage_taken.json new file mode 100644 index 0000000..de3b00d --- /dev/null +++ b/data/fzsd/tags/function/module/scoreboard/display/set_text/damage_taken.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/damage_taken/yellow" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/scoreboard/display/set_text/death_count.json b/data/fzsd/tags/function/module/scoreboard/display/set_text/death_count.json new file mode 100644 index 0000000..5fc0668 --- /dev/null +++ b/data/fzsd/tags/function/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/fzsd/tags/function/module/scoreboard/display/set_text/dig_count.json b/data/fzsd/tags/function/module/scoreboard/display/set_text/dig_count.json new file mode 100644 index 0000000..05ccff9 --- /dev/null +++ b/data/fzsd/tags/function/module/scoreboard/display/set_text/dig_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/dig_count/gray" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/scoreboard/display/set_text/fishing_count.json b/data/fzsd/tags/function/module/scoreboard/display/set_text/fishing_count.json new file mode 100644 index 0000000..a6b3071 --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/scoreboard/display/set_text/general.json b/data/fzsd/tags/function/module/scoreboard/display/set_text/general.json new file mode 100644 index 0000000..cbd599a --- /dev/null +++ b/data/fzsd/tags/function/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/fzsd/tags/function/module/scoreboard/display/set_text/kill_count.json b/data/fzsd/tags/function/module/scoreboard/display/set_text/kill_count.json new file mode 100644 index 0000000..b87ffda --- /dev/null +++ b/data/fzsd/tags/function/module/scoreboard/display/set_text/kill_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/kill_count/red" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/scoreboard/display/set_text/placement_count.json b/data/fzsd/tags/function/module/scoreboard/display/set_text/placement_count.json new file mode 100644 index 0000000..3f55146 --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/scoreboard/display/set_text/trade_count.json b/data/fzsd/tags/function/module/scoreboard/display/set_text/trade_count.json new file mode 100644 index 0000000..54d1f97 --- /dev/null +++ b/data/fzsd/tags/function/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/dark_green" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/scoreboard/install.json b/data/fzsd/tags/function/module/scoreboard/install.json new file mode 100644 index 0000000..4089ac7 --- /dev/null +++ b/data/fzsd/tags/function/module/scoreboard/install.json @@ -0,0 +1,8 @@ +{ + "__comment": "调用者:#fzsd:module/install", + "replace": false, + "values": [ + "fzsd:module/scoreboard/install", + "fzsd.extra.bbl:install" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/scoreboard/interactor/display.json b/data/fzsd/tags/function/module/scoreboard/interactor/display.json new file mode 100644 index 0000000..2f6d63b --- /dev/null +++ b/data/fzsd/tags/function/module/scoreboard/interactor/display.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "fzsd:module/scoreboard/interactor/display", + "fzsd.extra.bbl:interactor/display" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/scoreboard/interactor/on_click.json b/data/fzsd/tags/function/module/scoreboard/interactor/on_click.json new file mode 100644 index 0000000..319383f --- /dev/null +++ b/data/fzsd/tags/function/module/scoreboard/interactor/on_click.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "fzsd:module/scoreboard/interactor/on_click", + "fzsd.extra.bbl:interactor/on_click" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/scoreboard/interactor/show_my_scores.json b/data/fzsd/tags/function/module/scoreboard/interactor/show_my_scores.json new file mode 100644 index 0000000..c2e0307 --- /dev/null +++ b/data/fzsd/tags/function/module/scoreboard/interactor/show_my_scores.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/scoreboard/interactor/show_my_scores" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/scoreboard/interactor/subscribe/activation.json b/data/fzsd/tags/function/module/scoreboard/interactor/subscribe/activation.json new file mode 100644 index 0000000..8150208 --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/scoreboard/interactor/subscribe/aviating_distance.json b/data/fzsd/tags/function/module/scoreboard/interactor/subscribe/aviating_distance.json new file mode 100644 index 0000000..6e50095 --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/scoreboard/interactor/subscribe/carousel.json b/data/fzsd/tags/function/module/scoreboard/interactor/subscribe/carousel.json new file mode 100644 index 0000000..7695336 --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/scoreboard/interactor/subscribe/damage_taken.json b/data/fzsd/tags/function/module/scoreboard/interactor/subscribe/damage_taken.json new file mode 100644 index 0000000..55bc2c0 --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/scoreboard/interactor/subscribe/death_count.json b/data/fzsd/tags/function/module/scoreboard/interactor/subscribe/death_count.json new file mode 100644 index 0000000..8b11cf4 --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/scoreboard/interactor/subscribe/dig_count.json b/data/fzsd/tags/function/module/scoreboard/interactor/subscribe/dig_count.json new file mode 100644 index 0000000..82531b6 --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/scoreboard/interactor/subscribe/fishing_count.json b/data/fzsd/tags/function/module/scoreboard/interactor/subscribe/fishing_count.json new file mode 100644 index 0000000..77c7c90 --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/scoreboard/interactor/subscribe/general.json b/data/fzsd/tags/function/module/scoreboard/interactor/subscribe/general.json new file mode 100644 index 0000000..b44146a --- /dev/null +++ b/data/fzsd/tags/function/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/fzsd/tags/function/module/scoreboard/interactor/subscribe/kill_count.json b/data/fzsd/tags/function/module/scoreboard/interactor/subscribe/kill_count.json new file mode 100644 index 0000000..e642611 --- /dev/null +++ b/data/fzsd/tags/function/module/scoreboard/interactor/subscribe/kill_count.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/scoreboard/interactor/subscribe/kill_count" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/scoreboard/interactor/subscribe/off.json b/data/fzsd/tags/function/module/scoreboard/interactor/subscribe/off.json new file mode 100644 index 0000000..62bfaf3 --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/scoreboard/interactor/subscribe/placement_count.json b/data/fzsd/tags/function/module/scoreboard/interactor/subscribe/placement_count.json new file mode 100644 index 0000000..6c4f641 --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/scoreboard/interactor/subscribe/trade_count.json b/data/fzsd/tags/function/module/scoreboard/interactor/subscribe/trade_count.json new file mode 100644 index 0000000..33269fb --- /dev/null +++ b/data/fzsd/tags/function/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/function/module/scoreboard/load.json b/data/fzsd/tags/function/module/scoreboard/load.json new file mode 100644 index 0000000..f2661cb --- /dev/null +++ b/data/fzsd/tags/function/module/scoreboard/load.json @@ -0,0 +1,12 @@ +{ + "__comment": "调用者:fzsd:module/try_load", + "replace": false, + "values": [ + "#fzsd:module/scoreboard/display/register_id", + "#fzsd:module/scoreboard/display/set_text", + "fzsd:module/scoreboard/display/carousel/loop", + "fzsd:module/scoreboard/load", + "fzsd.extra.bbl:try_install", + "fzsd.extra.bbl:load" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/scoreboard/uninstall.json b/data/fzsd/tags/function/module/scoreboard/uninstall.json new file mode 100644 index 0000000..20e5041 --- /dev/null +++ b/data/fzsd/tags/function/module/scoreboard/uninstall.json @@ -0,0 +1,8 @@ +{ + "__comment": "调用者:#fzsd:module/uninstall", + "replace": false, + "values": [ + "fzsd:module/scoreboard/uninstall", + "fzsd.extra.bbl:uninstall" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/sweeper/install.json b/data/fzsd/tags/function/module/sweeper/install.json new file mode 100644 index 0000000..dbe11c5 --- /dev/null +++ b/data/fzsd/tags/function/module/sweeper/install.json @@ -0,0 +1,7 @@ +{ + "__comment": "调用者:#fzsd:module/install", + "replace": false, + "values": [ + "fzsd:module/sweeper/install" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/sweeper/interactor/display.json b/data/fzsd/tags/function/module/sweeper/interactor/display.json new file mode 100644 index 0000000..eebeaf0 --- /dev/null +++ b/data/fzsd/tags/function/module/sweeper/interactor/display.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/sweeper/interactor/display" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/sweeper/interactor/on_click.json b/data/fzsd/tags/function/module/sweeper/interactor/on_click.json new file mode 100644 index 0000000..b64fff0 --- /dev/null +++ b/data/fzsd/tags/function/module/sweeper/interactor/on_click.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/sweeper/interactor/on_click" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/sweeper/load.json b/data/fzsd/tags/function/module/sweeper/load.json new file mode 100644 index 0000000..2baaee6 --- /dev/null +++ b/data/fzsd/tags/function/module/sweeper/load.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/sweeper/load" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/sweeper/start_loop.json b/data/fzsd/tags/function/module/sweeper/start_loop.json new file mode 100644 index 0000000..1365fc5 --- /dev/null +++ b/data/fzsd/tags/function/module/sweeper/start_loop.json @@ -0,0 +1,9 @@ +{ + "replace": false, + "values": [ + "fzsd:module/sweeper/clear", + "fzsd:module/sweeper/pre_loop", + "fzsd:module/sweeper/start_timer", + "fzsd:module/sweeper/bossbar" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/sweeper/stop_loop.json b/data/fzsd/tags/function/module/sweeper/stop_loop.json new file mode 100644 index 0000000..e8f6faa --- /dev/null +++ b/data/fzsd/tags/function/module/sweeper/stop_loop.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/sweeper/clear" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/sweeper/sweep.json b/data/fzsd/tags/function/module/sweeper/sweep.json new file mode 100644 index 0000000..800ef13 --- /dev/null +++ b/data/fzsd/tags/function/module/sweeper/sweep.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/sweeper/sweep" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/module/sweeper/uninstall.json b/data/fzsd/tags/function/module/sweeper/uninstall.json new file mode 100644 index 0000000..a16fac5 --- /dev/null +++ b/data/fzsd/tags/function/module/sweeper/uninstall.json @@ -0,0 +1,7 @@ +{ + "__comment": "调用者:#fzsd:module/uninstall", + "replace": false, + "values": [ + "fzsd:module/sweeper/uninstall" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/reinstall.json b/data/fzsd/tags/function/reinstall.json new file mode 100644 index 0000000..3a11a9f --- /dev/null +++ b/data/fzsd/tags/function/reinstall.json @@ -0,0 +1,8 @@ +{ + "replace": false, + "values": [ + "#fzsd:uninstall", + "#fzsd:install", + "#fzsd:load" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/system/install/module/force.json b/data/fzsd/tags/function/system/install/module/force.json new file mode 100644 index 0000000..a6baa68 --- /dev/null +++ b/data/fzsd/tags/function/system/install/module/force.json @@ -0,0 +1,15 @@ +{ + "replace": false, + "values": [ + "#fzsd:module/health/install", + "#fzsd:module/here/install", + "#fzsd:module/interactor/install", + "#fzsd:module/join_message/install", + "#fzsd:module/last_death/install", + "#fzsd:module/last_nether_portal/install", + "#fzsd:module/last_spawn_point/install", + "#fzsd:module/phantom_warning/install", + "#fzsd:module/scoreboard/install", + "#fzsd:module/sweeper/install" + ] +} diff --git a/data/fzsd/tags/function/system/install/module/try.json b/data/fzsd/tags/function/system/install/module/try.json new file mode 100644 index 0000000..fd24f16 --- /dev/null +++ b/data/fzsd/tags/function/system/install/module/try.json @@ -0,0 +1,15 @@ +{ + "replace": false, + "values": [ + "fzsd:module/health/try_install", + "fzsd:module/here/try_install", + "fzsd:module/interactor/try_install", + "fzsd:module/join_message/try_install", + "fzsd:module/last_death/try_install", + "fzsd:module/last_nether_portal/try_install", + "fzsd:module/last_spawn_point/try_install", + "fzsd:module/phantom_warning/try_install", + "fzsd:module/scoreboard/try_install", + "fzsd:module/sweeper/try_install" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/system/install/post.json b/data/fzsd/tags/function/system/install/post.json new file mode 100644 index 0000000..7c2ef58 --- /dev/null +++ b/data/fzsd/tags/function/system/install/post.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:system/install/post" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/system/install/pre.json b/data/fzsd/tags/function/system/install/pre.json new file mode 100644 index 0000000..907e30b --- /dev/null +++ b/data/fzsd/tags/function/system/install/pre.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/system/install/system.json b/data/fzsd/tags/function/system/install/system.json new file mode 100644 index 0000000..4621f86 --- /dev/null +++ b/data/fzsd/tags/function/system/install/system.json @@ -0,0 +1,9 @@ +{ + "replace": false, + "values": [ + "fzsd:system/install/install", + "#fzsd:logger/install", + "#fzsd:api/install", + "#fzsd:game_event/install" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/system/load/module/try.json b/data/fzsd/tags/function/system/load/module/try.json new file mode 100644 index 0000000..6ea30a1 --- /dev/null +++ b/data/fzsd/tags/function/system/load/module/try.json @@ -0,0 +1,9 @@ +{ + "replace": false, + "values": [ + "fzsd:module/health/try_load", + "fzsd:module/interactor/try_load", + "fzsd:module/scoreboard/try_load", + "fzsd:module/sweeper/try_load" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/system/load/post.json b/data/fzsd/tags/function/system/load/post.json new file mode 100644 index 0000000..557fd3d --- /dev/null +++ b/data/fzsd/tags/function/system/load/post.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:system/load/post" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/system/load/pre.json b/data/fzsd/tags/function/system/load/pre.json new file mode 100644 index 0000000..907e30b --- /dev/null +++ b/data/fzsd/tags/function/system/load/pre.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/system/load/system.json b/data/fzsd/tags/function/system/load/system.json new file mode 100644 index 0000000..b92ac2d --- /dev/null +++ b/data/fzsd/tags/function/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/function/system/uninstall/module.json b/data/fzsd/tags/function/system/uninstall/module.json new file mode 100644 index 0000000..50e1d6f --- /dev/null +++ b/data/fzsd/tags/function/system/uninstall/module.json @@ -0,0 +1,14 @@ +{ + "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", + "#fzsd:module/sweeper/uninstall" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/system/uninstall/after.json b/data/fzsd/tags/function/system/uninstall/post.json similarity index 72% rename from data/fzsd/tags/functions/system/uninstall/after.json rename to data/fzsd/tags/function/system/uninstall/post.json index fdff053..f68cbd0 100644 --- a/data/fzsd/tags/functions/system/uninstall/after.json +++ b/data/fzsd/tags/function/system/uninstall/post.json @@ -2,6 +2,6 @@ "replace": false, "__comment": "将在卸载后恢复安装记录", "values": [ - "fzsd:system/uninstall/after" + "fzsd:system/uninstall/post" ] } \ No newline at end of file diff --git a/data/fzsd/tags/function/system/uninstall/pre.json b/data/fzsd/tags/function/system/uninstall/pre.json new file mode 100644 index 0000000..907e30b --- /dev/null +++ b/data/fzsd/tags/function/system/uninstall/pre.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/system/uninstall/system.json b/data/fzsd/tags/function/system/uninstall/system.json new file mode 100644 index 0000000..93a4713 --- /dev/null +++ b/data/fzsd/tags/function/system/uninstall/system.json @@ -0,0 +1,9 @@ +{ + "replace": false, + "values": [ + "#fzsd:api/uninstall", + "#fzsd:game_event/uninstall", + "#fzsd:logger/uninstall", + "fzsd:system/uninstall/uninstall" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/uninstall.json b/data/fzsd/tags/function/uninstall.json new file mode 100644 index 0000000..a1e1bb4 --- /dev/null +++ b/data/fzsd/tags/function/uninstall.json @@ -0,0 +1,12 @@ +{ + "__comment": "不同于模块的卸载操作,本标签不会将模块的安装记录设为false", + "replace": false, + "values": [ + "#fzsd:system/uninstall/pre", + "fzsd:system/uninstall/cache_module_install_data", + "#fzsd:system/uninstall/module", + "#fzsd:system/uninstall/system", + "fzsd:system/uninstall/restore_module_install_data", + "#fzsd:system/uninstall/post" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/function/update.json b/data/fzsd/tags/function/update.json new file mode 100644 index 0000000..5b98c53 --- /dev/null +++ b/data/fzsd/tags/function/update.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:update/update_3_1_9" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/deep_install.json b/data/fzsd/tags/functions/deep_install.json index 64a3dd0..dc9b999 100644 --- a/data/fzsd/tags/functions/deep_install.json +++ b/data/fzsd/tags/functions/deep_install.json @@ -2,9 +2,9 @@ "__comment": "本标签将强制安装所有模块", "replace": false, "values": [ - "#fzsd:system/install/before", + "#fzsd:system/install/pre", "#fzsd:system/install/system", "#fzsd:system/install/module/force", - "#fzsd:system/install/after" + "#fzsd:system/install/post" ] } \ No newline at end of file diff --git a/data/fzsd/tags/functions/deep_uninstall.json b/data/fzsd/tags/functions/deep_uninstall.json index 614597b..0446c70 100644 --- a/data/fzsd/tags/functions/deep_uninstall.json +++ b/data/fzsd/tags/functions/deep_uninstall.json @@ -2,9 +2,9 @@ "__comment": "本标签将强制卸载所有模块", "replace": false, "values": [ - "#fzsd:system/uninstall/before", + "#fzsd:system/uninstall/pre", "#fzsd:system/uninstall/module", "#fzsd:system/uninstall/system", - "#fzsd:system/uninstall/after" + "#fzsd:system/uninstall/post" ] } \ No newline at end of file diff --git a/data/fzsd/tags/functions/install.json b/data/fzsd/tags/functions/install.json index 5880d42..2421f9b 100644 --- a/data/fzsd/tags/functions/install.json +++ b/data/fzsd/tags/functions/install.json @@ -1,10 +1,10 @@ { - "__comment": "本标签将尝试安装安装记录不为0b的模块", + "__comment": "本标签将尝试安装安装记录不为false的模块", "replace": false, "values": [ - "#fzsd:system/install/before", + "#fzsd:system/install/pre", "#fzsd:system/install/system", "#fzsd:system/install/module/try", - "#fzsd:system/install/after" + "#fzsd:system/install/post" ] } \ No newline at end of file diff --git a/data/fzsd/tags/functions/load.json b/data/fzsd/tags/functions/load.json index 7c1ee47..bc3a4f8 100644 --- a/data/fzsd/tags/functions/load.json +++ b/data/fzsd/tags/functions/load.json @@ -1,10 +1,10 @@ { - "__comment": "本标签将尝试加载安装记录为1b的模块", + "__comment": "本标签将尝试加载安装记录为true的模块", "replace": false, "values": [ - "#fzsd:system/load/before", + "#fzsd:system/load/pre", "#fzsd:system/load/system", "#fzsd:system/load/module/try", - "#fzsd:system/load/after" + "#fzsd:system/load/post" ] } \ No newline at end of file diff --git a/data/fzsd/tags/functions/module/scoreboard/interactor/show_my_scores.json b/data/fzsd/tags/functions/module/scoreboard/interactor/show_my_scores.json new file mode 100644 index 0000000..c2e0307 --- /dev/null +++ b/data/fzsd/tags/functions/module/scoreboard/interactor/show_my_scores.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:module/scoreboard/interactor/show_my_scores" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/system/install/post.json b/data/fzsd/tags/functions/system/install/post.json new file mode 100644 index 0000000..7c2ef58 --- /dev/null +++ b/data/fzsd/tags/functions/system/install/post.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:system/install/post" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/system/install/pre.json b/data/fzsd/tags/functions/system/install/pre.json new file mode 100644 index 0000000..907e30b --- /dev/null +++ b/data/fzsd/tags/functions/system/install/pre.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/system/load/post.json b/data/fzsd/tags/functions/system/load/post.json new file mode 100644 index 0000000..557fd3d --- /dev/null +++ b/data/fzsd/tags/functions/system/load/post.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:system/load/post" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/system/load/pre.json b/data/fzsd/tags/functions/system/load/pre.json new file mode 100644 index 0000000..907e30b --- /dev/null +++ b/data/fzsd/tags/functions/system/load/pre.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/system/uninstall/post.json b/data/fzsd/tags/functions/system/uninstall/post.json new file mode 100644 index 0000000..f68cbd0 --- /dev/null +++ b/data/fzsd/tags/functions/system/uninstall/post.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "__comment": "将在卸载后恢复安装记录", + "values": [ + "fzsd:system/uninstall/post" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/system/uninstall/pre.json b/data/fzsd/tags/functions/system/uninstall/pre.json new file mode 100644 index 0000000..907e30b --- /dev/null +++ b/data/fzsd/tags/functions/system/uninstall/pre.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/functions/uninstall.json b/data/fzsd/tags/functions/uninstall.json index acb3f21..a1e1bb4 100644 --- a/data/fzsd/tags/functions/uninstall.json +++ b/data/fzsd/tags/functions/uninstall.json @@ -1,12 +1,12 @@ { - "__comment": "不同于模块的卸载操作,本标签不会将模块的安装记录设为0b", + "__comment": "不同于模块的卸载操作,本标签不会将模块的安装记录设为false", "replace": false, "values": [ - "#fzsd:system/uninstall/before", + "#fzsd:system/uninstall/pre", "fzsd:system/uninstall/cache_module_install_data", "#fzsd:system/uninstall/module", "#fzsd:system/uninstall/system", "fzsd:system/uninstall/restore_module_install_data", - "#fzsd:system/uninstall/after" + "#fzsd:system/uninstall/post" ] } \ No newline at end of file diff --git a/data/fzsd/tags/item/bucket_of_liquid.json b/data/fzsd/tags/item/bucket_of_liquid.json new file mode 100644 index 0000000..fff01d3 --- /dev/null +++ b/data/fzsd/tags/item/bucket_of_liquid.json @@ -0,0 +1,9 @@ +{ + "replace": false, + "values": [ + "minecraft:lava_bucket", + "minecraft:water_bucket", + "minecraft:powder_snow_bucket", + "#fzsd:bucket_of_mob" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/item/bucket_of_mob.json b/data/fzsd/tags/item/bucket_of_mob.json new file mode 100644 index 0000000..1b06713 --- /dev/null +++ b/data/fzsd/tags/item/bucket_of_mob.json @@ -0,0 +1,11 @@ +{ + "replace": false, + "values": [ + "minecraft:cod_bucket", + "minecraft:salmon_bucket", + "minecraft:axolotl_bucket", + "minecraft:tadpole_bucket", + "minecraft:pufferfish_bucket", + "minecraft:tropical_fish_bucket" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/item/raw_fishes.json b/data/fzsd/tags/item/raw_fishes.json new file mode 100644 index 0000000..e6560a6 --- /dev/null +++ b/data/fzsd/tags/item/raw_fishes.json @@ -0,0 +1,8 @@ +{ + "replace": false, + "values": [ + "minecraft:cod", + "minecraft:salmon", + "minecraft:tropical_fish" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/item/tool/axes.json b/data/fzsd/tags/item/tool/axes.json new file mode 100644 index 0000000..6304dcf --- /dev/null +++ b/data/fzsd/tags/item/tool/axes.json @@ -0,0 +1,11 @@ +{ + "replace": false, + "values": [ + "minecraft:iron_axe", + "minecraft:stone_axe", + "minecraft:golden_axe", + "minecraft:wooden_axe", + "minecraft:diamond_axe", + "minecraft:netherite_axe" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/item/tool/hoes.json b/data/fzsd/tags/item/tool/hoes.json new file mode 100644 index 0000000..08d1d2c --- /dev/null +++ b/data/fzsd/tags/item/tool/hoes.json @@ -0,0 +1,11 @@ +{ + "replace": false, + "values": [ + "minecraft:iron_hoe", + "minecraft:stone_hoe", + "minecraft:golden_hoe", + "minecraft:wooden_hoe", + "minecraft:diamond_hoe", + "minecraft:netherite_hoe" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/item/tool/pickaxes.json b/data/fzsd/tags/item/tool/pickaxes.json new file mode 100644 index 0000000..db245a3 --- /dev/null +++ b/data/fzsd/tags/item/tool/pickaxes.json @@ -0,0 +1,11 @@ +{ + "replace": false, + "values": [ + "minecraft:iron_pickaxe", + "minecraft:stone_pickaxe", + "minecraft:golden_pickaxe", + "minecraft:wooden_pickaxe", + "minecraft:diamond_pickaxe", + "minecraft:netherite_pickaxe" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/item/tool/shears.json b/data/fzsd/tags/item/tool/shears.json new file mode 100644 index 0000000..9520270 --- /dev/null +++ b/data/fzsd/tags/item/tool/shears.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "minecraft:shears" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/item/tool/shovels.json b/data/fzsd/tags/item/tool/shovels.json new file mode 100644 index 0000000..c95f9de --- /dev/null +++ b/data/fzsd/tags/item/tool/shovels.json @@ -0,0 +1,11 @@ +{ + "replace": false, + "values": [ + "minecraft:iron_shovel", + "minecraft:stone_shovel", + "minecraft:golden_shovel", + "minecraft:wooden_shovel", + "minecraft:diamond_shovel", + "minecraft:netherite_shovel" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/item/tool/swords.json b/data/fzsd/tags/item/tool/swords.json new file mode 100644 index 0000000..0a351a0 --- /dev/null +++ b/data/fzsd/tags/item/tool/swords.json @@ -0,0 +1,11 @@ +{ + "replace": false, + "values": [ + "minecraft:iron_sword", + "minecraft:stone_sword", + "minecraft:golden_sword", + "minecraft:wooden_sword", + "minecraft:diamond_sword", + "minecraft:netherite_sword" + ] +} \ No newline at end of file diff --git a/data/fzsd/tags/item/tools.json b/data/fzsd/tags/item/tools.json new file mode 100644 index 0000000..2334d49 --- /dev/null +++ b/data/fzsd/tags/item/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/fzsd/tags/item/tools_exclude_axes.json b/data/fzsd/tags/item/tools_exclude_axes.json new file mode 100644 index 0000000..a219fb1 --- /dev/null +++ b/data/fzsd/tags/item/tools_exclude_axes.json @@ -0,0 +1,10 @@ +{ + "replace": false, + "values": [ + "#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/function/load.json b/data/minecraft/tags/function/load.json new file mode 100644 index 0000000..093b01b --- /dev/null +++ b/data/minecraft/tags/function/load.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "fzsd:entry" + ] +} \ No newline at end of file diff --git a/pack.mcmeta b/pack.mcmeta index 137d246..08e5ffc 100644 --- a/pack.mcmeta +++ b/pack.mcmeta @@ -4,24 +4,31 @@ "pack_format": 15, "supported_formats": { "min_inclusive": 15, - "max_inclusive": 41 + "max_inclusive": 48 } }, "overlays": { "entries": [ { + "directory": "compat_16", "formats": { "min_inclusive": 16, "max_inclusive": 41 - }, - "directory": "compat_16" + } }, { + "directory": "compat_27", "formats": { "min_inclusive": 27, "max_inclusive": 41 - }, - "directory": "compat_27" + } + }, + { + "directory": "compat_42", + "formats": { + "min_inclusive": 42, + "max_inclusive": 48 + } } ] } diff --git a/scripts/fzsd_score.sc b/scripts/fzsd_score.sc index 0a67b53..e8a18b4 100644 --- a/scripts/fzsd_score.sc +++ b/scripts/fzsd_score.sc @@ -52,8 +52,8 @@ __config() -> { }, 'command_permission' -> 2, 'commands' -> { - '' -> 'help', - 'help' -> 'help', + // '' -> 'help', + // 'help' -> 'help', 'delete ' -> 'command_delete', 'update ' -> 'command_update', 'restore whitelist' -> ['command_restore', null, null], @@ -380,16 +380,16 @@ merge_score(from, to, fzsd_version) -> ( return(); ); -// 获取承载总榜数据的玩家名 -// 因为新计分板允许玩家自定义显示的总榜名称,故做复杂判断才能使脚本确定用来承载总榜数据的玩家名 +// 获取承载总览数据的玩家名 +// 因为新计分板允许玩家自定义显示的总览名称,故做复杂判断才能使脚本确定用来承载总览数据的玩家名 get_total_score_name_new(scoreboard) -> ( - // 系统总榜id + // 系统总览id sys_total_name = replace(scoreboard, 'display', 'total'); // 当前总分 current_score = scoreboard('fzsd.module.scoreboard.assign.general', sys_total_name); - // 将系统总榜分数设为INT_MIN,使其成为最低分 + // 将系统总览分数设为INT_MIN,使其成为最低分 scoreboard('fzsd.module.scoreboard.assign.general', sys_total_name, -2147483648); // 将总分赋值到显示计分板上 @@ -408,11 +408,11 @@ get_total_score_name_new(scoreboard) -> ( ); ); - // 恢复总榜分数 + // 恢复总览分数 scoreboard('fzsd.module.scoreboard.assign.general', sys_total_name, current_score); display_total_score(scoreboard); - // 返回榜内最低分的玩家名(承载总榜数据的玩家名) + // 返回榜内最低分的玩家名(承载总览数据的玩家名) return(last_min_player); ); @@ -450,7 +450,7 @@ command_recalculate_total_score(scoreboard) -> ( // 使用数据包函数标签将总分赋值到显示计分板上 display_total_score(scoreboard) -> ( - // 获取计算总榜的函数标签名 + // 获取计算总览的函数标签名 str_1 = split('\\.', scoreboard); function_name = str_1:(length(str_1) - 1); // 运行函数,将分数赋值到显示计分板上