|
|
@@ -5,17 +5,31 @@ execute if score $countdown mem matches ..10 run title @a subtitle {"score":{"na
|
|
|
execute if score $countdown mem matches ..10 run title @a title [""]
|
|
|
execute if score $countdown mem matches ..10 as @a at @s run function lib:sounds/hit2
|
|
|
|
|
|
-# 170s:关闭循环播放
|
|
|
-execute if score $countdown mem matches 170 run scoreboard players set @a music_time 999
|
|
|
+# 120s:时间提示
|
|
|
+execute if score $countdown mem matches 120 run title @a subtitle {"text":"⚠ 还剩两分钟! ⚠","color":"yellow"}
|
|
|
+execute if score $countdown mem matches 120 run title @a times 1 50 3
|
|
|
+execute if score $countdown mem matches 120 run title @a title ""
|
|
|
|
|
|
-# 90s / 60s:雷达提示
|
|
|
-execute if score $countdown mem matches 90 run tellraw @a ["",{"text": ">> ","color": "gold","bold": true},{"text":"玩家雷达将在 ","color": "gold"}, "30 秒 ",{"text": "后开启","color": "gold"}]
|
|
|
+# 90s:雷达提示
|
|
|
+execute if score $countdown mem matches 90 run title @a subtitle {"text":"⚠ 玩家雷达将在三十秒后开启! ⚠","color":"yellow"}
|
|
|
+execute if score $countdown mem matches 90 run title @a times 1 100 3
|
|
|
+execute if score $countdown mem matches 90 run title @a title ""
|
|
|
execute if score $countdown mem matches 90 run scoreboard players set $bossbar_color mem 2
|
|
|
execute if score $countdown mem matches 90 run function lib:bossbar/show
|
|
|
+
|
|
|
+# 60s:雷达开启
|
|
|
execute if score $countdown mem matches 61 as @a run function lib:sounds/music/mini_fast
|
|
|
-execute if score $countdown mem matches 60 run tellraw @a ["",{"text": ">> ","color": "gold","bold": true},{"text": "玩家雷达已开启, 游戏将在 ","color": "gold"},"60 秒 ", {"text": "后结束","color": "gold"}]
|
|
|
+execute if score $countdown mem matches 60 run title @a subtitle {"text":"⚠ 玩家雷达已开启!还剩一分钟! ⚠","color":"red"}
|
|
|
+execute if score $countdown mem matches 60 run title @a times 1 120 3
|
|
|
+execute if score $countdown mem matches 60 run title @a title ""
|
|
|
execute if score $countdown mem matches 60 run scoreboard players set $bossbar_color mem 1
|
|
|
execute if score $countdown mem matches 60 run function lib:bossbar/show
|
|
|
+execute if score $countdown mem matches 60 run playsound minecraft:entity.ender_dragon.growl player @a 0 1000000 0 1000000 1.5
|
|
|
+
|
|
|
+# 30s:时间提示
|
|
|
+execute if score $countdown mem matches 30 run title @a subtitle {"text":"⚠ 还剩三十秒! ⚠","color":"yellow"}
|
|
|
+execute if score $countdown mem matches 30 run title @a times 1 50 3
|
|
|
+execute if score $countdown mem matches 30 run title @a title ""
|
|
|
|
|
|
# 0s:游戏结束
|
|
|
execute if score $countdown mem matches 0 run function mini:main/game_end
|