tick20.mcfunction 365 B

12345678910
  1. # 触发单个模块
  2. execute if score $mini_type mem matches 1 run function mini:parkour/tick20
  3. execute if score $mini_type mem matches 5 run function mini:phantom/tick20
  4. # 特殊方块给予效果
  5. execute as @a[tag=mini_running] at @s if block ~ ~-1 ~ emerald_block run effect give @s regeneration 2 1 true
  6. # 结束游戏判定
  7. function mini:main/check_game_end