player_death.mcfunction 176 B

1234
  1. # 当玩家死亡后触发
  2. scoreboard players reset @s death
  3. say DEBUG: 触发ltw:main/player_death
  4. execute if score $state mem matches 5 run function ltw:state/5/player_death