respawn1.mcfunction 381 B

12345678910111213
  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 6 253
  6. effect give @s resistance 8 10 true
  7. gamerule naturalRegeneration false
  8. # 传送玩家
  9. spreadplayers 1016 5016 6 8 under 255 false @s[team=playing,tag=!rejoining]
  10. tag @s add respawning
  11. schedule function mini:diamond/game/respawn2 1t append