respawn1.mcfunction 345 B

123456789101112
  1. # 状态效果
  2. effect clear @s
  3. effect give @s saturation 1000000 0 true
  4. effect give @s haste 1000000 1 true
  5. effect give @s levitation 8 253
  6. gamerule naturalRegeneration false
  7. # 传送玩家
  8. spreadplayers 1016 5016 6 8 under 255 false @s[team=playing,tag=!rejoining]
  9. tag @s add respawning
  10. schedule function mini:diamond/game/respawn2 1t append