normal.mcfunction 1.6 KB

12345678910111213141516171819202122232425262728293031323334
  1. # 生成普通奖励物品
  2. # 设置轮数
  3. scoreboard players set $round mem 1
  4. # 清理残余实体
  5. kill @e[type=item]
  6. kill @e[type=arrow]
  7. kill @e[type=trident]
  8. # 生成奖励
  9. execute positioned 17.5 10.2 1967.5 run function item:bonus_item/gameparty/random
  10. execute positioned 19.5 10.2 1962.5 run function item:bonus_item/gameparty/random
  11. execute positioned 24.5 10.2 1960.5 run function item:bonus_item/gameparty/random
  12. execute positioned 29.5 10.2 1962.5 run function item:bonus_item/gameparty/random
  13. execute positioned 31.5 10.2 1967.5 run function item:bonus_item/gameparty/random
  14. execute positioned 29.5 10.2 1972.5 run function item:bonus_item/gameparty/random
  15. execute positioned 24.5 10.2 1974.5 run function item:bonus_item/gameparty/random
  16. execute positioned 19.5 10.2 1972.5 run function item:bonus_item/gameparty/random
  17. # 生成拾取背景
  18. execute positioned 17.0 10.0 1967.0 run function ltw:state/6/generate_background
  19. execute positioned 19.0 10.0 1962.0 run function ltw:state/6/generate_background
  20. execute positioned 24.0 10.0 1960.0 run function ltw:state/6/generate_background
  21. execute positioned 29.0 10.0 1962.0 run function ltw:state/6/generate_background
  22. execute positioned 31.0 10.0 1967.0 run function ltw:state/6/generate_background
  23. execute positioned 29.0 10.0 1972.0 run function ltw:state/6/generate_background
  24. execute positioned 24.0 10.0 1974.0 run function ltw:state/6/generate_background
  25. execute positioned 19.0 10.0 1972.0 run function ltw:state/6/generate_background
  26. # 传送
  27. tp @a[team=!debugging] 24.5 11.0 1967.5
  28. tellraw @a ["",{"text": ">> ","color": "aqua","bold": true}, {"text": "已生成测试用奖励物品!","color": "aqua"}]