player_death.mcfunction 138 B

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