akon1248

Untitled

Oct 29th, 2018
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 126.93 KB | None | 0 0
  1. variables:
  2. {stamina.%player%} = 10
  3. {exhaustion.%player%} = 0
  4. on load:
  5. register new shapeless recipe for hopper named "&8Upgrade Hopper" using redstone, redstone block, redstone, redstone block, hopper, redstone block, redstone, redstone block, redstone
  6. register new shapeless recipe for furnace named "&cUpgrade Furnace" using blaze_powder, fire_charge, blaze_powder, fire_charge, furnace, fire_charge, blaze_powder, fire_charge, blaze_powder
  7. register new shapeless recipe for super golden apple using gold block, gold block, gold block, gold block, apple, gold block, gold block, gold block, gold block
  8. register new shapeless recipe for mob spawner named "&r空のモンスタースポナー" using iron block, iron bars block, iron block, iron bars block, soulsand, iron bars block, iron block, iron bars block, iron block
  9. register new shapeless recipe for diamond using coal block, flint, coal block, flint, obsidian, flint, coal block, flint, coal block
  10. register new shapeless recipe for spawner egg:50 using air, gunpowder, air, gunpowder, egg, gunpowder, air, gunpowder, air
  11. register new shapeless recipe for spawner egg:51 using air, bone, air, bone, egg, bone, air, bone, air
  12. register new shapeless recipe for spawner egg:52 using air, spider eye, air, spider eye, egg, spider eye, air, spider eye, air
  13. register new shapeless recipe for spawner egg:54 using air, rotten flesh, air, rotten flesh, egg, rotten flesh, air, rotten flesh, air
  14. register new shapeless recipe for spawner egg:55 using air, slimeball, air, slimeball, egg, slimeball, air, slimeball, air
  15. register new shapeless recipe for spawner egg:58 using air, ender pearl, air, ender pearl, egg, ender pearl, air, ender pearl, air
  16. register new shapeless recipe for spawner egg:61 using air, blaze powder, air, blaze powder, egg, blaze powder, air, blaze powder, air
  17. register new shapeless recipe for spawner egg:90 using air, porkchop_item, air, porkchop_item, egg, porkchop_item, air, porkchop_item, air
  18. register new shapeless recipe for spawner egg:91 using air, white_wool_block, air, white_wool_block, egg, white_wool_block, air, white_wool_block, air
  19. register new shapeless recipe for spawner egg:92 using air, leather, air, leather, egg, leather, air, leather, air
  20. register new shapeless recipe for spawner egg:93 using air, feather, air, feather, egg, feather, air, feather, air
  21. register new shapeless recipe for spawner egg:96 using air, red mushroom, air, red mushroom, egg, red mushroom, air, red mushroom, air
  22. register new shapeless recipe for spawner egg:97 using snowball, snowball, snowball, snowball, egg, snowball, snowball, snowball, snowball
  23. register new shapeless recipe for spawner egg:99 using red poppy, iron ingot, red poppy, iron ingot, egg, iron ingot, red poppy, iron ingot, red poppy
  24. register new shapeless recipe for spawner egg:101 using air, rabbit hide, air, rabbit hide, egg, rabbit hide, air, rabbit hide, air
  25. register new shapeless recipe for spawner egg:120 using air, emerald, air, emerald, egg, emerald, air, emerald, air
  26. on first join:
  27. give player stone sword of sharpness 2
  28. give player stone pickaxe of efficiency 3
  29. give player stone axe of efficiency 3
  30. give player stone shovel of efficiency 3
  31. give player stone hoe of unbreaking 3
  32. execute console command "replaceitem entity %player% slot.hotbar.5 minecraft:written_book 1 0 {generation:0,pages:[""{\""text\"":\""§l§oWelcome to the server§0\\n§0この鯖ではいくつか特殊な仕様があります\\n\\n仕様の紹介は次のページへ\""}"",""{\""text\"":\""§0①スタミナ§0\\n§0走っている間に1秒ごとに減っていき走るのをやめると回復します§0\\n§00になると移動速度が低下し最大まで回復した時に移動速度が元に戻ります§0\\n§0\\n§0次へ\""}"",""{\""text\"":\""②スポナー§0\\n§0スポナーをピッケルで採掘することで空のスポナーが手に入ります§0\\n§0一部のスポーンエッグがクラフト可能になっているため§0\\n§0空のスポナーに右クリックしてスポナーを作動させましょう§0\\n§0\\n§0次へ\""}"",""{\""text\"":\""③一括破壊§0\\n§0/mineall§0\\n§0/cutall§0\\n§0/digall§0\\n§0でそれぞれのツールの一括破壊をON/OFF切り替え可能です§0\\n§0\\n§0次へ\""}"",""{\""text\"":\""④少し便利なブロック§0\\n§0Upgrage Furnace§0\\n§0Upgrade Hopper§0\\n§0が存在し、クラフトにより作成可能です§0\\n§0それぞれ精錬速度と搬出/搬入速度が上昇しています§0\\n§0\\n§0次へ\""}"",""{\""text\"":\""⑤魔法の泉\\n魔法の泉に本x1、ラピスラズリ、素材を1、2種類入れることでレベル1のエンチャント本を作成できます\""}""],author:""akon1248"",title:""サーバーの案内"",resolved:1b}"
  33. command /mineall:
  34. executable by: player
  35. trigger:
  36. if {mineall.%player%} is not set:
  37. set {mineall.%player%} to 1
  38. send "MineAll ON"
  39. stop
  40. if {mineall.%player%} is 1:
  41. delete {mineall.%player%}
  42. send "MineAll OFF"
  43. command /digall:
  44. executable by: player
  45. trigger:
  46. if {digall.%player%} is not set:
  47. set {digall.%player%} to 1
  48. send "DigAll ON"
  49. stop
  50. if {digall.%player%} is 1:
  51. delete {digall.%player%}
  52. send "DigAll OFF"
  53. command /cutall:
  54. executable by: player
  55. trigger:
  56. if {cutall.%player%} is not set:
  57. set {cutall.%player%} to 1
  58. send "CutAll ON"
  59. stop
  60. if {cutall.%player%} is 1:
  61. delete {cutall.%player%}
  62. send "CutAll OFF"
  63. on mine:
  64. {mineall.%player%} is 1
  65. set {_x} to x-coordinate of event-block
  66. set {_y} to y-coordinate of event-block
  67. set {_z} to z-coordinate of event-block
  68. set {_breaklocation} to event-location
  69. if event-block is stone:0:
  70. if block at location 1 meter southeast 1 meter above {_breaklocation} is stone:0:
  71. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  72. if block at location 1 meter south 1 meter above {_breaklocation} is stone:0:
  73. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  74. if block at location 1 meter southwest 1 meter above {_breaklocation} is stone:0:
  75. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  76. if block at location 1 meter east 1 meter above {_breaklocation} is stone:0:
  77. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  78. if block at location 1 meter above {_breaklocation} is stone:0:
  79. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  80. if block at location 1 meter west 1 meter above {_breaklocation} is stone:0:
  81. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  82. if block at location 1 meter northeast 1 meter above {_breaklocation} is stone:0:
  83. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  84. if block at location 1 meter north 1 meter above {_breaklocation} is stone:0:
  85. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  86. if block at location 1 meter northwest 1 meter above {_breaklocation} is stone:0:
  87. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  88. if block at location 1 meter southeast {_breaklocation} is stone:0:
  89. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  90. if block at location 1 meter south {_breaklocation} is stone:0:
  91. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  92. if block at location 1 meter southwest {_breaklocation} is stone:0:
  93. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  94. if block at location 1 meter east {_breaklocation} is stone:0:
  95. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  96. if block at location 1 meter west {_breaklocation} is stone:0:
  97. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  98. if block at location 1 meter northeast {_breaklocation} is stone:0:
  99. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  100. if block at location 1 meter north {_breaklocation} is stone:0:
  101. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  102. if block at location 1 meter northwest {_breaklocation} is stone:0:
  103. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  104. if block at location 1 meter southeast 1 meter below {_breaklocation} is stone:0:
  105. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  106. if block at location 1 meter south 1 meter below {_breaklocation} is stone:0:
  107. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  108. if block at location 1 meter southwest 1 meter below {_breaklocation} is stone:0:
  109. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  110. if block at location 1 meter east 1 meter below {_breaklocation} is stone:0:
  111. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  112. if block at location 1 meter below {_breaklocation} is stone:0:
  113. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  114. if block at location 1 meter west 1 meter below {_breaklocation} is stone:0:
  115. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  116. if block at location 1 meter northeast 1 meter below {_breaklocation} is stone:0:
  117. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  118. if block at location 1 meter north 1 meter below {_breaklocation} is stone:0:
  119. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  120. if block at location 1 meter northwest 1 meter below {_breaklocation} is stone:0:
  121. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  122. if event-block is granite:
  123. if block at location 1 meter southeast 1 meter above {_breaklocation} is granite:
  124. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  125. if block at location 1 meter south 1 meter above {_breaklocation} is granite:
  126. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  127. if block at location 1 meter southwest 1 meter above {_breaklocation} is granite:
  128. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  129. if block at location 1 meter east 1 meter above {_breaklocation} is granite:
  130. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  131. if block at location 1 meter above {_breaklocation} is granite:
  132. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  133. if block at location 1 meter west 1 meter above {_breaklocation} is granite:
  134. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  135. if block at location 1 meter northeast 1 meter above {_breaklocation} is granite:
  136. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  137. if block at location 1 meter north 1 meter above {_breaklocation} is granite:
  138. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  139. if block at location 1 meter northwest 1 meter above {_breaklocation} is granite:
  140. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  141. if block at location 1 meter southeast {_breaklocation} is granite:
  142. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  143. if block at location 1 meter south {_breaklocation} is granite:
  144. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  145. if block at location 1 meter southwest {_breaklocation} is granite:
  146. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  147. if block at location 1 meter east {_breaklocation} is granite:
  148. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  149. if block at location 1 meter west {_breaklocation} is granite:
  150. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  151. if block at location 1 meter northeast {_breaklocation} is granite:
  152. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  153. if block at location 1 meter north {_breaklocation} is granite:
  154. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  155. if block at location 1 meter northwest {_breaklocation} is granite:
  156. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  157. if block at location 1 meter southeast 1 meter below {_breaklocation} is granite:
  158. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  159. if block at location 1 meter south 1 meter below {_breaklocation} is granite:
  160. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  161. if block at location 1 meter southwest 1 meter below {_breaklocation} is granite:
  162. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  163. if block at location 1 meter east 1 meter below {_breaklocation} is granite:
  164. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  165. if block at location 1 meter below {_breaklocation} is granite:
  166. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  167. if block at location 1 meter west 1 meter below {_breaklocation} is granite:
  168. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  169. if block at location 1 meter northeast 1 meter below {_breaklocation} is granite:
  170. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  171. if block at location 1 meter north 1 meter below {_breaklocation} is granite:
  172. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  173. if block at location 1 meter northwest 1 meter below {_breaklocation} is granite:
  174. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  175. if event-block is diorite:
  176. if block at location 1 meter southeast 1 meter above {_breaklocation} is diorite:
  177. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  178. if block at location 1 meter south 1 meter above {_breaklocation} is diorite:
  179. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  180. if block at location 1 meter southwest 1 meter above {_breaklocation} is diorite:
  181. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  182. if block at location 1 meter east 1 meter above {_breaklocation} is diorite:
  183. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  184. if block at location 1 meter above {_breaklocation} is diorite:
  185. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  186. if block at location 1 meter west 1 meter above {_breaklocation} is diorite:
  187. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  188. if block at location 1 meter northeast 1 meter above {_breaklocation} is diorite:
  189. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  190. if block at location 1 meter north 1 meter above {_breaklocation} is diorite:
  191. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  192. if block at location 1 meter northwest 1 meter above {_breaklocation} is diorite:
  193. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  194. if block at location 1 meter southeast {_breaklocation} is diorite:
  195. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  196. if block at location 1 meter south {_breaklocation} is diorite:
  197. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  198. if block at location 1 meter southwest {_breaklocation} is diorite:
  199. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  200. if block at location 1 meter east {_breaklocation} is diorite:
  201. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  202. if block at location 1 meter west {_breaklocation} is diorite:
  203. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  204. if block at location 1 meter northeast {_breaklocation} is diorite:
  205. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  206. if block at location 1 meter north {_breaklocation} is diorite:
  207. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  208. if block at location 1 meter northwest {_breaklocation} is diorite:
  209. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  210. if block at location 1 meter southeast 1 meter below {_breaklocation} is diorite:
  211. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  212. if block at location 1 meter south 1 meter below {_breaklocation} is diorite:
  213. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  214. if block at location 1 meter southwest 1 meter below {_breaklocation} is diorite:
  215. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  216. if block at location 1 meter east 1 meter below {_breaklocation} is diorite:
  217. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  218. if block at location 1 meter below {_breaklocation} is diorite:
  219. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  220. if block at location 1 meter west 1 meter below {_breaklocation} is diorite:
  221. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  222. if block at location 1 meter northeast 1 meter below {_breaklocation} is diorite:
  223. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  224. if block at location 1 meter north 1 meter below {_breaklocation} is diorite:
  225. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  226. if block at location 1 meter northwest 1 meter below {_breaklocation} is diorite:
  227. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  228. if event-block is andesite:
  229. if block at location 1 meter southeast 1 meter above {_breaklocation} is andesite:
  230. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  231. if block at location 1 meter south 1 meter above {_breaklocation} is andesite:
  232. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  233. if block at location 1 meter southwest 1 meter above {_breaklocation} is andesite:
  234. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  235. if block at location 1 meter east 1 meter above {_breaklocation} is andesite:
  236. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  237. if block at location 1 meter above {_breaklocation} is andesite:
  238. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  239. if block at location 1 meter west 1 meter above {_breaklocation} is andesite:
  240. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  241. if block at location 1 meter northeast 1 meter above {_breaklocation} is andesite:
  242. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  243. if block at location 1 meter north 1 meter above {_breaklocation} is andesite:
  244. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  245. if block at location 1 meter northwest 1 meter above {_breaklocation} is andesite:
  246. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  247. if block at location 1 meter southeast {_breaklocation} is andesite:
  248. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  249. if block at location 1 meter south {_breaklocation} is andesite:
  250. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  251. if block at location 1 meter southwest {_breaklocation} is andesite:
  252. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  253. if block at location 1 meter east {_breaklocation} is andesite:
  254. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  255. if block at location 1 meter west {_breaklocation} is andesite:
  256. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  257. if block at location 1 meter northeast {_breaklocation} is andesite:
  258. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  259. if block at location 1 meter north {_breaklocation} is andesite:
  260. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  261. if block at location 1 meter northwest {_breaklocation} is andesite:
  262. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  263. if block at location 1 meter southeast 1 meter below {_breaklocation} is andesite:
  264. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  265. if block at location 1 meter south 1 meter below {_breaklocation} is andesite:
  266. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  267. if block at location 1 meter southwest 1 meter below {_breaklocation} is andesite:
  268. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  269. if block at location 1 meter east 1 meter below {_breaklocation} is andesite:
  270. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  271. if block at location 1 meter below {_breaklocation} is andesite:
  272. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  273. if block at location 1 meter west 1 meter below {_breaklocation} is andesite:
  274. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  275. if block at location 1 meter northeast 1 meter below {_breaklocation} is andesite:
  276. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  277. if block at location 1 meter north 1 meter below {_breaklocation} is andesite:
  278. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  279. if block at location 1 meter northwest 1 meter below {_breaklocation} is andesite:
  280. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  281. if event-block is gold_ore:
  282. if block at location 1 meter southeast 1 meter above {_breaklocation} is gold_ore:
  283. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  284. if block at location 1 meter south 1 meter above {_breaklocation} is gold_ore:
  285. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  286. if block at location 1 meter southwest 1 meter above {_breaklocation} is gold_ore:
  287. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  288. if block at location 1 meter east 1 meter above {_breaklocation} is gold_ore:
  289. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  290. if block at location 1 meter above {_breaklocation} is gold_ore:
  291. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  292. if block at location 1 meter west 1 meter above {_breaklocation} is gold_ore:
  293. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  294. if block at location 1 meter northeast 1 meter above {_breaklocation} is gold_ore:
  295. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  296. if block at location 1 meter north 1 meter above {_breaklocation} is gold_ore:
  297. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  298. if block at location 1 meter northwest 1 meter above {_breaklocation} is gold_ore:
  299. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  300. if block at location 1 meter southeast {_breaklocation} is gold_ore:
  301. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  302. if block at location 1 meter south {_breaklocation} is gold_ore:
  303. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  304. if block at location 1 meter southwest {_breaklocation} is gold_ore:
  305. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  306. if block at location 1 meter east {_breaklocation} is gold_ore:
  307. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  308. if block at location 1 meter west {_breaklocation} is gold_ore:
  309. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  310. if block at location 1 meter northeast {_breaklocation} is gold_ore:
  311. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  312. if block at location 1 meter north {_breaklocation} is gold_ore:
  313. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  314. if block at location 1 meter northwest {_breaklocation} is gold_ore:
  315. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  316. if block at location 1 meter southeast 1 meter below {_breaklocation} is gold_ore:
  317. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  318. if block at location 1 meter south 1 meter below {_breaklocation} is gold_ore:
  319. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  320. if block at location 1 meter southwest 1 meter below {_breaklocation} is gold_ore:
  321. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  322. if block at location 1 meter east 1 meter below {_breaklocation} is gold_ore:
  323. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  324. if block at location 1 meter below {_breaklocation} is gold_ore:
  325. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  326. if block at location 1 meter west 1 meter below {_breaklocation} is gold_ore:
  327. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  328. if block at location 1 meter northeast 1 meter below {_breaklocation} is gold_ore:
  329. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  330. if block at location 1 meter north 1 meter below {_breaklocation} is gold_ore:
  331. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  332. if block at location 1 meter northwest 1 meter below {_breaklocation} is gold_ore:
  333. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  334. if event-block is iron_ore:
  335. if block at location 1 meter southeast 1 meter above {_breaklocation} is iron_ore:
  336. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  337. if block at location 1 meter south 1 meter above {_breaklocation} is iron_ore:
  338. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  339. if block at location 1 meter southwest 1 meter above {_breaklocation} is iron_ore:
  340. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  341. if block at location 1 meter east 1 meter above {_breaklocation} is iron_ore:
  342. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  343. if block at location 1 meter above {_breaklocation} is iron_ore:
  344. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  345. if block at location 1 meter west 1 meter above {_breaklocation} is iron_ore:
  346. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  347. if block at location 1 meter northeast 1 meter above {_breaklocation} is iron_ore:
  348. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  349. if block at location 1 meter north 1 meter above {_breaklocation} is iron_ore:
  350. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  351. if block at location 1 meter northwest 1 meter above {_breaklocation} is iron_ore:
  352. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  353. if block at location 1 meter southeast {_breaklocation} is iron_ore:
  354. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  355. if block at location 1 meter south {_breaklocation} is iron_ore:
  356. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  357. if block at location 1 meter southwest {_breaklocation} is iron_ore:
  358. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  359. if block at location 1 meter east {_breaklocation} is iron_ore:
  360. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  361. if block at location 1 meter west {_breaklocation} is iron_ore:
  362. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  363. if block at location 1 meter northeast {_breaklocation} is iron_ore:
  364. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  365. if block at location 1 meter north {_breaklocation} is iron_ore:
  366. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  367. if block at location 1 meter northwest {_breaklocation} is iron_ore:
  368. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  369. if block at location 1 meter southeast 1 meter below {_breaklocation} is iron_ore:
  370. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  371. if block at location 1 meter south 1 meter below {_breaklocation} is iron_ore:
  372. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  373. if block at location 1 meter southwest 1 meter below {_breaklocation} is iron_ore:
  374. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  375. if block at location 1 meter east 1 meter below {_breaklocation} is iron_ore:
  376. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  377. if block at location 1 meter below {_breaklocation} is iron_ore:
  378. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  379. if block at location 1 meter west 1 meter below {_breaklocation} is iron_ore:
  380. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  381. if block at location 1 meter northeast 1 meter below {_breaklocation} is iron_ore:
  382. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  383. if block at location 1 meter north 1 meter below {_breaklocation} is iron_ore:
  384. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  385. if block at location 1 meter northwest 1 meter below {_breaklocation} is iron_ore:
  386. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  387. if event-block is coal_ore:
  388. if block at location 1 meter southeast 1 meter above {_breaklocation} is coal_ore:
  389. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  390. if block at location 1 meter south 1 meter above {_breaklocation} is coal_ore:
  391. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  392. if block at location 1 meter southwest 1 meter above {_breaklocation} is coal_ore:
  393. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  394. if block at location 1 meter east 1 meter above {_breaklocation} is coal_ore:
  395. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  396. if block at location 1 meter above {_breaklocation} is coal_ore:
  397. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  398. if block at location 1 meter west 1 meter above {_breaklocation} is coal_ore:
  399. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  400. if block at location 1 meter northeast 1 meter above {_breaklocation} is coal_ore:
  401. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  402. if block at location 1 meter north 1 meter above {_breaklocation} is coal_ore:
  403. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  404. if block at location 1 meter northwest 1 meter above {_breaklocation} is coal_ore:
  405. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  406. if block at location 1 meter southeast {_breaklocation} is coal_ore:
  407. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  408. if block at location 1 meter south {_breaklocation} is coal_ore:
  409. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  410. if block at location 1 meter southwest {_breaklocation} is coal_ore:
  411. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  412. if block at location 1 meter east {_breaklocation} is coal_ore:
  413. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  414. if block at location 1 meter west {_breaklocation} is coal_ore:
  415. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  416. if block at location 1 meter northeast {_breaklocation} is coal_ore:
  417. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  418. if block at location 1 meter north {_breaklocation} is coal_ore:
  419. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  420. if block at location 1 meter northwest {_breaklocation} is coal_ore:
  421. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  422. if block at location 1 meter southeast 1 meter below {_breaklocation} is coal_ore:
  423. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  424. if block at location 1 meter south 1 meter below {_breaklocation} is coal_ore:
  425. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  426. if block at location 1 meter southwest 1 meter below {_breaklocation} is coal_ore:
  427. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  428. if block at location 1 meter east 1 meter below {_breaklocation} is coal_ore:
  429. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  430. if block at location 1 meter below {_breaklocation} is coal_ore:
  431. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  432. if block at location 1 meter west 1 meter below {_breaklocation} is coal_ore:
  433. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  434. if block at location 1 meter northeast 1 meter below {_breaklocation} is coal_ore:
  435. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  436. if block at location 1 meter north 1 meter below {_breaklocation} is coal_ore:
  437. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  438. if block at location 1 meter northwest 1 meter below {_breaklocation} is coal_ore:
  439. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  440. if event-block is lapis_lazuli_ore:
  441. if block at location 1 meter southeast 1 meter above {_breaklocation} is lapis_lazuli_ore:
  442. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  443. if block at location 1 meter south 1 meter above {_breaklocation} is lapis_lazuli_ore:
  444. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  445. if block at location 1 meter southwest 1 meter above {_breaklocation} is lapis_lazuli_ore:
  446. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  447. if block at location 1 meter east 1 meter above {_breaklocation} is lapis_lazuli_ore:
  448. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  449. if block at location 1 meter above {_breaklocation} is lapis_lazuli_ore:
  450. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  451. if block at location 1 meter west 1 meter above {_breaklocation} is lapis_lazuli_ore:
  452. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  453. if block at location 1 meter northeast 1 meter above {_breaklocation} is lapis_lazuli_ore:
  454. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  455. if block at location 1 meter north 1 meter above {_breaklocation} is lapis_lazuli_ore:
  456. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  457. if block at location 1 meter northwest 1 meter above {_breaklocation} is lapis_lazuli_ore:
  458. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  459. if block at location 1 meter southeast {_breaklocation} is lapis_lazuli_ore:
  460. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  461. if block at location 1 meter south {_breaklocation} is lapis_lazuli_ore:
  462. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  463. if block at location 1 meter southwest {_breaklocation} is lapis_lazuli_ore:
  464. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  465. if block at location 1 meter east {_breaklocation} is lapis_lazuli_ore:
  466. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  467. if block at location 1 meter west {_breaklocation} is lapis_lazuli_ore:
  468. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  469. if block at location 1 meter northeast {_breaklocation} is lapis_lazuli_ore:
  470. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  471. if block at location 1 meter north {_breaklocation} is lapis_lazuli_ore:
  472. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  473. if block at location 1 meter northwest {_breaklocation} is lapis_lazuli_ore:
  474. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  475. if block at location 1 meter southeast 1 meter below {_breaklocation} is lapis_lazuli_ore:
  476. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  477. if block at location 1 meter south 1 meter below {_breaklocation} is lapis_lazuli_ore:
  478. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  479. if block at location 1 meter southwest 1 meter below {_breaklocation} is lapis_lazuli_ore:
  480. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  481. if block at location 1 meter east 1 meter below {_breaklocation} is lapis_lazuli_ore:
  482. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  483. if block at location 1 meter below {_breaklocation} is lapis_lazuli_ore:
  484. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  485. if block at location 1 meter west 1 meter below {_breaklocation} is lapis_lazuli_ore:
  486. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  487. if block at location 1 meter northeast 1 meter below {_breaklocation} is lapis_lazuli_ore:
  488. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  489. if block at location 1 meter north 1 meter below {_breaklocation} is lapis_lazuli_ore:
  490. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  491. if block at location 1 meter northwest 1 meter below {_breaklocation} is lapis_lazuli_ore:
  492. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  493. if event-block is diamond_ore:
  494. if block at location 1 meter southeast 1 meter above {_breaklocation} is diamond_ore:
  495. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  496. if block at location 1 meter south 1 meter above {_breaklocation} is diamond_ore:
  497. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  498. if block at location 1 meter southwest 1 meter above {_breaklocation} is diamond_ore:
  499. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  500. if block at location 1 meter east 1 meter above {_breaklocation} is diamond_ore:
  501. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  502. if block at location 1 meter above {_breaklocation} is diamond_ore:
  503. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  504. if block at location 1 meter west 1 meter above {_breaklocation} is diamond_ore:
  505. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  506. if block at location 1 meter northeast 1 meter above {_breaklocation} is diamond_ore:
  507. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  508. if block at location 1 meter north 1 meter above {_breaklocation} is diamond_ore:
  509. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  510. if block at location 1 meter northwest 1 meter above {_breaklocation} is diamond_ore:
  511. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  512. if block at location 1 meter southeast {_breaklocation} is diamond_ore:
  513. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  514. if block at location 1 meter south {_breaklocation} is diamond_ore:
  515. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  516. if block at location 1 meter southwest {_breaklocation} is diamond_ore:
  517. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  518. if block at location 1 meter east {_breaklocation} is diamond_ore:
  519. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  520. if block at location 1 meter west {_breaklocation} is diamond_ore:
  521. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  522. if block at location 1 meter northeast {_breaklocation} is diamond_ore:
  523. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  524. if block at location 1 meter north {_breaklocation} is diamond_ore:
  525. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  526. if block at location 1 meter northwest {_breaklocation} is diamond_ore:
  527. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  528. if block at location 1 meter southeast 1 meter below {_breaklocation} is diamond_ore:
  529. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  530. if block at location 1 meter south 1 meter below {_breaklocation} is diamond_ore:
  531. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  532. if block at location 1 meter southwest 1 meter below {_breaklocation} is diamond_ore:
  533. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  534. if block at location 1 meter east 1 meter below {_breaklocation} is diamond_ore:
  535. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  536. if block at location 1 meter below {_breaklocation} is diamond_ore:
  537. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  538. if block at location 1 meter west 1 meter below {_breaklocation} is diamond_ore:
  539. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  540. if block at location 1 meter northeast 1 meter below {_breaklocation} is diamond_ore:
  541. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  542. if block at location 1 meter north 1 meter below {_breaklocation} is diamond_ore:
  543. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  544. if block at location 1 meter northwest 1 meter below {_breaklocation} is diamond_ore:
  545. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  546. if event-block is redstone_ore_off:
  547. if block at location 1 meter southeast 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  548. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  549. if block at location 1 meter south 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  550. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  551. if block at location 1 meter southwest 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  552. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  553. if block at location 1 meter east 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  554. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  555. if block at location 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  556. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  557. if block at location 1 meter west 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  558. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  559. if block at location 1 meter northeast 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  560. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  561. if block at location 1 meter north 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  562. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  563. if block at location 1 meter northwest 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  564. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  565. if block at location 1 meter southeast {_breaklocation} is redstone_ore_off or active_redstone_ore:
  566. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  567. if block at location 1 meter south {_breaklocation} is redstone_ore_off or active_redstone_ore:
  568. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  569. if block at location 1 meter southwest {_breaklocation} is redstone_ore_off or active_redstone_ore:
  570. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  571. if block at location 1 meter east {_breaklocation} is redstone_ore_off or active_redstone_ore:
  572. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  573. if block at location 1 meter west {_breaklocation} is redstone_ore_off or active_redstone_ore:
  574. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  575. if block at location 1 meter northeast {_breaklocation} is redstone_ore_off or active_redstone_ore:
  576. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  577. if block at location 1 meter north {_breaklocation} is redstone_ore_off or active_redstone_ore:
  578. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  579. if block at location 1 meter northwest {_breaklocation} is redstone_ore_off or active_redstone_ore:
  580. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  581. if block at location 1 meter southeast 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  582. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  583. if block at location 1 meter south 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  584. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  585. if block at location 1 meter southwest 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  586. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  587. if block at location 1 meter east 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  588. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  589. if block at location 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  590. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  591. if block at location 1 meter west 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  592. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  593. if block at location 1 meter northeast 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  594. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  595. if block at location 1 meter north 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  596. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  597. if block at location 1 meter northwest 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  598. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  599. if event-block is active_redstone_ore:
  600. if block at location 1 meter southeast 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  601. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  602. if block at location 1 meter south 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  603. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  604. if block at location 1 meter southwest 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  605. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  606. if block at location 1 meter east 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  607. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  608. if block at location 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  609. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  610. if block at location 1 meter west 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  611. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  612. if block at location 1 meter northeast 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  613. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  614. if block at location 1 meter north 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  615. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  616. if block at location 1 meter northwest 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  617. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  618. if block at location 1 meter southeast {_breaklocation} is redstone_ore_off or active_redstone_ore:
  619. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  620. if block at location 1 meter south {_breaklocation} is redstone_ore_off or active_redstone_ore:
  621. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  622. if block at location 1 meter southwest {_breaklocation} is redstone_ore_off or active_redstone_ore:
  623. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  624. if block at location 1 meter east {_breaklocation} is redstone_ore_off or active_redstone_ore:
  625. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  626. if block at location 1 meter west {_breaklocation} is redstone_ore_off or active_redstone_ore:
  627. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  628. if block at location 1 meter northeast {_breaklocation} is redstone_ore_off or active_redstone_ore:
  629. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  630. if block at location 1 meter north {_breaklocation} is redstone_ore_off or active_redstone_ore:
  631. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  632. if block at location 1 meter northwest {_breaklocation} is redstone_ore_off or active_redstone_ore:
  633. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  634. if block at location 1 meter southeast 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  635. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  636. if block at location 1 meter south 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  637. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  638. if block at location 1 meter southwest 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  639. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  640. if block at location 1 meter east 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  641. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  642. if block at location 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  643. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  644. if block at location 1 meter west 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  645. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  646. if block at location 1 meter northeast 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  647. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  648. if block at location 1 meter north 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  649. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  650. if block at location 1 meter northwest 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  651. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  652. if event-block is emerald_ore:
  653. if block at location 1 meter southeast 1 meter above {_breaklocation} is emerald_ore:
  654. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  655. if block at location 1 meter south 1 meter above {_breaklocation} is emerald_ore:
  656. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  657. if block at location 1 meter southwest 1 meter above {_breaklocation} is emerald_ore:
  658. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  659. if block at location 1 meter east 1 meter above {_breaklocation} is emerald_ore:
  660. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  661. if block at location 1 meter above {_breaklocation} is emerald_ore:
  662. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  663. if block at location 1 meter west 1 meter above {_breaklocation} is emerald_ore:
  664. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  665. if block at location 1 meter northeast 1 meter above {_breaklocation} is emerald_ore:
  666. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  667. if block at location 1 meter north 1 meter above {_breaklocation} is emerald_ore:
  668. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  669. if block at location 1 meter northwest 1 meter above {_breaklocation} is emerald_ore:
  670. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  671. if block at location 1 meter southeast {_breaklocation} is emerald_ore:
  672. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  673. if block at location 1 meter south {_breaklocation} is emerald_ore:
  674. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  675. if block at location 1 meter southwest {_breaklocation} is emerald_ore:
  676. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  677. if block at location 1 meter east {_breaklocation} is emerald_ore:
  678. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  679. if block at location 1 meter west {_breaklocation} is emerald_ore:
  680. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  681. if block at location 1 meter northeast {_breaklocation} is emerald_ore:
  682. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  683. if block at location 1 meter north {_breaklocation} is emerald_ore:
  684. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  685. if block at location 1 meter northwest {_breaklocation} is emerald_ore:
  686. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  687. if block at location 1 meter southeast 1 meter below {_breaklocation} is emerald_ore:
  688. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  689. if block at location 1 meter south 1 meter below {_breaklocation} is emerald_ore:
  690. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  691. if block at location 1 meter southwest 1 meter below {_breaklocation} is emerald_ore:
  692. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  693. if block at location 1 meter east 1 meter below {_breaklocation} is emerald_ore:
  694. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  695. if block at location 1 meter below {_breaklocation} is emerald_ore:
  696. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  697. if block at location 1 meter west 1 meter below {_breaklocation} is emerald_ore:
  698. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  699. if block at location 1 meter northeast 1 meter below {_breaklocation} is emerald_ore:
  700. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  701. if block at location 1 meter north 1 meter below {_breaklocation} is emerald_ore:
  702. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  703. if block at location 1 meter northwest 1 meter below {_breaklocation} is emerald_ore:
  704. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  705. if event-block is nether_quartz_ore:
  706. if block at location 1 meter southeast 1 meter above {_breaklocation} is nether_quartz_ore:
  707. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  708. if block at location 1 meter south 1 meter above {_breaklocation} is nether_quartz_ore:
  709. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  710. if block at location 1 meter southwest 1 meter above {_breaklocation} is nether_quartz_ore:
  711. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  712. if block at location 1 meter east 1 meter above {_breaklocation} is nether_quartz_ore:
  713. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  714. if block at location 1 meter above {_breaklocation} is nether_quartz_ore:
  715. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  716. if block at location 1 meter west 1 meter above {_breaklocation} is nether_quartz_ore:
  717. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  718. if block at location 1 meter northeast 1 meter above {_breaklocation} is nether_quartz_ore:
  719. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  720. if block at location 1 meter north 1 meter above {_breaklocation} is nether_quartz_ore:
  721. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  722. if block at location 1 meter northwest 1 meter above {_breaklocation} is nether_quartz_ore:
  723. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  724. if block at location 1 meter southeast {_breaklocation} is nether_quartz_ore:
  725. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  726. if block at location 1 meter south {_breaklocation} is nether_quartz_ore:
  727. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  728. if block at location 1 meter southwest {_breaklocation} is nether_quartz_ore:
  729. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  730. if block at location 1 meter east {_breaklocation} is nether_quartz_ore:
  731. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  732. if block at location 1 meter west {_breaklocation} is nether_quartz_ore:
  733. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  734. if block at location 1 meter northeast {_breaklocation} is nether_quartz_ore:
  735. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  736. if block at location 1 meter north {_breaklocation} is nether_quartz_ore:
  737. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  738. if block at location 1 meter northwest {_breaklocation} is nether_quartz_ore:
  739. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  740. if block at location 1 meter southeast 1 meter below {_breaklocation} is nether_quartz_ore:
  741. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  742. if block at location 1 meter south 1 meter below {_breaklocation} is nether_quartz_ore:
  743. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  744. if block at location 1 meter southwest 1 meter below {_breaklocation} is nether_quartz_ore:
  745. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  746. if block at location 1 meter east 1 meter below {_breaklocation} is nether_quartz_ore:
  747. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  748. if block at location 1 meter below {_breaklocation} is nether_quartz_ore:
  749. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  750. if block at location 1 meter west 1 meter below {_breaklocation} is nether_quartz_ore:
  751. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  752. if block at location 1 meter northeast 1 meter below {_breaklocation} is nether_quartz_ore:
  753. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  754. if block at location 1 meter north 1 meter below {_breaklocation} is nether_quartz_ore:
  755. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  756. if block at location 1 meter northwest 1 meter below {_breaklocation} is nether_quartz_ore:
  757. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  758. if event-block is sandstone:0:
  759. if block at location 1 meter southeast 1 meter above {_breaklocation} is sandstone:0:
  760. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  761. if block at location 1 meter south 1 meter above {_breaklocation} is sandstone:0:
  762. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  763. if block at location 1 meter southwest 1 meter above {_breaklocation} is sandstone:0:
  764. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  765. if block at location 1 meter east 1 meter above {_breaklocation} is sandstone:0:
  766. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  767. if block at location 1 meter above {_breaklocation} is sandstone:0:
  768. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  769. if block at location 1 meter west 1 meter above {_breaklocation} is sandstone:0:
  770. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  771. if block at location 1 meter northeast 1 meter above {_breaklocation} is sandstone:0:
  772. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  773. if block at location 1 meter north 1 meter above {_breaklocation} is sandstone:0:
  774. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  775. if block at location 1 meter northwest 1 meter above {_breaklocation} is sandstone:0:
  776. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  777. if block at location 1 meter southeast {_breaklocation} is sandstone:0:
  778. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  779. if block at location 1 meter south {_breaklocation} is sandstone:0:
  780. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  781. if block at location 1 meter southwest {_breaklocation} is sandstone:0:
  782. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  783. if block at location 1 meter east {_breaklocation} is sandstone:0:
  784. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  785. if block at location 1 meter west {_breaklocation} is sandstone:0:
  786. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  787. if block at location 1 meter northeast {_breaklocation} is sandstone:0:
  788. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  789. if block at location 1 meter north {_breaklocation} is sandstone:0:
  790. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  791. if block at location 1 meter northwest {_breaklocation} is sandstone:0:
  792. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  793. if block at location 1 meter southeast 1 meter below {_breaklocation} is sandstone:0:
  794. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  795. if block at location 1 meter south 1 meter below {_breaklocation} is sandstone:0:
  796. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  797. if block at location 1 meter southwest 1 meter below {_breaklocation} is sandstone:0:
  798. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  799. if block at location 1 meter east 1 meter below {_breaklocation} is sandstone:0:
  800. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  801. if block at location 1 meter below {_breaklocation} is sandstone:0:
  802. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  803. if block at location 1 meter west 1 meter below {_breaklocation} is sandstone:0:
  804. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  805. if block at location 1 meter northeast 1 meter below {_breaklocation} is sandstone:0:
  806. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  807. if block at location 1 meter north 1 meter below {_breaklocation} is sandstone:0:
  808. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  809. if block at location 1 meter northwest 1 meter below {_breaklocation} is sandstone:0:
  810. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  811. if event-block is netherrack:
  812. if block at location 1 meter southeast 1 meter above {_breaklocation} is netherrack:
  813. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  814. if block at location 1 meter south 1 meter above {_breaklocation} is netherrack:
  815. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  816. if block at location 1 meter southwest 1 meter above {_breaklocation} is netherrack:
  817. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  818. if block at location 1 meter east 1 meter above {_breaklocation} is netherrack:
  819. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  820. if block at location 1 meter above {_breaklocation} is netherrack:
  821. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  822. if block at location 1 meter west 1 meter above {_breaklocation} is netherrack:
  823. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  824. if block at location 1 meter northeast 1 meter above {_breaklocation} is netherrack:
  825. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  826. if block at location 1 meter north 1 meter above {_breaklocation} is netherrack:
  827. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  828. if block at location 1 meter northwest 1 meter above {_breaklocation} is netherrack:
  829. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  830. if block at location 1 meter southeast {_breaklocation} is netherrack:
  831. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  832. if block at location 1 meter south {_breaklocation} is netherrack:
  833. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  834. if block at location 1 meter southwest {_breaklocation} is netherrack:
  835. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  836. if block at location 1 meter east {_breaklocation} is netherrack:
  837. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  838. if block at location 1 meter west {_breaklocation} is netherrack:
  839. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  840. if block at location 1 meter northeast {_breaklocation} is netherrack:
  841. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  842. if block at location 1 meter north {_breaklocation} is netherrack:
  843. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  844. if block at location 1 meter northwest {_breaklocation} is netherrack:
  845. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  846. if block at location 1 meter southeast 1 meter below {_breaklocation} is netherrack:
  847. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  848. if block at location 1 meter south 1 meter below {_breaklocation} is netherrack:
  849. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  850. if block at location 1 meter southwest 1 meter below {_breaklocation} is netherrack:
  851. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  852. if block at location 1 meter east 1 meter below {_breaklocation} is netherrack:
  853. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  854. if block at location 1 meter below {_breaklocation} is netherrack:
  855. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  856. if block at location 1 meter west 1 meter below {_breaklocation} is netherrack:
  857. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  858. if block at location 1 meter northeast 1 meter below {_breaklocation} is netherrack:
  859. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  860. if block at location 1 meter north 1 meter below {_breaklocation} is netherrack:
  861. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  862. if block at location 1 meter northwest 1 meter below {_breaklocation} is netherrack:
  863. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  864. if event-block is obsidian:
  865. if block at location 1 meter southeast 1 meter above {_breaklocation} is obsidian:
  866. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  867. if block at location 1 meter south 1 meter above {_breaklocation} is obsidian:
  868. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  869. if block at location 1 meter southwest 1 meter above {_breaklocation} is obsidian:
  870. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  871. if block at location 1 meter east 1 meter above {_breaklocation} is obsidian:
  872. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  873. if block at location 1 meter above {_breaklocation} is obsidian:
  874. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  875. if block at location 1 meter west 1 meter above {_breaklocation} is obsidian:
  876. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  877. if block at location 1 meter northeast 1 meter above {_breaklocation} is obsidian:
  878. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  879. if block at location 1 meter north 1 meter above {_breaklocation} is obsidian:
  880. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  881. if block at location 1 meter northwest 1 meter above {_breaklocation} is obsidian:
  882. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  883. if block at location 1 meter southeast {_breaklocation} is obsidian:
  884. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  885. if block at location 1 meter south {_breaklocation} is obsidian:
  886. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  887. if block at location 1 meter southwest {_breaklocation} is obsidian:
  888. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  889. if block at location 1 meter east {_breaklocation} is obsidian:
  890. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  891. if block at location 1 meter west {_breaklocation} is obsidian:
  892. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  893. if block at location 1 meter northeast {_breaklocation} is obsidian:
  894. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  895. if block at location 1 meter north {_breaklocation} is obsidian:
  896. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  897. if block at location 1 meter northwest {_breaklocation} is obsidian:
  898. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  899. if block at location 1 meter southeast 1 meter below {_breaklocation} is obsidian:
  900. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  901. if block at location 1 meter south 1 meter below {_breaklocation} is obsidian:
  902. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  903. if block at location 1 meter southwest 1 meter below {_breaklocation} is obsidian:
  904. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  905. if block at location 1 meter east 1 meter below {_breaklocation} is obsidian:
  906. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  907. if block at location 1 meter below {_breaklocation} is obsidian:
  908. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  909. if block at location 1 meter west 1 meter below {_breaklocation} is obsidian:
  910. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  911. if block at location 1 meter northeast 1 meter below {_breaklocation} is obsidian:
  912. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  913. if block at location 1 meter north 1 meter below {_breaklocation} is obsidian:
  914. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  915. if block at location 1 meter northwest 1 meter below {_breaklocation} is obsidian:
  916. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  917. if event-block is glowstone:
  918. if block at location 1 meter southeast 1 meter above {_breaklocation} is glowstone:
  919. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  920. if block at location 1 meter south 1 meter above {_breaklocation} is glowstone:
  921. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  922. if block at location 1 meter southwest 1 meter above {_breaklocation} is glowstone:
  923. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  924. if block at location 1 meter east 1 meter above {_breaklocation} is glowstone:
  925. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  926. if block at location 1 meter above {_breaklocation} is glowstone:
  927. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  928. if block at location 1 meter west 1 meter above {_breaklocation} is glowstone:
  929. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  930. if block at location 1 meter northeast 1 meter above {_breaklocation} is glowstone:
  931. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  932. if block at location 1 meter north 1 meter above {_breaklocation} is glowstone:
  933. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  934. if block at location 1 meter northwest 1 meter above {_breaklocation} is glowstone:
  935. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  936. if block at location 1 meter southeast {_breaklocation} is glowstone:
  937. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  938. if block at location 1 meter south {_breaklocation} is glowstone:
  939. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  940. if block at location 1 meter southwest {_breaklocation} is glowstone:
  941. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  942. if block at location 1 meter east {_breaklocation} is glowstone:
  943. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  944. if block at location 1 meter west {_breaklocation} is glowstone:
  945. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  946. if block at location 1 meter northeast {_breaklocation} is glowstone:
  947. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  948. if block at location 1 meter north {_breaklocation} is glowstone:
  949. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  950. if block at location 1 meter northwest {_breaklocation} is glowstone:
  951. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  952. if block at location 1 meter southeast 1 meter below {_breaklocation} is glowstone:
  953. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  954. if block at location 1 meter south 1 meter below {_breaklocation} is glowstone:
  955. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  956. if block at location 1 meter southwest 1 meter below {_breaklocation} is glowstone:
  957. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  958. if block at location 1 meter east 1 meter below {_breaklocation} is glowstone:
  959. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  960. if block at location 1 meter below {_breaklocation} is glowstone:
  961. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  962. if block at location 1 meter west 1 meter below {_breaklocation} is glowstone:
  963. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  964. if block at location 1 meter northeast 1 meter below {_breaklocation} is glowstone:
  965. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  966. if block at location 1 meter north 1 meter below {_breaklocation} is glowstone:
  967. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  968. if block at location 1 meter northwest 1 meter below {_breaklocation} is glowstone:
  969. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  970. on mine:
  971. {digall.%player%} is 1
  972. set {_x} to x-coordinate of event-block
  973. set {_y} to y-coordinate of event-block
  974. set {_z} to z-coordinate of event-block
  975. set {_breaklocation} to event-location
  976. player's held item is wooden shovel or stone shovel or iron shovel or gold shovel or diamond shovel
  977. if event-block is dirt or grass or mycelium:
  978. if block at location 1 meter southeast 1 meter above {_breaklocation} is dirt or grass or mycelium:
  979. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  980. if block at location 1 meter south 1 meter above {_breaklocation} is dirt or grass or mycelium:
  981. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  982. if block at location 1 meter southwest 1 meter above {_breaklocation} is dirt or grass or mycelium:
  983. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  984. if block at location 1 meter east 1 meter above {_breaklocation} is dirt or grass or mycelium:
  985. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  986. if block at location 1 meter above {_breaklocation} is dirt or grass or mycelium:
  987. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  988. if block at location 1 meter west 1 meter above {_breaklocation} is dirt or grass or mycelium:
  989. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  990. if block at location 1 meter northeast 1 meter above {_breaklocation} is dirt or grass or mycelium:
  991. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  992. if block at location 1 meter north 1 meter above {_breaklocation} is dirt or grass or mycelium:
  993. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  994. if block at location 1 meter northwest 1 meter above {_breaklocation} is dirt or grass or mycelium:
  995. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  996. if block at location 1 meter southeast {_breaklocation} is dirt or grass or mycelium:
  997. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  998. if block at location 1 meter south {_breaklocation} is dirt or grass or mycelium:
  999. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  1000. if block at location 1 meter southwest {_breaklocation} is dirt or grass or mycelium:
  1001. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  1002. if block at location 1 meter east {_breaklocation} is dirt or grass or mycelium:
  1003. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  1004. if block at location 1 meter west {_breaklocation} is dirt or grass or mycelium:
  1005. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  1006. if block at location 1 meter northeast {_breaklocation} is dirt or grass or mycelium:
  1007. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  1008. if block at location 1 meter north {_breaklocation} is dirt or grass or mycelium:
  1009. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  1010. if block at location 1 meter northwest {_breaklocation} is dirt or grass or mycelium:
  1011. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  1012. if block at location 1 meter southeast 1 meter below {_breaklocation} is dirt or grass or mycelium:
  1013. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  1014. if block at location 1 meter south 1 meter below {_breaklocation} is dirt or grass or mycelium:
  1015. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  1016. if block at location 1 meter southwest 1 meter below {_breaklocation} is dirt or grass or mycelium:
  1017. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  1018. if block at location 1 meter east 1 meter below {_breaklocation} is dirt or grass or mycelium:
  1019. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  1020. if block at location 1 meter below {_breaklocation} is dirt or grass or mycelium:
  1021. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  1022. if block at location 1 meter west 1 meter below {_breaklocation} is dirt or grass or mycelium:
  1023. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  1024. if block at location 1 meter northeast 1 meter below {_breaklocation} is dirt or grass or mycelium:
  1025. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  1026. if block at location 1 meter north 1 meter below {_breaklocation} is dirt or grass or mycelium:
  1027. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  1028. if block at location 1 meter northwest 1 meter below {_breaklocation} is dirt or grass or mycelium:
  1029. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  1030. if event-block is sand:0:
  1031. if block at location 1 meter southeast 1 meter above {_breaklocation} is sand:0:
  1032. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  1033. if block at location 1 meter south 1 meter above {_breaklocation} is sand:0:
  1034. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  1035. if block at location 1 meter southwest 1 meter above {_breaklocation} is sand:0:
  1036. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  1037. if block at location 1 meter east 1 meter above {_breaklocation} is sand:0:
  1038. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  1039. if block at location 1 meter above {_breaklocation} is sand:0:
  1040. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  1041. if block at location 1 meter west 1 meter above {_breaklocation} is sand:0:
  1042. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  1043. if block at location 1 meter northeast 1 meter above {_breaklocation} is sand:0:
  1044. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  1045. if block at location 1 meter north 1 meter above {_breaklocation} is sand:0:
  1046. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  1047. if block at location 1 meter northwest 1 meter above {_breaklocation} is sand:0:
  1048. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  1049. if block at location 1 meter southeast {_breaklocation} is sand:0:
  1050. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  1051. if block at location 1 meter south {_breaklocation} is sand:0:
  1052. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  1053. if block at location 1 meter southwest {_breaklocation} is sand:0:
  1054. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  1055. if block at location 1 meter east {_breaklocation} is sand:0:
  1056. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  1057. if block at location 1 meter west {_breaklocation} is sand:0:
  1058. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  1059. if block at location 1 meter northeast {_breaklocation} is sand:0:
  1060. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  1061. if block at location 1 meter north {_breaklocation} is sand:0:
  1062. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  1063. if block at location 1 meter northwest {_breaklocation} is sand:0:
  1064. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  1065. if block at location 1 meter southeast 1 meter below {_breaklocation} is sand:0:
  1066. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  1067. if block at location 1 meter south 1 meter below {_breaklocation} is sand:0:
  1068. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  1069. if block at location 1 meter southwest 1 meter below {_breaklocation} is sand:0:
  1070. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  1071. if block at location 1 meter east 1 meter below {_breaklocation} is sand:0:
  1072. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  1073. if block at location 1 meter below {_breaklocation} is sand:0:
  1074. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  1075. if block at location 1 meter west 1 meter below {_breaklocation} is sand:0:
  1076. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  1077. if block at location 1 meter northeast 1 meter below {_breaklocation} is sand:0:
  1078. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  1079. if block at location 1 meter north 1 meter below {_breaklocation} is sand:0:
  1080. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  1081. if block at location 1 meter northwest 1 meter below {_breaklocation} is sand:0:
  1082. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  1083. if event-block is sand:1:
  1084. if block at location 1 meter southeast 1 meter above {_breaklocation} is sand:1:
  1085. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  1086. if block at location 1 meter south 1 meter above {_breaklocation} is sand:1:
  1087. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  1088. if block at location 1 meter southwest 1 meter above {_breaklocation} is sand:1:
  1089. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  1090. if block at location 1 meter east 1 meter above {_breaklocation} is sand:1:
  1091. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  1092. if block at location 1 meter above {_breaklocation} is sand:1:
  1093. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  1094. if block at location 1 meter west 1 meter above {_breaklocation} is sand:1:
  1095. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  1096. if block at location 1 meter northeast 1 meter above {_breaklocation} is sand:1:
  1097. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  1098. if block at location 1 meter north 1 meter above {_breaklocation} is sand:1:
  1099. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  1100. if block at location 1 meter northwest 1 meter above {_breaklocation} is sand:1:
  1101. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  1102. if block at location 1 meter southeast {_breaklocation} is sand:1:
  1103. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  1104. if block at location 1 meter south {_breaklocation} is sand:1:
  1105. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  1106. if block at location 1 meter southwest {_breaklocation} is sand:1:
  1107. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  1108. if block at location 1 meter east {_breaklocation} is sand:1:
  1109. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  1110. if block at location 1 meter west {_breaklocation} is sand:1:
  1111. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  1112. if block at location 1 meter northeast {_breaklocation} is sand:1:
  1113. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  1114. if block at location 1 meter north {_breaklocation} is sand:1:
  1115. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  1116. if block at location 1 meter northwest {_breaklocation} is sand:1:
  1117. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  1118. if block at location 1 meter southeast 1 meter below {_breaklocation} is sand:1:
  1119. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  1120. if block at location 1 meter south 1 meter below {_breaklocation} is sand:1:
  1121. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  1122. if block at location 1 meter southwest 1 meter below {_breaklocation} is sand:1:
  1123. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  1124. if block at location 1 meter east 1 meter below {_breaklocation} is sand:1:
  1125. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  1126. if block at location 1 meter below {_breaklocation} is sand:1:
  1127. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  1128. if block at location 1 meter west 1 meter below {_breaklocation} is sand:1:
  1129. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  1130. if block at location 1 meter northeast 1 meter below {_breaklocation} is sand:1:
  1131. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  1132. if block at location 1 meter north 1 meter below {_breaklocation} is sand:1:
  1133. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  1134. if block at location 1 meter northwest 1 meter below {_breaklocation} is sand:1:
  1135. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  1136. if event-block is gravel:
  1137. if block at location 1 meter southeast 1 meter above {_breaklocation} is gravel:
  1138. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  1139. if block at location 1 meter south 1 meter above {_breaklocation} is gravel:
  1140. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  1141. if block at location 1 meter southwest 1 meter above {_breaklocation} is gravel:
  1142. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  1143. if block at location 1 meter east 1 meter above {_breaklocation} is gravel:
  1144. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  1145. if block at location 1 meter above {_breaklocation} is gravel:
  1146. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  1147. if block at location 1 meter west 1 meter above {_breaklocation} is gravel:
  1148. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  1149. if block at location 1 meter northeast 1 meter above {_breaklocation} is gravel:
  1150. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  1151. if block at location 1 meter north 1 meter above {_breaklocation} is gravel:
  1152. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  1153. if block at location 1 meter northwest 1 meter above {_breaklocation} is gravel:
  1154. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  1155. if block at location 1 meter southeast {_breaklocation} is gravel:
  1156. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  1157. if block at location 1 meter south {_breaklocation} is gravel:
  1158. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  1159. if block at location 1 meter southwest {_breaklocation} is gravel:
  1160. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  1161. if block at location 1 meter east {_breaklocation} is gravel:
  1162. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  1163. if block at location 1 meter west {_breaklocation} is gravel:
  1164. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  1165. if block at location 1 meter northeast {_breaklocation} is gravel:
  1166. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  1167. if block at location 1 meter north {_breaklocation} is gravel:
  1168. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  1169. if block at location 1 meter northwest {_breaklocation} is gravel:
  1170. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  1171. if block at location 1 meter southeast 1 meter below {_breaklocation} is gravel:
  1172. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  1173. if block at location 1 meter south 1 meter below {_breaklocation} is gravel:
  1174. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  1175. if block at location 1 meter southwest 1 meter below {_breaklocation} is gravel:
  1176. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  1177. if block at location 1 meter east 1 meter below {_breaklocation} is gravel:
  1178. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  1179. if block at location 1 meter below {_breaklocation} is gravel:
  1180. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  1181. if block at location 1 meter west 1 meter below {_breaklocation} is gravel:
  1182. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  1183. if block at location 1 meter northeast 1 meter below {_breaklocation} is gravel:
  1184. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  1185. if block at location 1 meter north 1 meter below {_breaklocation} is gravel:
  1186. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  1187. if block at location 1 meter northwest 1 meter below {_breaklocation} is gravel:
  1188. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  1189. if event-block is soulsand:
  1190. if block at location 1 meter southeast 1 meter above {_breaklocation} is soulsand:
  1191. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  1192. if block at location 1 meter south 1 meter above {_breaklocation} is soulsand:
  1193. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  1194. if block at location 1 meter southwest 1 meter above {_breaklocation} is soulsand:
  1195. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  1196. if block at location 1 meter east 1 meter above {_breaklocation} is soulsand:
  1197. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  1198. if block at location 1 meter above {_breaklocation} is soulsand:
  1199. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  1200. if block at location 1 meter west 1 meter above {_breaklocation} is soulsand:
  1201. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  1202. if block at location 1 meter northeast 1 meter above {_breaklocation} is soulsand:
  1203. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  1204. if block at location 1 meter north 1 meter above {_breaklocation} is soulsand:
  1205. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  1206. if block at location 1 meter northwest 1 meter above {_breaklocation} is soulsand:
  1207. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  1208. if block at location 1 meter southeast {_breaklocation} is soulsand:
  1209. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  1210. if block at location 1 meter south {_breaklocation} is soulsand:
  1211. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  1212. if block at location 1 meter southwest {_breaklocation} is soulsand:
  1213. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  1214. if block at location 1 meter east {_breaklocation} is soulsand:
  1215. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  1216. if block at location 1 meter west {_breaklocation} is soulsand:
  1217. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  1218. if block at location 1 meter northeast {_breaklocation} is soulsand:
  1219. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  1220. if block at location 1 meter north {_breaklocation} is soulsand:
  1221. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  1222. if block at location 1 meter northwest {_breaklocation} is soulsand:
  1223. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  1224. if block at location 1 meter southeast 1 meter below {_breaklocation} is soulsand:
  1225. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  1226. if block at location 1 meter south 1 meter below {_breaklocation} is soulsand:
  1227. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  1228. if block at location 1 meter southwest 1 meter below {_breaklocation} is soulsand:
  1229. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  1230. if block at location 1 meter east 1 meter below {_breaklocation} is soulsand:
  1231. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  1232. if block at location 1 meter below {_breaklocation} is soulsand:
  1233. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  1234. if block at location 1 meter west 1 meter below {_breaklocation} is soulsand:
  1235. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  1236. if block at location 1 meter northeast 1 meter below {_breaklocation} is soulsand:
  1237. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  1238. if block at location 1 meter north 1 meter below {_breaklocation} is soulsand:
  1239. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  1240. if block at location 1 meter northwest 1 meter below {_breaklocation} is soulsand:
  1241. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  1242. if event-block is clay:
  1243. if block at location 1 meter southeast 1 meter above {_breaklocation} is clay:
  1244. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  1245. if block at location 1 meter south 1 meter above {_breaklocation} is clay:
  1246. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  1247. if block at location 1 meter southwest 1 meter above {_breaklocation} is clay:
  1248. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  1249. if block at location 1 meter east 1 meter above {_breaklocation} is clay:
  1250. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  1251. if block at location 1 meter above {_breaklocation} is clay:
  1252. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  1253. if block at location 1 meter west 1 meter above {_breaklocation} is clay:
  1254. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  1255. if block at location 1 meter northeast 1 meter above {_breaklocation} is clay:
  1256. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  1257. if block at location 1 meter north 1 meter above {_breaklocation} is clay:
  1258. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  1259. if block at location 1 meter northwest 1 meter above {_breaklocation} is clay:
  1260. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  1261. if block at location 1 meter southeast {_breaklocation} is clay:
  1262. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  1263. if block at location 1 meter south {_breaklocation} is clay:
  1264. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  1265. if block at location 1 meter southwest {_breaklocation} is clay:
  1266. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  1267. if block at location 1 meter east {_breaklocation} is clay:
  1268. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  1269. if block at location 1 meter west {_breaklocation} is clay:
  1270. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  1271. if block at location 1 meter northeast {_breaklocation} is clay:
  1272. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  1273. if block at location 1 meter north {_breaklocation} is clay:
  1274. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  1275. if block at location 1 meter northwest {_breaklocation} is clay:
  1276. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  1277. if block at location 1 meter southeast 1 meter below {_breaklocation} is clay:
  1278. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  1279. if block at location 1 meter south 1 meter below {_breaklocation} is clay:
  1280. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  1281. if block at location 1 meter southwest 1 meter below {_breaklocation} is clay:
  1282. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  1283. if block at location 1 meter east 1 meter below {_breaklocation} is clay:
  1284. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  1285. if block at location 1 meter below {_breaklocation} is clay:
  1286. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  1287. if block at location 1 meter west 1 meter below {_breaklocation} is clay:
  1288. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  1289. if block at location 1 meter northeast 1 meter below {_breaklocation} is clay:
  1290. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  1291. if block at location 1 meter north 1 meter below {_breaklocation} is clay:
  1292. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  1293. if block at location 1 meter northwest 1 meter below {_breaklocation} is clay:
  1294. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  1295. on load:
  1296. execute console command "scoreboard objectives add woodbreakerage dummy"
  1297. every tick:
  1298. execute console command "scoreboard players add @e[tag=breakwood] woodbreakerage 1"
  1299. execute console command "execute @e[tag=breakwood,score_woodbreakerage_min=1,score_woodbreakerage=1] ~ ~ ~ detect ~1 ~ ~ log -1 summon armor_stand ~1 ~ ~ {Tags:[""breakwood""],Invisible:1b,Marker:1b,NoGravity:1b}"
  1300. execute console command "execute @e[tag=breakwood,score_woodbreakerage_min=1,score_woodbreakerage=1] ~ ~ ~ detect ~1 ~ ~ log2 -1 summon armor_stand ~1 ~ ~ {Tags:[""breakwood""],Invisible:1b,Marker:1b,NoGravity:1b}"
  1301. execute console command "execute @e[tag=breakwood,score_woodbreakerage_min=1,score_woodbreakerage=1] ~ ~ ~ detect ~-1 ~ ~ log -1 summon armor_stand ~-1 ~ ~ {Tags:[""breakwood""],Invisible:1b,Marker:1b,NoGravity:1b}"
  1302. execute console command "execute @e[tag=breakwood,score_woodbreakerage_min=1,score_woodbreakerage=1] ~ ~ ~ detect ~-1 ~ ~ log2 -1 summon armor_stand ~-1 ~ ~ {Tags:[""breakwood""],Invisible:1b,Marker:1b,NoGravity:1b}"
  1303. execute console command "execute @e[tag=breakwood,score_woodbreakerage_min=1,score_woodbreakerage=1] ~ ~ ~ detect ~ ~1 ~ log -1 summon armor_stand ~ ~1 ~ {Tags:[""breakwood""],Invisible:1b,Marker:1b,NoGravity:1b}"
  1304. execute console command "execute @e[tag=breakwood,score_woodbreakerage_min=1,score_woodbreakerage=1] ~ ~ ~ detect ~ ~1 ~ log2 -1 summon armor_stand ~ ~1 ~ {Tags:[""breakwood""],Invisible:1b,Marker:1b,NoGravity:1b}"
  1305. execute console command "execute @e[tag=breakwood,score_woodbreakerage_min=1,score_woodbreakerage=1] ~ ~ ~ detect ~ ~-1 ~ log -1 summon armor_stand ~ ~-1 ~ {Tags:[""breakwood""],Invisible:1b,Marker:1b,NoGravity:1b}"
  1306. execute console command "execute @e[tag=breakwood,score_woodbreakerage_min=1,score_woodbreakerage=1] ~ ~ ~ detect ~ ~-1 ~ log2 -1 summon armor_stand ~ ~-1 ~ {Tags:[""breakwood""],Invisible:1b,Marker:1b,NoGravity:1b}"
  1307. execute console command "execute @e[tag=breakwood,score_woodbreakerage_min=1,score_woodbreakerage=1] ~ ~ ~ detect ~ ~ ~1 log -1 summon armor_stand ~ ~ ~1 {Tags:[""breakwood""],Invisible:1b,Marker:1b,NoGravity:1b}"
  1308. execute console command "execute @e[tag=breakwood,score_woodbreakerage_min=1,score_woodbreakerage=1] ~ ~ ~ detect ~ ~ ~1 log2 -1 summon armor_stand ~ ~ ~1 {Tags:[""breakwood""],Invisible:1b,Marker:1b,NoGravity:1b}"
  1309. execute console command "execute @e[tag=breakwood,score_woodbreakerage_min=1,score_woodbreakerage=1] ~ ~ ~ detect ~ ~ ~-1 log -1 summon armor_stand ~ ~ ~-1 {Tags:[""breakwood""],Invisible:1b,Marker:1b,NoGravity:1b}"
  1310. execute console command "execute @e[tag=breakwood,score_woodbreakerage_min=1,score_woodbreakerage=1] ~ ~ ~ detect ~ ~ ~-1 log2 -1 summon armor_stand ~ ~ ~-1 {Tags:[""breakwood""],Invisible:1b,Marker:1b,NoGravity:1b}"
  1311. execute console command "execute @e[tag=breakwood,score_woodbreakerage_min=2,score_woodbreakerage=2] ~ ~ ~ detect ~ ~ ~ log -1 setblock ~ ~ ~ air 0 destroy"
  1312. execute console command "execute @e[tag=breakwood,score_woodbreakerage_min=2,score_woodbreakerage=2] ~ ~ ~ detect ~ ~ ~ log2 -1 setblock ~ ~ ~ air 0 destroy"
  1313. execute console command "kill @e[type=armor_stand,tag=breakwood,score_woodbreakerage_min=2,score_woodbreakerage=2]"
  1314. on mine:
  1315. {cutall.%player%} is 1
  1316. set {_x} to x-coordinate of event-block
  1317. set {_y} to y-coordinate of event-block
  1318. set {_z} to z-coordinate of event-block
  1319. set {_breaklocation} to event-location
  1320. event-block is oak log or spruce log or birch log or jungle log or acacia log or dark oak log
  1321. player's held item is wooden axe or stone axe or iron axe or gold axe or diamond axe
  1322. execute console command "execute %player% ~ ~ ~ summon armor_stand %{_x}% %{_y}% %{_z}% {Tags:[""breakwood""],Invisible:1b,Marker:1b,NoGravity:1b}"
  1323. on place:
  1324. event-block is hopper
  1325. if name of player's held item is "&8Upgrade Hopper":
  1326. set {upgradehopper.%event-location%} to event-location
  1327. execute console command "execute %player% ~ ~ ~ summon armor_stand %x-coordinate of event-block% %y-coordinate of event-block% %z-coordinate of event-block% {Tags:[""upgradehopper""],Invisible:1b,NoGravity:1b,Marker:1b}"
  1328. on break:
  1329. if {upgradehopper.%event-location%} is event-location:
  1330. delete {upgradehopper.%event-location%}
  1331. if player's gamemode is survival or adventure:
  1332. execute console command "execute %player% %x-coordinate of event-block% %y-coordinate of event-block% %z-coordinate of event-block% entitydata @e[type=item,c=1,r=1] {Item:{id:""minecraft:hopper"",tag:{Name:""&8Upgrade Hopper""}}}"
  1333. on place:
  1334. event-block is furnace
  1335. if name of player's held item is "&cUpgrade Furnace":
  1336. set {upgradefurnace.%event-location%} to event-location
  1337. execute console command "execute %player% ~ ~ ~ summon armor_stand %x-coordinate of event-block% %y-coordinate of event-block% %z-coordinate of event-block% {Tags:[""upgradefurnace""],Invisible:1b,NoGravity:1b,Marker:1b}"
  1338. on break:
  1339. if {upgradefurnace.%event-location%} is event-location:
  1340. delete {upgradefurnace.%event-location%}
  1341. if player's gamemode is survival or adventure:
  1342. execute console command "execute %player% %x-coordinate of event-block% %y-coordinate of event-block% %z-coordinate of event-block% entitydata @e[type=item,c=1,r=1] {Item:{id:""minecraft:furnace"",tag:{Name:""&cUpgrade Furnace""}}}"
  1343. every tick:
  1344. execute console command "execute @e[tag=upgradehopper] ~ ~ ~ blockdata ~ ~ ~ {TransferCooldown:0}"
  1345. execute console command "execute @e[tag=upgradefurnace] ~ ~ ~ blockdata ~ ~ ~ {CookTime:0s,CookTimeTotal:0s}"
  1346. execute console command "execute @e[tag=upgradehopper] ~ ~ ~ detect ~ ~ ~ air 0 kill @s"
  1347. execute console command "execute @e[tag=upgradefurnace] ~ ~ ~ detect ~ ~ ~ air 0 kill @s"
  1348. on death:
  1349. force victim to respawn
  1350. victim is a player
  1351. set {_attacker} to attacker
  1352. set {_shooter} to shooter
  1353. if {_attacker} is set:
  1354. if attacker is TNT:
  1355. set the death message to "%victim%&7 were blew up"
  1356. stop
  1357. if attacker is falling block:
  1358. set the death message to "%victim%&7 was crushed by falling block"
  1359. stop
  1360. if {_shooter} is set:
  1361. if attacker is a player:
  1362. if {_attacker} is victim:
  1363. set the death message to "%victim%&7 was suicide"
  1364. stop
  1365. set {_weapon} to name of attacker's held item
  1366. if {_weapon} is set:
  1367. set the death message to "%victim%&7 was shot by &r%attacker%&7 using &r%{_weapon}%"
  1368. stop
  1369. else:
  1370. set the death message to "%victim%&7 was shot by &r%attacker%"
  1371. stop
  1372. else:
  1373. set the death message to "%victim%&7 was shot by &r%attacker%"
  1374. stop
  1375.  
  1376. if damage was caused by entity explosion:
  1377. set the death message to "%victim%&7 was blew up by &r%attacker%"
  1378. stop
  1379. if damage was caused by block explosion:
  1380. set the death message to "%victim%&7 was blew up by &r%attacker%"
  1381. stop
  1382. if damage was caused by potion:
  1383. set the death message to "%victim%&7 was killed by &r%attacker%&7's magic"
  1384. stop
  1385. else:
  1386. if attacker is a player:
  1387. set {_weapon} to name of attacker's held item
  1388. if {_weapon} is set:
  1389. set the death message to "%victim%&7 was slain by &r%attacker%&7 using &r%{_weapon}%"
  1390. stop
  1391. else:
  1392. set the death message to "%victim%&7 was slain by &r%attacker%"
  1393. stop
  1394. else:
  1395. set the death message to "%victim%&7 was slain by &r%attacker%"
  1396. stop
  1397. else:
  1398. if damage was caused by fall:
  1399. set the death message to "%victim%&7 is died due to fall"
  1400. stop
  1401. if damage was caused by lava:
  1402. set the death message to "%victim%&7 is died due to lava"
  1403. stop
  1404. if damage was caused by fire, burning or melting:
  1405. set the death message to "%victim%&7 is died by burned"
  1406. stop
  1407. if damage was caused by drowning:
  1408. set the death message to "%victim%&7 is drowned"
  1409. stop
  1410. if damage was caused by potion:
  1411. set the death message to "%victim%&7 is killed by magic"
  1412. stop
  1413. if damage was caused by entity explosion:
  1414. set the death message to "%victim%&7 were blew up"
  1415. stop
  1416. if damage was caused by block explosion:
  1417. set the death message to "%victim%&7 were blew up"
  1418. stop
  1419. if damage was caused by lightning:
  1420. set the death message to "%victim%&7 was striked by lightning"
  1421. stop
  1422. if damage was caused by starvation:
  1423. set the death message to "%victim%&7 was starved to death"
  1424. stop
  1425. if damage was caused by suicide:
  1426. set the death message to "%victim%&7 was suicide"
  1427. stop
  1428. if damage was caused by projectile:
  1429. set the death message to "%victim%&7 was shot trough"
  1430. stop
  1431. if damage was caused by void:
  1432. set the death message to "%victim%&7 is fell to void"
  1433. stop
  1434. if damage was caused by wither:
  1435. set the death message to "%victim%&7 was killed by wither"
  1436. stop
  1437. if damage was caused by suffocation:
  1438. set the death message to "%victim%&7 was suffocated"
  1439. stop
  1440. if damage was caused by unknown:
  1441. set the death message to "%victim%&7 is died"
  1442. stop
  1443. on place of mob spawner:
  1444. if name of player's held item is "&r空のモンスタースポナー":
  1445. set block at event-location to air
  1446. execute console command "execute %player% ~ ~ ~ setblock %x-coordinate of event-block% %y-coordinate of event-block% %z-coordinate of event-block% minecraft:mob_spawner 0 replace {SpawnCount:0s,SpawnRange:0s,MaxNearbyEntities:0s,Delay:0s,MinSpawnDelay:0s,MaxSpawnDelay:0s,RequiredPlayerRange:0s,SpawnPotentials:[{Weight:1,Entity:{id:""empty""}}]}"
  1447. on break of mob spawner:
  1448. player's gamemode is survival or adventure
  1449. player's tool is wooden pickaxe or stone pickaxe or iron pickaxe or golden pickaxe or diamond pickaxe
  1450. drop mob spawner named "&r空のモンスタースポナー" at event-location
  1451. on rightclick on mob spawner with spawner egg:
  1452. execute console command "execute %player% ~ ~ ~ blockdata %x-coordinate of event-block% %y-coordinate of event-block% %z-coordinate of event-block% {SpawnCount:4s,SpawnRange:4s,MaxNearbyEntities:16s,Delay:-1s,MinSpawnDelay:300s,MaxSpawnDelay:600s,RequiredPlayerRange:16s}"
  1453. on rightclick with spawner egg:
  1454. player's gamemode is not creative
  1455. if clicked block is mob spawner:
  1456. stop
  1457. else:
  1458. cancel event
  1459. every second:
  1460. loop all players:
  1461. loop-player's gamemode is adventure or survival
  1462. if loop-player is sprinting:
  1463. if {stamina.%loop-player%} is greater than or equal to 1:
  1464. remove 1 from {stamina.%loop-player%}
  1465. if {stamina.%loop-player%} is 0:
  1466. set loop-player's walk speed to 0.1
  1467. set {exhaustion.%loop-player%} to 1
  1468. every 10 tick:
  1469. loop all players:
  1470. if loop-player is not sprinting:
  1471. if {stamina.%loop-player%} is smaller than 10:
  1472. add 1 to {stamina.%loop-player%}
  1473. if {stamina.%loop-player%} is 10:
  1474. set loop-player's walk speed to 0.2
  1475. set {exhaustion.%loop-player%} to 0
  1476. every tick:
  1477. loop all players:
  1478. if {exhaustion.%loop-player%} is 0:
  1479. if {stamina.%loop-player%} is 0:
  1480. send action bar from "&8▮▮▮▮▮▮▮▮▮▮" to loop-player
  1481. if {stamina.%loop-player%} is 1:
  1482. send action bar from "&8▮▮▮▮▮▮▮▮▮&c▮" to loop-player
  1483. if {stamina.%loop-player%} is 2:
  1484. send action bar from "&8▮▮▮▮▮▮▮▮&6▮▮" to loop-player
  1485. if {stamina.%loop-player%} is 3:
  1486. send action bar from "&8▮▮▮▮▮▮▮&6▮▮▮" to loop-player
  1487. if {stamina.%loop-player%} is 4:
  1488. send action bar from "&8▮▮▮▮▮▮&e▮▮▮▮" to loop-player
  1489. if {stamina.%loop-player%} is 5:
  1490. send action bar from "&8▮▮▮▮▮&e▮▮▮▮▮" to loop-player
  1491. if {stamina.%loop-player%} is 6:
  1492. send action bar from "&8▮▮▮▮&e▮▮▮▮▮▮" to loop-player
  1493. if {stamina.%loop-player%} is 7:
  1494. send action bar from "&8▮▮▮&a▮▮▮▮▮▮▮" to loop-player
  1495. if {stamina.%loop-player%} is 8:
  1496. send action bar from "&8▮▮&a▮▮▮▮▮▮▮▮" to loop-player
  1497. if {stamina.%loop-player%} is 9:
  1498. send action bar from "&8▮&a▮▮▮▮▮▮▮▮▮" to loop-player
  1499. if {stamina.%loop-player%} is 10:
  1500. send action bar from "&a▮▮▮▮▮▮▮▮▮▮" to loop-player
  1501. if {exhaustion.%loop-player%} is 1:
  1502. if {stamina.%loop-player%} is 0:
  1503. send action bar from "&c▮▮▮▮▮▮▮▮▮▮" to loop-player
  1504. if {stamina.%loop-player%} is 1:
  1505. send action bar from "&c▮▮▮▮▮▮▮▮▮&4▮" to loop-player
  1506. if {stamina.%loop-player%} is 2:
  1507. send action bar from "&c▮▮▮▮▮▮▮▮&4▮▮" to loop-player
  1508. if {stamina.%loop-player%} is 3:
  1509. send action bar from "&c▮▮▮▮▮▮▮&4▮▮▮" to loop-player
  1510. if {stamina.%loop-player%} is 4:
  1511. send action bar from "&c▮▮▮▮▮▮&4▮▮▮▮" to loop-player
  1512. if {stamina.%loop-player%} is 5:
  1513. send action bar from "&c▮▮▮▮▮&4▮▮▮▮▮" to loop-player
  1514. if {stamina.%loop-player%} is 6:
  1515. send action bar from "&c▮▮▮▮&4▮▮▮▮▮▮" to loop-player
  1516. if {stamina.%loop-player%} is 7:
  1517. send action bar from "&c▮▮▮&4▮▮▮▮▮▮▮" to loop-player
  1518. if {stamina.%loop-player%} is 8:
  1519. send action bar from "&c▮▮&4▮▮▮▮▮▮▮▮" to loop-player
  1520. if {stamina.%loop-player%} is 9:
  1521. send action bar from "&c▮&4▮▮▮▮▮▮▮▮▮" to loop-player
  1522. if {stamina.%loop-player%} is 10:
  1523. send action bar from "&4▮▮▮▮▮▮▮▮▮▮" to loop-player
Advertisement
Add Comment
Please, Sign In to add comment