FrostedWeFall

SkywarsREFILL

Dec 26th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.59 KB | None | 0 0
  1. command /refill:
  2. trigger:
  3. set {arena.pos1} to the location at x = 52, y = 133, z = 53 of world "sk"
  4. set {arena.pos2} to the location at x = -61, y = 195, z = -58 of world "sk"
  5. loop blocks within {arena.pos1} to {arena.pos2}:
  6. If loop-block is glass:
  7. set loop-block to air
  8. If loop-block is chest:
  9. add 10 dirt to loop-block
  10. set {_chestnumber} to a random integer between 1 and 11
  11. send "&fINFO:&e A chest has been populated with set %{_chestnumber}%" to the console
  12. If {_chestnumber} is 1:
  13. add 5 wood to loop-block
  14. add 1 diamond pickaxe to loop-block
  15. add 1 enderpearl to loop-block
  16. add 23 xp bottle to loop-block
  17. add 5 golden apple to loop-block
  18. add wooden sword of sharpness 2 to loop-block
  19. add 1 diamond sword to loop-block
  20. add 1 diamond helmet of fire protection 1 to loop-block
  21. If {_chestnumber} is 2:
  22. add 10 arrow to loop-block
  23. add 1 iron sword to loop-block
  24. add 1 enderpearl to loop-block
  25. add 23 xp bottle to loop-block
  26. add 1 golden apple to loop-block
  27. add 1 diamond pickaxe to loop-block
  28. add 1 iron axe to loop-block
  29. add 1 enderpearl to loop-block
  30. add 23 xp bottle to loop-block
  31. add 5 golden apple to loop-block
  32. add 1 wooden sword of sharpness 2 to loop-block
  33. add 1 diamond chestplate of fire protection 1 to loop-block
  34. If {_chestnumber} is 3:
  35. add 12 arrow to loop-block
  36. add 1 slimeball of knockback 10 to loop-block
  37. add 1 enderpearl to loop-block
  38. add 23 xp bottle to loop-block
  39. add 5 golden apple to loop-block
  40. add 12 stained hardened clay to loop-block
  41. add 1 diamond sword to loop-block
  42. add diamond chestplate of fire protection 4 to loop-block
  43. add 1 bow of flame 1 to loop-block
  44. add 1 diamond sword to loop-block
  45. add 1 golden boots of fire protection 4 to loop-block
  46. If {_chestnumber} is 4:
  47. add 1 ender pearl to loop-block
  48. add 23 xp bottle to loop-block
  49. add 5 golden apple to loop-block
  50. add 12 stained hardened clay to loop-block
  51. add 1 ender pearl to loop-block
  52. add 16 log to loop-block
  53. add 23 xp bottle to loop-block
  54. add 1 elytra to loop-block
  55. add 5 golden apple to loop-block
  56. add 12 stained hardened clay to loop-block
  57. add 1 golden helmet of fire protection 4 to loop-block
  58. If {_chestnumber} is 5:
  59. add 1 lava bucket to loop-block
  60. add 8 cooked beef to loop-block
  61. add 23 xp bottle to loop-block
  62. add 12 stained hardened clay to loop-block
  63. add 1 diamond helmet of fire protection to loop-block
  64. add 1 golden sword of fire aspect 1 to loop-block
  65. add 1 diamond leggings of fire protection 4 to loop-block
  66. If {_chestnumber} is 6:
  67. add 5 golden apple to loop-block
  68. add 12 stained hardened clay to loop-block
  69. add 1 wooden sword of sharpness 2 to loop-block
  70. add 12 wood to loop-block
  71. add 10 arrow to loop-block
  72. add 1 enderpearl to loop-block
  73. add 23 xp bottle to loop-block
  74. add 5 golden apple to loop-block
  75. add 12 stained hardened clay to loop-block
  76. add 1 diamond helmet of fire protection 1 to loop-block
  77. If {_chestnumber} is 7:
  78. add 1 diamond pickaxe to loop-block
  79. add 1 iron axe to loop-block
  80. add 8 log to loop-block
  81. add 1 iron axe to loop-block
  82. add 1 enderpearl to loop-block
  83. add 1 elytra to loop-block
  84. add 23 xp bottle to loop-block
  85. add 5 golden apple to loop-block
  86. add 1 wooden sword of sharpness 2 to loop-block
  87. add 1 diamond sword to loop-block
  88. add 12 arrow to loop-block
  89. add 1 bow to loop-block
  90. If {_chestnumber} is 8:
  91. add 1 wooden sword of sharpness 2 to loop-block
  92. add 1 diamond sword of fire aspect 1 to loop-block
  93. add 12 arrow to loop-block
  94. add 10 arrow to loop-block
  95. add 1 diamond boots of fire protection 4 to loop-block
  96. If {_chestnumber} is 9:
  97. add 1 diamond helmet of fire protection 4 to loop-block
  98. add 1 stone sword of fire aspect 1 to loop-block
  99. add 1 bow of infinity to loop-block
  100. add 1 golden boots of fire protection 4 to loop-block
  101. If {_chestnumber} is 10:
  102. add 1 iron block to loop-block
  103. add 1 stick to loop-block
  104. add 1 bow of flame 1 to loop-block
  105. add 1 arrow to loop-block
  106. add 12 arrow to loop-block
  107. add 1 elytra to loop-block
  108. add 1 diamond sword to loop-block
  109. If {_chestnumber} is 11:
  110. add 1 diamond sword of sharpness 1 to loop-block
  111. add 1 leather chestplate of fire protection 4 to loop-block
  112. add 8 log to loop-block
  113. add 1 elytra to loop-block
Add Comment
Please, Sign In to add comment