LTCatt 6 年之前
父节点
当前提交
4e8bb42ea2
共有 1 个文件被更改,包括 2 次插入 和 0 次删除
  1. 2 0
      data/mini/functions/slime/tick20.mcfunction

+ 2 - 0
data/mini/functions/slime/tick20.mcfunction

@@ -1,8 +1,10 @@
 
 # 显示提示
 execute if score $countdown mem matches 5 run tellraw @a ["",{"text": ">> ","color":"gold","bold": true},{"text": "新的史莱姆将在 5 秒后空投到球场中央!","color":"gold"}]
+execute if score $countdown mem matches 5 as @a at @s run function lib:sounds/error
 
 # 召唤
 execute if score $countdown mem matches 0 run function mini:slime/game/summon
 execute if score $countdown mem matches 0 run tellraw @a ["",{"text": ">> ","color":"red","bold": true},{"text": "新的史莱姆已空投!","color":"red"}]
+execute if score $countdown mem matches 0 as @a at @s run function lib:sounds/teleport
 scoreboard players set $countdown mem 30