respawn.mcfunction 297 B

12345678910111213
  1. # 给予状态效果
  2. function mini:iron/give_effect
  3. effect give @s slow_falling 4
  4. effect give @s weakness 5 10 true
  5. effect give @s resistance 5 10 true
  6. # 传送玩家
  7. tp @s[team=playing] 1016 280 5016
  8. tp @s[team=watching] 1016 255 5016
  9. # 清理锁定物品
  10. clear @s crimson_button{LockItem:1b}