2
0

tick1.mcfunction 275 B

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