respawn1.mcfunction 458 B

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