player_failed.mcfunction 344 B

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