respawn1.mcfunction 400 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 slow_falling 4
  7. effect give @s weakness 5 10 true
  8. effect give @s resistance 5 10 true
  9. gamerule naturalRegeneration false
  10. # 传送玩家
  11. tp @s 1016 280 5016
  12. tag @s add respawning
  13. schedule function mini:diamond/game/respawn2 1t append