# 单个玩家开始小游戏时执行 function lib:sounds/music/mini_middle title @s clear title @s actionbar "" # 给予状态效果 function mini:parkour/give_effect # 设置玩家生命 attribute @s generic.max_health base set 20 gamerule naturalRegeneration true # 传送玩家 spreadplayers 1018 1007 4 6 under 9 false @s[team=playing,tag=!rejoining] # tp @s[team=playing,tag=!rejoining] 1010.07 7.50 1006.98 -1518.69 -10.62 # 调整模式 gamemode spectator @s[team=!debugging] gamemode adventure @s[team=playing,tag=!rejoining] # 修改 Tag tag @s add parkour_portal tag @s[team=playing,tag=!rejoining] remove parkour_portal