tick1.mcfunction 218 B

1234567
  1. # 每 1 Tick 执行一次
  2. # 调用其他模块
  3. execute if score $state mem matches 5 run function ltw:state/5/tick1
  4. # 死亡触发
  5. execute as @a[scores={death=1..,health=1..}] at @s run function ltw:main/player_death