player_death.mcfunction 201 B

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