game_init.mcfunction 312 B

1234567
  1. # 小游戏初始化
  2. execute if score $mini_type mem matches 1 run function mini:parkour/game_init
  3. execute if score $mini_type mem matches 2 run function mini:tntrun/game_init
  4. execute if score $mini_type mem matches 3 run function mini:hotpm/game_init
  5. # 计分板初始化
  6. scoreboard players reset * mini_score