player_death.mcfunction 162 B

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