player_failed.mcfunction 375 B

1234567
  1. # 玩家死亡时由玩家自己触发
  2. tag @s remove mini_running
  3. gamemode spectator
  4. tp @s[team=!debugging] 1062.34 27.11 6040.84 461.44 28.30
  5. # tellraw @a ["",{"text": ">> ","color":"red","bold": true},{"selector": "@s","color":"red"}," 已死亡!"]
  6. execute as @a at @s run function lib:sounds/error
  7. execute unless entity @a[tag=mini_running] run function mini:main/game_end