respawn1.mcfunction 415 B

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