2
0

player_enter.mcfunction 342 B

1234567
  1. # 单个玩家开始小游戏时执行
  2. tag @s add mini_running
  3. scoreboard players set @s mini_score 0
  4. execute if score $mini_type mem matches 1 run function mini:parkour/player_enter
  5. execute if score $mini_type mem matches 2 run function mini:tntrun/player_enter
  6. execute if score $mini_type mem matches 3 run function mini:hotpm/player_enter