player_enter.mcfunction 396 B

1234567891011121314151617
  1. # 对单个玩家的处理(如果玩家中途加入就会执行此函数)
  2. function lib:sounds/music/rest
  3. title @s clear
  4. title @s actionbar ""
  5. # 状态效果
  6. effect clear @s
  7. effect give @s saturation 1000000 0 true
  8. gamerule naturalRegeneration true
  9. effect give @s night_vision 1000000 0 true
  10. # 显示小游戏结果
  11. function mini:main/show_result
  12. # 自由旁观
  13. gamemode spectator
  14. spectate