| 12345678910111213141516171819202122 |
- # 单个玩家开始小游戏时执行
- function lib:sounds/music/mini_secret
- title @s clear
- title @s actionbar ""
- # 状态效果
- function mini:ass/give_effect
- # 设置玩家生命
- attribute @s generic.max_health base set 20
- gamerule naturalRegeneration false
- # 计分板重置
- scoreboard players set @s countdown_fast 10
- scoreboard players set @s creeperUse 0
- # 传送玩家
- spreadplayers 1015 7015 1 10 under 15 false @s[team=playing,tag=!rejoining]
- # 调整模式
- gamemode spectator @s[team=!debugging]
- gamemode adventure @s[team=playing,tag=!rejoining]
|