akon1248

Untitled

Oct 26th, 2018
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 112.75 KB | None | 0 0
  1. command /mineall:
  2. executable by: player
  3. trigger:
  4. if {mineall.%player%} is not set:
  5. set {mineall.%player%} to 1
  6. send "MineAll ON"
  7. stop
  8. if {mineall.%player%} is 1:
  9. delete {mineall.%player%}
  10. send "MineAll OFF"
  11. command /digall:
  12. executable by: player
  13. trigger:
  14. if {digall.%player%} is not set:
  15. set {digall.%player%} to 1
  16. send "DigAll ON"
  17. stop
  18. if {digall.%player%} is 1:
  19. delete {digall.%player%}
  20. send "DigAll OFF"
  21. command /cutall:
  22. executable by: player
  23. trigger:
  24. if {cutall.%player%} is not set:
  25. set {cutall.%player%} to 1
  26. send "CutAll ON"
  27. stop
  28. if {cutall.%player%} is 1:
  29. delete {cutall.%player%}
  30. send "CutAll OFF"
  31. on mine:
  32. {mineall.%player%} is 1
  33. set {_x} to x-coordinate of event-block
  34. set {_y} to y-coordinate of event-block
  35. set {_z} to z-coordinate of event-block
  36. set {_breaklocation} to event-location
  37. if event-block is stone:0:
  38. if block at location 1 meter southeast 1 meter above {_breaklocation} is stone:0:
  39. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  40. if block at location 1 meter south 1 meter above {_breaklocation} is stone:0:
  41. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  42. if block at location 1 meter southwest 1 meter above {_breaklocation} is stone:0:
  43. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  44. if block at location 1 meter east 1 meter above {_breaklocation} is stone:0:
  45. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  46. if block at location 1 meter above {_breaklocation} is stone:0:
  47. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  48. if block at location 1 meter west 1 meter above {_breaklocation} is stone:0:
  49. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  50. if block at location 1 meter northeast 1 meter above {_breaklocation} is stone:0:
  51. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  52. if block at location 1 meter north 1 meter above {_breaklocation} is stone:0:
  53. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  54. if block at location 1 meter northwest 1 meter above {_breaklocation} is stone:0:
  55. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  56. if block at location 1 meter southeast {_breaklocation} is stone:0:
  57. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  58. if block at location 1 meter south {_breaklocation} is stone:0:
  59. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  60. if block at location 1 meter southwest {_breaklocation} is stone:0:
  61. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  62. if block at location 1 meter east {_breaklocation} is stone:0:
  63. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  64. if block at location 1 meter west {_breaklocation} is stone:0:
  65. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  66. if block at location 1 meter northeast {_breaklocation} is stone:0:
  67. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  68. if block at location 1 meter north {_breaklocation} is stone:0:
  69. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  70. if block at location 1 meter northwest {_breaklocation} is stone:0:
  71. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  72. if block at location 1 meter southeast 1 meter below {_breaklocation} is stone:0:
  73. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  74. if block at location 1 meter south 1 meter below {_breaklocation} is stone:0:
  75. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  76. if block at location 1 meter southwest 1 meter below {_breaklocation} is stone:0:
  77. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  78. if block at location 1 meter east 1 meter below {_breaklocation} is stone:0:
  79. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  80. if block at location 1 meter below {_breaklocation} is stone:0:
  81. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  82. if block at location 1 meter west 1 meter below {_breaklocation} is stone:0:
  83. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  84. if block at location 1 meter northeast 1 meter below {_breaklocation} is stone:0:
  85. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  86. if block at location 1 meter north 1 meter below {_breaklocation} is stone:0:
  87. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  88. if block at location 1 meter northwest 1 meter below {_breaklocation} is stone:0:
  89. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  90. if event-block is granite:
  91. if block at location 1 meter southeast 1 meter above {_breaklocation} is granite:
  92. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  93. if block at location 1 meter south 1 meter above {_breaklocation} is granite:
  94. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  95. if block at location 1 meter southwest 1 meter above {_breaklocation} is granite:
  96. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  97. if block at location 1 meter east 1 meter above {_breaklocation} is granite:
  98. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  99. if block at location 1 meter above {_breaklocation} is granite:
  100. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  101. if block at location 1 meter west 1 meter above {_breaklocation} is granite:
  102. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  103. if block at location 1 meter northeast 1 meter above {_breaklocation} is granite:
  104. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  105. if block at location 1 meter north 1 meter above {_breaklocation} is granite:
  106. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  107. if block at location 1 meter northwest 1 meter above {_breaklocation} is granite:
  108. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  109. if block at location 1 meter southeast {_breaklocation} is granite:
  110. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  111. if block at location 1 meter south {_breaklocation} is granite:
  112. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  113. if block at location 1 meter southwest {_breaklocation} is granite:
  114. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  115. if block at location 1 meter east {_breaklocation} is granite:
  116. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  117. if block at location 1 meter west {_breaklocation} is granite:
  118. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  119. if block at location 1 meter northeast {_breaklocation} is granite:
  120. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  121. if block at location 1 meter north {_breaklocation} is granite:
  122. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  123. if block at location 1 meter northwest {_breaklocation} is granite:
  124. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  125. if block at location 1 meter southeast 1 meter below {_breaklocation} is granite:
  126. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  127. if block at location 1 meter south 1 meter below {_breaklocation} is granite:
  128. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  129. if block at location 1 meter southwest 1 meter below {_breaklocation} is granite:
  130. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  131. if block at location 1 meter east 1 meter below {_breaklocation} is granite:
  132. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  133. if block at location 1 meter below {_breaklocation} is granite:
  134. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  135. if block at location 1 meter west 1 meter below {_breaklocation} is granite:
  136. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  137. if block at location 1 meter northeast 1 meter below {_breaklocation} is granite:
  138. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  139. if block at location 1 meter north 1 meter below {_breaklocation} is granite:
  140. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  141. if block at location 1 meter northwest 1 meter below {_breaklocation} is granite:
  142. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  143. if event-block is diorite:
  144. if block at location 1 meter southeast 1 meter above {_breaklocation} is diorite:
  145. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  146. if block at location 1 meter south 1 meter above {_breaklocation} is diorite:
  147. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  148. if block at location 1 meter southwest 1 meter above {_breaklocation} is diorite:
  149. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  150. if block at location 1 meter east 1 meter above {_breaklocation} is diorite:
  151. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  152. if block at location 1 meter above {_breaklocation} is diorite:
  153. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  154. if block at location 1 meter west 1 meter above {_breaklocation} is diorite:
  155. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  156. if block at location 1 meter northeast 1 meter above {_breaklocation} is diorite:
  157. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  158. if block at location 1 meter north 1 meter above {_breaklocation} is diorite:
  159. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  160. if block at location 1 meter northwest 1 meter above {_breaklocation} is diorite:
  161. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  162. if block at location 1 meter southeast {_breaklocation} is diorite:
  163. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  164. if block at location 1 meter south {_breaklocation} is diorite:
  165. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  166. if block at location 1 meter southwest {_breaklocation} is diorite:
  167. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  168. if block at location 1 meter east {_breaklocation} is diorite:
  169. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  170. if block at location 1 meter west {_breaklocation} is diorite:
  171. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  172. if block at location 1 meter northeast {_breaklocation} is diorite:
  173. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  174. if block at location 1 meter north {_breaklocation} is diorite:
  175. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  176. if block at location 1 meter northwest {_breaklocation} is diorite:
  177. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  178. if block at location 1 meter southeast 1 meter below {_breaklocation} is diorite:
  179. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  180. if block at location 1 meter south 1 meter below {_breaklocation} is diorite:
  181. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  182. if block at location 1 meter southwest 1 meter below {_breaklocation} is diorite:
  183. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  184. if block at location 1 meter east 1 meter below {_breaklocation} is diorite:
  185. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  186. if block at location 1 meter below {_breaklocation} is diorite:
  187. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  188. if block at location 1 meter west 1 meter below {_breaklocation} is diorite:
  189. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  190. if block at location 1 meter northeast 1 meter below {_breaklocation} is diorite:
  191. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  192. if block at location 1 meter north 1 meter below {_breaklocation} is diorite:
  193. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  194. if block at location 1 meter northwest 1 meter below {_breaklocation} is diorite:
  195. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  196. if event-block is andesite:
  197. if block at location 1 meter southeast 1 meter above {_breaklocation} is andesite:
  198. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  199. if block at location 1 meter south 1 meter above {_breaklocation} is andesite:
  200. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  201. if block at location 1 meter southwest 1 meter above {_breaklocation} is andesite:
  202. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  203. if block at location 1 meter east 1 meter above {_breaklocation} is andesite:
  204. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  205. if block at location 1 meter above {_breaklocation} is andesite:
  206. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  207. if block at location 1 meter west 1 meter above {_breaklocation} is andesite:
  208. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  209. if block at location 1 meter northeast 1 meter above {_breaklocation} is andesite:
  210. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  211. if block at location 1 meter north 1 meter above {_breaklocation} is andesite:
  212. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  213. if block at location 1 meter northwest 1 meter above {_breaklocation} is andesite:
  214. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  215. if block at location 1 meter southeast {_breaklocation} is andesite:
  216. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  217. if block at location 1 meter south {_breaklocation} is andesite:
  218. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  219. if block at location 1 meter southwest {_breaklocation} is andesite:
  220. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  221. if block at location 1 meter east {_breaklocation} is andesite:
  222. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  223. if block at location 1 meter west {_breaklocation} is andesite:
  224. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  225. if block at location 1 meter northeast {_breaklocation} is andesite:
  226. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  227. if block at location 1 meter north {_breaklocation} is andesite:
  228. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  229. if block at location 1 meter northwest {_breaklocation} is andesite:
  230. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  231. if block at location 1 meter southeast 1 meter below {_breaklocation} is andesite:
  232. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  233. if block at location 1 meter south 1 meter below {_breaklocation} is andesite:
  234. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  235. if block at location 1 meter southwest 1 meter below {_breaklocation} is andesite:
  236. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  237. if block at location 1 meter east 1 meter below {_breaklocation} is andesite:
  238. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  239. if block at location 1 meter below {_breaklocation} is andesite:
  240. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  241. if block at location 1 meter west 1 meter below {_breaklocation} is andesite:
  242. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  243. if block at location 1 meter northeast 1 meter below {_breaklocation} is andesite:
  244. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  245. if block at location 1 meter north 1 meter below {_breaklocation} is andesite:
  246. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  247. if block at location 1 meter northwest 1 meter below {_breaklocation} is andesite:
  248. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  249. if event-block is gold_ore:
  250. if block at location 1 meter southeast 1 meter above {_breaklocation} is gold_ore:
  251. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  252. if block at location 1 meter south 1 meter above {_breaklocation} is gold_ore:
  253. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  254. if block at location 1 meter southwest 1 meter above {_breaklocation} is gold_ore:
  255. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  256. if block at location 1 meter east 1 meter above {_breaklocation} is gold_ore:
  257. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  258. if block at location 1 meter above {_breaklocation} is gold_ore:
  259. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  260. if block at location 1 meter west 1 meter above {_breaklocation} is gold_ore:
  261. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  262. if block at location 1 meter northeast 1 meter above {_breaklocation} is gold_ore:
  263. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  264. if block at location 1 meter north 1 meter above {_breaklocation} is gold_ore:
  265. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  266. if block at location 1 meter northwest 1 meter above {_breaklocation} is gold_ore:
  267. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  268. if block at location 1 meter southeast {_breaklocation} is gold_ore:
  269. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  270. if block at location 1 meter south {_breaklocation} is gold_ore:
  271. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  272. if block at location 1 meter southwest {_breaklocation} is gold_ore:
  273. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  274. if block at location 1 meter east {_breaklocation} is gold_ore:
  275. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  276. if block at location 1 meter west {_breaklocation} is gold_ore:
  277. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  278. if block at location 1 meter northeast {_breaklocation} is gold_ore:
  279. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  280. if block at location 1 meter north {_breaklocation} is gold_ore:
  281. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  282. if block at location 1 meter northwest {_breaklocation} is gold_ore:
  283. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  284. if block at location 1 meter southeast 1 meter below {_breaklocation} is gold_ore:
  285. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  286. if block at location 1 meter south 1 meter below {_breaklocation} is gold_ore:
  287. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  288. if block at location 1 meter southwest 1 meter below {_breaklocation} is gold_ore:
  289. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  290. if block at location 1 meter east 1 meter below {_breaklocation} is gold_ore:
  291. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  292. if block at location 1 meter below {_breaklocation} is gold_ore:
  293. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  294. if block at location 1 meter west 1 meter below {_breaklocation} is gold_ore:
  295. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  296. if block at location 1 meter northeast 1 meter below {_breaklocation} is gold_ore:
  297. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  298. if block at location 1 meter north 1 meter below {_breaklocation} is gold_ore:
  299. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  300. if block at location 1 meter northwest 1 meter below {_breaklocation} is gold_ore:
  301. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  302. if event-block is iron_ore:
  303. if block at location 1 meter southeast 1 meter above {_breaklocation} is iron_ore:
  304. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  305. if block at location 1 meter south 1 meter above {_breaklocation} is iron_ore:
  306. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  307. if block at location 1 meter southwest 1 meter above {_breaklocation} is iron_ore:
  308. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  309. if block at location 1 meter east 1 meter above {_breaklocation} is iron_ore:
  310. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  311. if block at location 1 meter above {_breaklocation} is iron_ore:
  312. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  313. if block at location 1 meter west 1 meter above {_breaklocation} is iron_ore:
  314. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  315. if block at location 1 meter northeast 1 meter above {_breaklocation} is iron_ore:
  316. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  317. if block at location 1 meter north 1 meter above {_breaklocation} is iron_ore:
  318. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  319. if block at location 1 meter northwest 1 meter above {_breaklocation} is iron_ore:
  320. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  321. if block at location 1 meter southeast {_breaklocation} is iron_ore:
  322. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  323. if block at location 1 meter south {_breaklocation} is iron_ore:
  324. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  325. if block at location 1 meter southwest {_breaklocation} is iron_ore:
  326. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  327. if block at location 1 meter east {_breaklocation} is iron_ore:
  328. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  329. if block at location 1 meter west {_breaklocation} is iron_ore:
  330. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  331. if block at location 1 meter northeast {_breaklocation} is iron_ore:
  332. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  333. if block at location 1 meter north {_breaklocation} is iron_ore:
  334. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  335. if block at location 1 meter northwest {_breaklocation} is iron_ore:
  336. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  337. if block at location 1 meter southeast 1 meter below {_breaklocation} is iron_ore:
  338. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  339. if block at location 1 meter south 1 meter below {_breaklocation} is iron_ore:
  340. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  341. if block at location 1 meter southwest 1 meter below {_breaklocation} is iron_ore:
  342. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  343. if block at location 1 meter east 1 meter below {_breaklocation} is iron_ore:
  344. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  345. if block at location 1 meter below {_breaklocation} is iron_ore:
  346. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  347. if block at location 1 meter west 1 meter below {_breaklocation} is iron_ore:
  348. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  349. if block at location 1 meter northeast 1 meter below {_breaklocation} is iron_ore:
  350. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  351. if block at location 1 meter north 1 meter below {_breaklocation} is iron_ore:
  352. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  353. if block at location 1 meter northwest 1 meter below {_breaklocation} is iron_ore:
  354. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  355. if event-block is coal_ore:
  356. if block at location 1 meter southeast 1 meter above {_breaklocation} is coal_ore:
  357. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  358. if block at location 1 meter south 1 meter above {_breaklocation} is coal_ore:
  359. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  360. if block at location 1 meter southwest 1 meter above {_breaklocation} is coal_ore:
  361. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  362. if block at location 1 meter east 1 meter above {_breaklocation} is coal_ore:
  363. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  364. if block at location 1 meter above {_breaklocation} is coal_ore:
  365. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  366. if block at location 1 meter west 1 meter above {_breaklocation} is coal_ore:
  367. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  368. if block at location 1 meter northeast 1 meter above {_breaklocation} is coal_ore:
  369. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  370. if block at location 1 meter north 1 meter above {_breaklocation} is coal_ore:
  371. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  372. if block at location 1 meter northwest 1 meter above {_breaklocation} is coal_ore:
  373. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  374. if block at location 1 meter southeast {_breaklocation} is coal_ore:
  375. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  376. if block at location 1 meter south {_breaklocation} is coal_ore:
  377. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  378. if block at location 1 meter southwest {_breaklocation} is coal_ore:
  379. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  380. if block at location 1 meter east {_breaklocation} is coal_ore:
  381. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  382. if block at location 1 meter west {_breaklocation} is coal_ore:
  383. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  384. if block at location 1 meter northeast {_breaklocation} is coal_ore:
  385. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  386. if block at location 1 meter north {_breaklocation} is coal_ore:
  387. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  388. if block at location 1 meter northwest {_breaklocation} is coal_ore:
  389. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  390. if block at location 1 meter southeast 1 meter below {_breaklocation} is coal_ore:
  391. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  392. if block at location 1 meter south 1 meter below {_breaklocation} is coal_ore:
  393. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  394. if block at location 1 meter southwest 1 meter below {_breaklocation} is coal_ore:
  395. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  396. if block at location 1 meter east 1 meter below {_breaklocation} is coal_ore:
  397. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  398. if block at location 1 meter below {_breaklocation} is coal_ore:
  399. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  400. if block at location 1 meter west 1 meter below {_breaklocation} is coal_ore:
  401. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  402. if block at location 1 meter northeast 1 meter below {_breaklocation} is coal_ore:
  403. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  404. if block at location 1 meter north 1 meter below {_breaklocation} is coal_ore:
  405. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  406. if block at location 1 meter northwest 1 meter below {_breaklocation} is coal_ore:
  407. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  408. if event-block is lapis_lazuli_ore:
  409. if block at location 1 meter southeast 1 meter above {_breaklocation} is lapis_lazuli_ore:
  410. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  411. if block at location 1 meter south 1 meter above {_breaklocation} is lapis_lazuli_ore:
  412. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  413. if block at location 1 meter southwest 1 meter above {_breaklocation} is lapis_lazuli_ore:
  414. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  415. if block at location 1 meter east 1 meter above {_breaklocation} is lapis_lazuli_ore:
  416. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  417. if block at location 1 meter above {_breaklocation} is lapis_lazuli_ore:
  418. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  419. if block at location 1 meter west 1 meter above {_breaklocation} is lapis_lazuli_ore:
  420. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  421. if block at location 1 meter northeast 1 meter above {_breaklocation} is lapis_lazuli_ore:
  422. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  423. if block at location 1 meter north 1 meter above {_breaklocation} is lapis_lazuli_ore:
  424. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  425. if block at location 1 meter northwest 1 meter above {_breaklocation} is lapis_lazuli_ore:
  426. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  427. if block at location 1 meter southeast {_breaklocation} is lapis_lazuli_ore:
  428. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  429. if block at location 1 meter south {_breaklocation} is lapis_lazuli_ore:
  430. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  431. if block at location 1 meter southwest {_breaklocation} is lapis_lazuli_ore:
  432. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  433. if block at location 1 meter east {_breaklocation} is lapis_lazuli_ore:
  434. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  435. if block at location 1 meter west {_breaklocation} is lapis_lazuli_ore:
  436. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  437. if block at location 1 meter northeast {_breaklocation} is lapis_lazuli_ore:
  438. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  439. if block at location 1 meter north {_breaklocation} is lapis_lazuli_ore:
  440. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  441. if block at location 1 meter northwest {_breaklocation} is lapis_lazuli_ore:
  442. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  443. if block at location 1 meter southeast 1 meter below {_breaklocation} is lapis_lazuli_ore:
  444. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  445. if block at location 1 meter south 1 meter below {_breaklocation} is lapis_lazuli_ore:
  446. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  447. if block at location 1 meter southwest 1 meter below {_breaklocation} is lapis_lazuli_ore:
  448. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  449. if block at location 1 meter east 1 meter below {_breaklocation} is lapis_lazuli_ore:
  450. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  451. if block at location 1 meter below {_breaklocation} is lapis_lazuli_ore:
  452. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  453. if block at location 1 meter west 1 meter below {_breaklocation} is lapis_lazuli_ore:
  454. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  455. if block at location 1 meter northeast 1 meter below {_breaklocation} is lapis_lazuli_ore:
  456. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  457. if block at location 1 meter north 1 meter below {_breaklocation} is lapis_lazuli_ore:
  458. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  459. if block at location 1 meter northwest 1 meter below {_breaklocation} is lapis_lazuli_ore:
  460. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  461. if event-block is diamond_ore:
  462. if block at location 1 meter southeast 1 meter above {_breaklocation} is diamond_ore:
  463. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  464. if block at location 1 meter south 1 meter above {_breaklocation} is diamond_ore:
  465. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  466. if block at location 1 meter southwest 1 meter above {_breaklocation} is diamond_ore:
  467. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  468. if block at location 1 meter east 1 meter above {_breaklocation} is diamond_ore:
  469. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  470. if block at location 1 meter above {_breaklocation} is diamond_ore:
  471. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  472. if block at location 1 meter west 1 meter above {_breaklocation} is diamond_ore:
  473. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  474. if block at location 1 meter northeast 1 meter above {_breaklocation} is diamond_ore:
  475. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  476. if block at location 1 meter north 1 meter above {_breaklocation} is diamond_ore:
  477. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  478. if block at location 1 meter northwest 1 meter above {_breaklocation} is diamond_ore:
  479. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  480. if block at location 1 meter southeast {_breaklocation} is diamond_ore:
  481. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  482. if block at location 1 meter south {_breaklocation} is diamond_ore:
  483. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  484. if block at location 1 meter southwest {_breaklocation} is diamond_ore:
  485. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  486. if block at location 1 meter east {_breaklocation} is diamond_ore:
  487. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  488. if block at location 1 meter west {_breaklocation} is diamond_ore:
  489. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  490. if block at location 1 meter northeast {_breaklocation} is diamond_ore:
  491. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  492. if block at location 1 meter north {_breaklocation} is diamond_ore:
  493. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  494. if block at location 1 meter northwest {_breaklocation} is diamond_ore:
  495. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  496. if block at location 1 meter southeast 1 meter below {_breaklocation} is diamond_ore:
  497. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  498. if block at location 1 meter south 1 meter below {_breaklocation} is diamond_ore:
  499. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  500. if block at location 1 meter southwest 1 meter below {_breaklocation} is diamond_ore:
  501. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  502. if block at location 1 meter east 1 meter below {_breaklocation} is diamond_ore:
  503. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  504. if block at location 1 meter below {_breaklocation} is diamond_ore:
  505. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  506. if block at location 1 meter west 1 meter below {_breaklocation} is diamond_ore:
  507. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  508. if block at location 1 meter northeast 1 meter below {_breaklocation} is diamond_ore:
  509. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  510. if block at location 1 meter north 1 meter below {_breaklocation} is diamond_ore:
  511. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  512. if block at location 1 meter northwest 1 meter below {_breaklocation} is diamond_ore:
  513. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  514. if event-block is redstone_ore_off:
  515. if block at location 1 meter southeast 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  516. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  517. if block at location 1 meter south 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  518. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  519. if block at location 1 meter southwest 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  520. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  521. if block at location 1 meter east 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  522. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  523. if block at location 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  524. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  525. if block at location 1 meter west 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  526. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  527. if block at location 1 meter northeast 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  528. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  529. if block at location 1 meter north 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  530. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  531. if block at location 1 meter northwest 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  532. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  533. if block at location 1 meter southeast {_breaklocation} is redstone_ore_off or active_redstone_ore:
  534. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  535. if block at location 1 meter south {_breaklocation} is redstone_ore_off or active_redstone_ore:
  536. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  537. if block at location 1 meter southwest {_breaklocation} is redstone_ore_off or active_redstone_ore:
  538. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  539. if block at location 1 meter east {_breaklocation} is redstone_ore_off or active_redstone_ore:
  540. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  541. if block at location 1 meter west {_breaklocation} is redstone_ore_off or active_redstone_ore:
  542. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  543. if block at location 1 meter northeast {_breaklocation} is redstone_ore_off or active_redstone_ore:
  544. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  545. if block at location 1 meter north {_breaklocation} is redstone_ore_off or active_redstone_ore:
  546. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  547. if block at location 1 meter northwest {_breaklocation} is redstone_ore_off or active_redstone_ore:
  548. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  549. if block at location 1 meter southeast 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  550. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  551. if block at location 1 meter south 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  552. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  553. if block at location 1 meter southwest 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  554. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  555. if block at location 1 meter east 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  556. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  557. if block at location 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  558. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  559. if block at location 1 meter west 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  560. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  561. if block at location 1 meter northeast 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  562. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  563. if block at location 1 meter north 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  564. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  565. if block at location 1 meter northwest 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  566. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  567. if event-block is active_redstone_ore:
  568. if block at location 1 meter southeast 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  569. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  570. if block at location 1 meter south 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  571. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  572. if block at location 1 meter southwest 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  573. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  574. if block at location 1 meter east 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  575. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  576. if block at location 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  577. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  578. if block at location 1 meter west 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  579. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  580. if block at location 1 meter northeast 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  581. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  582. if block at location 1 meter north 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  583. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  584. if block at location 1 meter northwest 1 meter above {_breaklocation} is redstone_ore_off or active_redstone_ore:
  585. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  586. if block at location 1 meter southeast {_breaklocation} is redstone_ore_off or active_redstone_ore:
  587. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  588. if block at location 1 meter south {_breaklocation} is redstone_ore_off or active_redstone_ore:
  589. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  590. if block at location 1 meter southwest {_breaklocation} is redstone_ore_off or active_redstone_ore:
  591. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  592. if block at location 1 meter east {_breaklocation} is redstone_ore_off or active_redstone_ore:
  593. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  594. if block at location 1 meter west {_breaklocation} is redstone_ore_off or active_redstone_ore:
  595. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  596. if block at location 1 meter northeast {_breaklocation} is redstone_ore_off or active_redstone_ore:
  597. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  598. if block at location 1 meter north {_breaklocation} is redstone_ore_off or active_redstone_ore:
  599. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  600. if block at location 1 meter northwest {_breaklocation} is redstone_ore_off or active_redstone_ore:
  601. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  602. if block at location 1 meter southeast 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  603. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  604. if block at location 1 meter south 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  605. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  606. if block at location 1 meter southwest 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  607. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  608. if block at location 1 meter east 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  609. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  610. if block at location 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  611. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  612. if block at location 1 meter west 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  613. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  614. if block at location 1 meter northeast 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  615. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  616. if block at location 1 meter north 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  617. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  618. if block at location 1 meter northwest 1 meter below {_breaklocation} is redstone_ore_off or active_redstone_ore:
  619. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  620. if event-block is emerald_ore:
  621. if block at location 1 meter southeast 1 meter above {_breaklocation} is emerald_ore:
  622. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  623. if block at location 1 meter south 1 meter above {_breaklocation} is emerald_ore:
  624. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  625. if block at location 1 meter southwest 1 meter above {_breaklocation} is emerald_ore:
  626. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  627. if block at location 1 meter east 1 meter above {_breaklocation} is emerald_ore:
  628. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  629. if block at location 1 meter above {_breaklocation} is emerald_ore:
  630. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  631. if block at location 1 meter west 1 meter above {_breaklocation} is emerald_ore:
  632. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  633. if block at location 1 meter northeast 1 meter above {_breaklocation} is emerald_ore:
  634. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  635. if block at location 1 meter north 1 meter above {_breaklocation} is emerald_ore:
  636. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  637. if block at location 1 meter northwest 1 meter above {_breaklocation} is emerald_ore:
  638. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  639. if block at location 1 meter southeast {_breaklocation} is emerald_ore:
  640. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  641. if block at location 1 meter south {_breaklocation} is emerald_ore:
  642. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  643. if block at location 1 meter southwest {_breaklocation} is emerald_ore:
  644. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  645. if block at location 1 meter east {_breaklocation} is emerald_ore:
  646. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  647. if block at location 1 meter west {_breaklocation} is emerald_ore:
  648. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  649. if block at location 1 meter northeast {_breaklocation} is emerald_ore:
  650. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  651. if block at location 1 meter north {_breaklocation} is emerald_ore:
  652. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  653. if block at location 1 meter northwest {_breaklocation} is emerald_ore:
  654. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  655. if block at location 1 meter southeast 1 meter below {_breaklocation} is emerald_ore:
  656. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  657. if block at location 1 meter south 1 meter below {_breaklocation} is emerald_ore:
  658. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  659. if block at location 1 meter southwest 1 meter below {_breaklocation} is emerald_ore:
  660. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  661. if block at location 1 meter east 1 meter below {_breaklocation} is emerald_ore:
  662. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  663. if block at location 1 meter below {_breaklocation} is emerald_ore:
  664. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  665. if block at location 1 meter west 1 meter below {_breaklocation} is emerald_ore:
  666. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  667. if block at location 1 meter northeast 1 meter below {_breaklocation} is emerald_ore:
  668. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  669. if block at location 1 meter north 1 meter below {_breaklocation} is emerald_ore:
  670. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  671. if block at location 1 meter northwest 1 meter below {_breaklocation} is emerald_ore:
  672. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  673. if event-block is nether_quartz_ore:
  674. if block at location 1 meter southeast 1 meter above {_breaklocation} is nether_quartz_ore:
  675. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  676. if block at location 1 meter south 1 meter above {_breaklocation} is nether_quartz_ore:
  677. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  678. if block at location 1 meter southwest 1 meter above {_breaklocation} is nether_quartz_ore:
  679. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  680. if block at location 1 meter east 1 meter above {_breaklocation} is nether_quartz_ore:
  681. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  682. if block at location 1 meter above {_breaklocation} is nether_quartz_ore:
  683. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  684. if block at location 1 meter west 1 meter above {_breaklocation} is nether_quartz_ore:
  685. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  686. if block at location 1 meter northeast 1 meter above {_breaklocation} is nether_quartz_ore:
  687. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  688. if block at location 1 meter north 1 meter above {_breaklocation} is nether_quartz_ore:
  689. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  690. if block at location 1 meter northwest 1 meter above {_breaklocation} is nether_quartz_ore:
  691. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  692. if block at location 1 meter southeast {_breaklocation} is nether_quartz_ore:
  693. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  694. if block at location 1 meter south {_breaklocation} is nether_quartz_ore:
  695. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  696. if block at location 1 meter southwest {_breaklocation} is nether_quartz_ore:
  697. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  698. if block at location 1 meter east {_breaklocation} is nether_quartz_ore:
  699. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  700. if block at location 1 meter west {_breaklocation} is nether_quartz_ore:
  701. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  702. if block at location 1 meter northeast {_breaklocation} is nether_quartz_ore:
  703. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  704. if block at location 1 meter north {_breaklocation} is nether_quartz_ore:
  705. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  706. if block at location 1 meter northwest {_breaklocation} is nether_quartz_ore:
  707. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  708. if block at location 1 meter southeast 1 meter below {_breaklocation} is nether_quartz_ore:
  709. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  710. if block at location 1 meter south 1 meter below {_breaklocation} is nether_quartz_ore:
  711. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  712. if block at location 1 meter southwest 1 meter below {_breaklocation} is nether_quartz_ore:
  713. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  714. if block at location 1 meter east 1 meter below {_breaklocation} is nether_quartz_ore:
  715. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  716. if block at location 1 meter below {_breaklocation} is nether_quartz_ore:
  717. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  718. if block at location 1 meter west 1 meter below {_breaklocation} is nether_quartz_ore:
  719. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  720. if block at location 1 meter northeast 1 meter below {_breaklocation} is nether_quartz_ore:
  721. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  722. if block at location 1 meter north 1 meter below {_breaklocation} is nether_quartz_ore:
  723. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  724. if block at location 1 meter northwest 1 meter below {_breaklocation} is nether_quartz_ore:
  725. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  726. if event-block is sandstone:0:
  727. if block at location 1 meter southeast 1 meter above {_breaklocation} is sandstone:0:
  728. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  729. if block at location 1 meter south 1 meter above {_breaklocation} is sandstone:0:
  730. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  731. if block at location 1 meter southwest 1 meter above {_breaklocation} is sandstone:0:
  732. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  733. if block at location 1 meter east 1 meter above {_breaklocation} is sandstone:0:
  734. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  735. if block at location 1 meter above {_breaklocation} is sandstone:0:
  736. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  737. if block at location 1 meter west 1 meter above {_breaklocation} is sandstone:0:
  738. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  739. if block at location 1 meter northeast 1 meter above {_breaklocation} is sandstone:0:
  740. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  741. if block at location 1 meter north 1 meter above {_breaklocation} is sandstone:0:
  742. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  743. if block at location 1 meter northwest 1 meter above {_breaklocation} is sandstone:0:
  744. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  745. if block at location 1 meter southeast {_breaklocation} is sandstone:0:
  746. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  747. if block at location 1 meter south {_breaklocation} is sandstone:0:
  748. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  749. if block at location 1 meter southwest {_breaklocation} is sandstone:0:
  750. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  751. if block at location 1 meter east {_breaklocation} is sandstone:0:
  752. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  753. if block at location 1 meter west {_breaklocation} is sandstone:0:
  754. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  755. if block at location 1 meter northeast {_breaklocation} is sandstone:0:
  756. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  757. if block at location 1 meter north {_breaklocation} is sandstone:0:
  758. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  759. if block at location 1 meter northwest {_breaklocation} is sandstone:0:
  760. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  761. if block at location 1 meter southeast 1 meter below {_breaklocation} is sandstone:0:
  762. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  763. if block at location 1 meter south 1 meter below {_breaklocation} is sandstone:0:
  764. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  765. if block at location 1 meter southwest 1 meter below {_breaklocation} is sandstone:0:
  766. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  767. if block at location 1 meter east 1 meter below {_breaklocation} is sandstone:0:
  768. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  769. if block at location 1 meter below {_breaklocation} is sandstone:0:
  770. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  771. if block at location 1 meter west 1 meter below {_breaklocation} is sandstone:0:
  772. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  773. if block at location 1 meter northeast 1 meter below {_breaklocation} is sandstone:0:
  774. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  775. if block at location 1 meter north 1 meter below {_breaklocation} is sandstone:0:
  776. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  777. if block at location 1 meter northwest 1 meter below {_breaklocation} is sandstone:0:
  778. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  779. if event-block is netherrack:
  780. if block at location 1 meter southeast 1 meter above {_breaklocation} is netherrack:
  781. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  782. if block at location 1 meter south 1 meter above {_breaklocation} is netherrack:
  783. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  784. if block at location 1 meter southwest 1 meter above {_breaklocation} is netherrack:
  785. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  786. if block at location 1 meter east 1 meter above {_breaklocation} is netherrack:
  787. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  788. if block at location 1 meter above {_breaklocation} is netherrack:
  789. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  790. if block at location 1 meter west 1 meter above {_breaklocation} is netherrack:
  791. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  792. if block at location 1 meter northeast 1 meter above {_breaklocation} is netherrack:
  793. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  794. if block at location 1 meter north 1 meter above {_breaklocation} is netherrack:
  795. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  796. if block at location 1 meter northwest 1 meter above {_breaklocation} is netherrack:
  797. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  798. if block at location 1 meter southeast {_breaklocation} is netherrack:
  799. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  800. if block at location 1 meter south {_breaklocation} is netherrack:
  801. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  802. if block at location 1 meter southwest {_breaklocation} is netherrack:
  803. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  804. if block at location 1 meter east {_breaklocation} is netherrack:
  805. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  806. if block at location 1 meter west {_breaklocation} is netherrack:
  807. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  808. if block at location 1 meter northeast {_breaklocation} is netherrack:
  809. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  810. if block at location 1 meter north {_breaklocation} is netherrack:
  811. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  812. if block at location 1 meter northwest {_breaklocation} is netherrack:
  813. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  814. if block at location 1 meter southeast 1 meter below {_breaklocation} is netherrack:
  815. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  816. if block at location 1 meter south 1 meter below {_breaklocation} is netherrack:
  817. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  818. if block at location 1 meter southwest 1 meter below {_breaklocation} is netherrack:
  819. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  820. if block at location 1 meter east 1 meter below {_breaklocation} is netherrack:
  821. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  822. if block at location 1 meter below {_breaklocation} is netherrack:
  823. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  824. if block at location 1 meter west 1 meter below {_breaklocation} is netherrack:
  825. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  826. if block at location 1 meter northeast 1 meter below {_breaklocation} is netherrack:
  827. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  828. if block at location 1 meter north 1 meter below {_breaklocation} is netherrack:
  829. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  830. if block at location 1 meter northwest 1 meter below {_breaklocation} is netherrack:
  831. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  832. if event-block is obsidian:
  833. if block at location 1 meter southeast 1 meter above {_breaklocation} is obsidian:
  834. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  835. if block at location 1 meter south 1 meter above {_breaklocation} is obsidian:
  836. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  837. if block at location 1 meter southwest 1 meter above {_breaklocation} is obsidian:
  838. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  839. if block at location 1 meter east 1 meter above {_breaklocation} is obsidian:
  840. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  841. if block at location 1 meter above {_breaklocation} is obsidian:
  842. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  843. if block at location 1 meter west 1 meter above {_breaklocation} is obsidian:
  844. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  845. if block at location 1 meter northeast 1 meter above {_breaklocation} is obsidian:
  846. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  847. if block at location 1 meter north 1 meter above {_breaklocation} is obsidian:
  848. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  849. if block at location 1 meter northwest 1 meter above {_breaklocation} is obsidian:
  850. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  851. if block at location 1 meter southeast {_breaklocation} is obsidian:
  852. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  853. if block at location 1 meter south {_breaklocation} is obsidian:
  854. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  855. if block at location 1 meter southwest {_breaklocation} is obsidian:
  856. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  857. if block at location 1 meter east {_breaklocation} is obsidian:
  858. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  859. if block at location 1 meter west {_breaklocation} is obsidian:
  860. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  861. if block at location 1 meter northeast {_breaklocation} is obsidian:
  862. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  863. if block at location 1 meter north {_breaklocation} is obsidian:
  864. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  865. if block at location 1 meter northwest {_breaklocation} is obsidian:
  866. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  867. if block at location 1 meter southeast 1 meter below {_breaklocation} is obsidian:
  868. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  869. if block at location 1 meter south 1 meter below {_breaklocation} is obsidian:
  870. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  871. if block at location 1 meter southwest 1 meter below {_breaklocation} is obsidian:
  872. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  873. if block at location 1 meter east 1 meter below {_breaklocation} is obsidian:
  874. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  875. if block at location 1 meter below {_breaklocation} is obsidian:
  876. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  877. if block at location 1 meter west 1 meter below {_breaklocation} is obsidian:
  878. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  879. if block at location 1 meter northeast 1 meter below {_breaklocation} is obsidian:
  880. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  881. if block at location 1 meter north 1 meter below {_breaklocation} is obsidian:
  882. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  883. if block at location 1 meter northwest 1 meter below {_breaklocation} is obsidian:
  884. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  885. if event-block is glowstone:
  886. if block at location 1 meter southeast 1 meter above {_breaklocation} is glowstone:
  887. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  888. if block at location 1 meter south 1 meter above {_breaklocation} is glowstone:
  889. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  890. if block at location 1 meter southwest 1 meter above {_breaklocation} is glowstone:
  891. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  892. if block at location 1 meter east 1 meter above {_breaklocation} is glowstone:
  893. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  894. if block at location 1 meter above {_breaklocation} is glowstone:
  895. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  896. if block at location 1 meter west 1 meter above {_breaklocation} is glowstone:
  897. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  898. if block at location 1 meter northeast 1 meter above {_breaklocation} is glowstone:
  899. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  900. if block at location 1 meter north 1 meter above {_breaklocation} is glowstone:
  901. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  902. if block at location 1 meter northwest 1 meter above {_breaklocation} is glowstone:
  903. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  904. if block at location 1 meter southeast {_breaklocation} is glowstone:
  905. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  906. if block at location 1 meter south {_breaklocation} is glowstone:
  907. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  908. if block at location 1 meter southwest {_breaklocation} is glowstone:
  909. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  910. if block at location 1 meter east {_breaklocation} is glowstone:
  911. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  912. if block at location 1 meter west {_breaklocation} is glowstone:
  913. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  914. if block at location 1 meter northeast {_breaklocation} is glowstone:
  915. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  916. if block at location 1 meter north {_breaklocation} is glowstone:
  917. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  918. if block at location 1 meter northwest {_breaklocation} is glowstone:
  919. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  920. if block at location 1 meter southeast 1 meter below {_breaklocation} is glowstone:
  921. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  922. if block at location 1 meter south 1 meter below {_breaklocation} is glowstone:
  923. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  924. if block at location 1 meter southwest 1 meter below {_breaklocation} is glowstone:
  925. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  926. if block at location 1 meter east 1 meter below {_breaklocation} is glowstone:
  927. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  928. if block at location 1 meter below {_breaklocation} is glowstone:
  929. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  930. if block at location 1 meter west 1 meter below {_breaklocation} is glowstone:
  931. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  932. if block at location 1 meter northeast 1 meter below {_breaklocation} is glowstone:
  933. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  934. if block at location 1 meter north 1 meter below {_breaklocation} is glowstone:
  935. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  936. if block at location 1 meter northwest 1 meter below {_breaklocation} is glowstone:
  937. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  938. on mine:
  939. {digall.%player%} is 1
  940. set {_x} to x-coordinate of event-block
  941. set {_y} to y-coordinate of event-block
  942. set {_z} to z-coordinate of event-block
  943. set {_breaklocation} to event-location
  944. player's held item is wooden shovel or stone shovel or iron shovel or gold shovel or diamond shovel
  945. if event-block is dirt or grass or mycelium:
  946. if block at location 1 meter southeast 1 meter above {_breaklocation} is dirt or grass or mycelium:
  947. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  948. if block at location 1 meter south 1 meter above {_breaklocation} is dirt or grass or mycelium:
  949. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  950. if block at location 1 meter southwest 1 meter above {_breaklocation} is dirt or grass or mycelium:
  951. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  952. if block at location 1 meter east 1 meter above {_breaklocation} is dirt or grass or mycelium:
  953. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  954. if block at location 1 meter above {_breaklocation} is dirt or grass or mycelium:
  955. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  956. if block at location 1 meter west 1 meter above {_breaklocation} is dirt or grass or mycelium:
  957. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  958. if block at location 1 meter northeast 1 meter above {_breaklocation} is dirt or grass or mycelium:
  959. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  960. if block at location 1 meter north 1 meter above {_breaklocation} is dirt or grass or mycelium:
  961. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  962. if block at location 1 meter northwest 1 meter above {_breaklocation} is dirt or grass or mycelium:
  963. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  964. if block at location 1 meter southeast {_breaklocation} is dirt or grass or mycelium:
  965. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  966. if block at location 1 meter south {_breaklocation} is dirt or grass or mycelium:
  967. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  968. if block at location 1 meter southwest {_breaklocation} is dirt or grass or mycelium:
  969. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  970. if block at location 1 meter east {_breaklocation} is dirt or grass or mycelium:
  971. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  972. if block at location 1 meter west {_breaklocation} is dirt or grass or mycelium:
  973. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  974. if block at location 1 meter northeast {_breaklocation} is dirt or grass or mycelium:
  975. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  976. if block at location 1 meter north {_breaklocation} is dirt or grass or mycelium:
  977. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  978. if block at location 1 meter northwest {_breaklocation} is dirt or grass or mycelium:
  979. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  980. if block at location 1 meter southeast 1 meter below {_breaklocation} is dirt or grass or mycelium:
  981. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  982. if block at location 1 meter south 1 meter below {_breaklocation} is dirt or grass or mycelium:
  983. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  984. if block at location 1 meter southwest 1 meter below {_breaklocation} is dirt or grass or mycelium:
  985. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  986. if block at location 1 meter east 1 meter below {_breaklocation} is dirt or grass or mycelium:
  987. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  988. if block at location 1 meter below {_breaklocation} is dirt or grass or mycelium:
  989. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  990. if block at location 1 meter west 1 meter below {_breaklocation} is dirt or grass or mycelium:
  991. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  992. if block at location 1 meter northeast 1 meter below {_breaklocation} is dirt or grass or mycelium:
  993. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  994. if block at location 1 meter north 1 meter below {_breaklocation} is dirt or grass or mycelium:
  995. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  996. if block at location 1 meter northwest 1 meter below {_breaklocation} is dirt or grass or mycelium:
  997. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  998. if event-block is sand:0:
  999. if block at location 1 meter southeast 1 meter above {_breaklocation} is sand:0:
  1000. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  1001. if block at location 1 meter south 1 meter above {_breaklocation} is sand:0:
  1002. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  1003. if block at location 1 meter southwest 1 meter above {_breaklocation} is sand:0:
  1004. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  1005. if block at location 1 meter east 1 meter above {_breaklocation} is sand:0:
  1006. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  1007. if block at location 1 meter above {_breaklocation} is sand:0:
  1008. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  1009. if block at location 1 meter west 1 meter above {_breaklocation} is sand:0:
  1010. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  1011. if block at location 1 meter northeast 1 meter above {_breaklocation} is sand:0:
  1012. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  1013. if block at location 1 meter north 1 meter above {_breaklocation} is sand:0:
  1014. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  1015. if block at location 1 meter northwest 1 meter above {_breaklocation} is sand:0:
  1016. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  1017. if block at location 1 meter southeast {_breaklocation} is sand:0:
  1018. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  1019. if block at location 1 meter south {_breaklocation} is sand:0:
  1020. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  1021. if block at location 1 meter southwest {_breaklocation} is sand:0:
  1022. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  1023. if block at location 1 meter east {_breaklocation} is sand:0:
  1024. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  1025. if block at location 1 meter west {_breaklocation} is sand:0:
  1026. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  1027. if block at location 1 meter northeast {_breaklocation} is sand:0:
  1028. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  1029. if block at location 1 meter north {_breaklocation} is sand:0:
  1030. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  1031. if block at location 1 meter northwest {_breaklocation} is sand:0:
  1032. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  1033. if block at location 1 meter southeast 1 meter below {_breaklocation} is sand:0:
  1034. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  1035. if block at location 1 meter south 1 meter below {_breaklocation} is sand:0:
  1036. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  1037. if block at location 1 meter southwest 1 meter below {_breaklocation} is sand:0:
  1038. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  1039. if block at location 1 meter east 1 meter below {_breaklocation} is sand:0:
  1040. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  1041. if block at location 1 meter below {_breaklocation} is sand:0:
  1042. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  1043. if block at location 1 meter west 1 meter below {_breaklocation} is sand:0:
  1044. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  1045. if block at location 1 meter northeast 1 meter below {_breaklocation} is sand:0:
  1046. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  1047. if block at location 1 meter north 1 meter below {_breaklocation} is sand:0:
  1048. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  1049. if block at location 1 meter northwest 1 meter below {_breaklocation} is sand:0:
  1050. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  1051. if event-block is sand:1:
  1052. if block at location 1 meter southeast 1 meter above {_breaklocation} is sand:1:
  1053. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  1054. if block at location 1 meter south 1 meter above {_breaklocation} is sand:1:
  1055. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  1056. if block at location 1 meter southwest 1 meter above {_breaklocation} is sand:1:
  1057. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  1058. if block at location 1 meter east 1 meter above {_breaklocation} is sand:1:
  1059. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  1060. if block at location 1 meter above {_breaklocation} is sand:1:
  1061. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  1062. if block at location 1 meter west 1 meter above {_breaklocation} is sand:1:
  1063. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  1064. if block at location 1 meter northeast 1 meter above {_breaklocation} is sand:1:
  1065. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  1066. if block at location 1 meter north 1 meter above {_breaklocation} is sand:1:
  1067. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  1068. if block at location 1 meter northwest 1 meter above {_breaklocation} is sand:1:
  1069. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  1070. if block at location 1 meter southeast {_breaklocation} is sand:1:
  1071. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  1072. if block at location 1 meter south {_breaklocation} is sand:1:
  1073. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  1074. if block at location 1 meter southwest {_breaklocation} is sand:1:
  1075. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  1076. if block at location 1 meter east {_breaklocation} is sand:1:
  1077. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  1078. if block at location 1 meter west {_breaklocation} is sand:1:
  1079. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  1080. if block at location 1 meter northeast {_breaklocation} is sand:1:
  1081. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  1082. if block at location 1 meter north {_breaklocation} is sand:1:
  1083. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  1084. if block at location 1 meter northwest {_breaklocation} is sand:1:
  1085. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  1086. if block at location 1 meter southeast 1 meter below {_breaklocation} is sand:1:
  1087. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  1088. if block at location 1 meter south 1 meter below {_breaklocation} is sand:1:
  1089. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  1090. if block at location 1 meter southwest 1 meter below {_breaklocation} is sand:1:
  1091. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  1092. if block at location 1 meter east 1 meter below {_breaklocation} is sand:1:
  1093. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  1094. if block at location 1 meter below {_breaklocation} is sand:1:
  1095. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  1096. if block at location 1 meter west 1 meter below {_breaklocation} is sand:1:
  1097. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  1098. if block at location 1 meter northeast 1 meter below {_breaklocation} is sand:1:
  1099. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  1100. if block at location 1 meter north 1 meter below {_breaklocation} is sand:1:
  1101. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  1102. if block at location 1 meter northwest 1 meter below {_breaklocation} is sand:1:
  1103. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  1104. if event-block is gravel:
  1105. if block at location 1 meter southeast 1 meter above {_breaklocation} is gravel:
  1106. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  1107. if block at location 1 meter south 1 meter above {_breaklocation} is gravel:
  1108. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  1109. if block at location 1 meter southwest 1 meter above {_breaklocation} is gravel:
  1110. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  1111. if block at location 1 meter east 1 meter above {_breaklocation} is gravel:
  1112. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  1113. if block at location 1 meter above {_breaklocation} is gravel:
  1114. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  1115. if block at location 1 meter west 1 meter above {_breaklocation} is gravel:
  1116. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  1117. if block at location 1 meter northeast 1 meter above {_breaklocation} is gravel:
  1118. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  1119. if block at location 1 meter north 1 meter above {_breaklocation} is gravel:
  1120. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  1121. if block at location 1 meter northwest 1 meter above {_breaklocation} is gravel:
  1122. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  1123. if block at location 1 meter southeast {_breaklocation} is gravel:
  1124. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  1125. if block at location 1 meter south {_breaklocation} is gravel:
  1126. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  1127. if block at location 1 meter southwest {_breaklocation} is gravel:
  1128. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  1129. if block at location 1 meter east {_breaklocation} is gravel:
  1130. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  1131. if block at location 1 meter west {_breaklocation} is gravel:
  1132. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  1133. if block at location 1 meter northeast {_breaklocation} is gravel:
  1134. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  1135. if block at location 1 meter north {_breaklocation} is gravel:
  1136. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  1137. if block at location 1 meter northwest {_breaklocation} is gravel:
  1138. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  1139. if block at location 1 meter southeast 1 meter below {_breaklocation} is gravel:
  1140. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  1141. if block at location 1 meter south 1 meter below {_breaklocation} is gravel:
  1142. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  1143. if block at location 1 meter southwest 1 meter below {_breaklocation} is gravel:
  1144. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  1145. if block at location 1 meter east 1 meter below {_breaklocation} is gravel:
  1146. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  1147. if block at location 1 meter below {_breaklocation} is gravel:
  1148. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  1149. if block at location 1 meter west 1 meter below {_breaklocation} is gravel:
  1150. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  1151. if block at location 1 meter northeast 1 meter below {_breaklocation} is gravel:
  1152. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  1153. if block at location 1 meter north 1 meter below {_breaklocation} is gravel:
  1154. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  1155. if block at location 1 meter northwest 1 meter below {_breaklocation} is gravel:
  1156. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  1157. if event-block is soulsand:
  1158. if block at location 1 meter southeast 1 meter above {_breaklocation} is soulsand:
  1159. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  1160. if block at location 1 meter south 1 meter above {_breaklocation} is soulsand:
  1161. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  1162. if block at location 1 meter southwest 1 meter above {_breaklocation} is soulsand:
  1163. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  1164. if block at location 1 meter east 1 meter above {_breaklocation} is soulsand:
  1165. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  1166. if block at location 1 meter above {_breaklocation} is soulsand:
  1167. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  1168. if block at location 1 meter west 1 meter above {_breaklocation} is soulsand:
  1169. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  1170. if block at location 1 meter northeast 1 meter above {_breaklocation} is soulsand:
  1171. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  1172. if block at location 1 meter north 1 meter above {_breaklocation} is soulsand:
  1173. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  1174. if block at location 1 meter northwest 1 meter above {_breaklocation} is soulsand:
  1175. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  1176. if block at location 1 meter southeast {_breaklocation} is soulsand:
  1177. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  1178. if block at location 1 meter south {_breaklocation} is soulsand:
  1179. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  1180. if block at location 1 meter southwest {_breaklocation} is soulsand:
  1181. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  1182. if block at location 1 meter east {_breaklocation} is soulsand:
  1183. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  1184. if block at location 1 meter west {_breaklocation} is soulsand:
  1185. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  1186. if block at location 1 meter northeast {_breaklocation} is soulsand:
  1187. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  1188. if block at location 1 meter north {_breaklocation} is soulsand:
  1189. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  1190. if block at location 1 meter northwest {_breaklocation} is soulsand:
  1191. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  1192. if block at location 1 meter southeast 1 meter below {_breaklocation} is soulsand:
  1193. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  1194. if block at location 1 meter south 1 meter below {_breaklocation} is soulsand:
  1195. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  1196. if block at location 1 meter southwest 1 meter below {_breaklocation} is soulsand:
  1197. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  1198. if block at location 1 meter east 1 meter below {_breaklocation} is soulsand:
  1199. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  1200. if block at location 1 meter below {_breaklocation} is soulsand:
  1201. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  1202. if block at location 1 meter west 1 meter below {_breaklocation} is soulsand:
  1203. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  1204. if block at location 1 meter northeast 1 meter below {_breaklocation} is soulsand:
  1205. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  1206. if block at location 1 meter north 1 meter below {_breaklocation} is soulsand:
  1207. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  1208. if block at location 1 meter northwest 1 meter below {_breaklocation} is soulsand:
  1209. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  1210. if event-block is clay:
  1211. if block at location 1 meter southeast 1 meter above {_breaklocation} is clay:
  1212. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}+1% air 0 destroy"
  1213. if block at location 1 meter south 1 meter above {_breaklocation} is clay:
  1214. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}+1% air 0 destroy"
  1215. if block at location 1 meter southwest 1 meter above {_breaklocation} is clay:
  1216. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}+1% air 0 destroy"
  1217. if block at location 1 meter east 1 meter above {_breaklocation} is clay:
  1218. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}% air 0 destroy"
  1219. if block at location 1 meter above {_breaklocation} is clay:
  1220. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}% air 0 destroy"
  1221. if block at location 1 meter west 1 meter above {_breaklocation} is clay:
  1222. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}% air 0 destroy"
  1223. if block at location 1 meter northeast 1 meter above {_breaklocation} is clay:
  1224. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}+1% %{_z}-1% air 0 destroy"
  1225. if block at location 1 meter north 1 meter above {_breaklocation} is clay:
  1226. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}+1% %{_z}-1% air 0 destroy"
  1227. if block at location 1 meter northwest 1 meter above {_breaklocation} is clay:
  1228. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}+1% %{_z}-1% air 0 destroy"
  1229. if block at location 1 meter southeast {_breaklocation} is clay:
  1230. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}+1% air 0 destroy"
  1231. if block at location 1 meter south {_breaklocation} is clay:
  1232. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}+1% air 0 destroy"
  1233. if block at location 1 meter southwest {_breaklocation} is clay:
  1234. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}+1% air 0 destroy"
  1235. if block at location 1 meter east {_breaklocation} is clay:
  1236. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}% air 0 destroy"
  1237. if block at location 1 meter west {_breaklocation} is clay:
  1238. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}% air 0 destroy"
  1239. if block at location 1 meter northeast {_breaklocation} is clay:
  1240. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}% %{_z}-1% air 0 destroy"
  1241. if block at location 1 meter north {_breaklocation} is clay:
  1242. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}% %{_z}-1% air 0 destroy"
  1243. if block at location 1 meter northwest {_breaklocation} is clay:
  1244. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}% %{_z}-1% air 0 destroy"
  1245. if block at location 1 meter southeast 1 meter below {_breaklocation} is clay:
  1246. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}+1% air 0 destroy"
  1247. if block at location 1 meter south 1 meter below {_breaklocation} is clay:
  1248. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}+1% air 0 destroy"
  1249. if block at location 1 meter southwest 1 meter below {_breaklocation} is clay:
  1250. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}+1% air 0 destroy"
  1251. if block at location 1 meter east 1 meter below {_breaklocation} is clay:
  1252. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}% air 0 destroy"
  1253. if block at location 1 meter below {_breaklocation} is clay:
  1254. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}% air 0 destroy"
  1255. if block at location 1 meter west 1 meter below {_breaklocation} is clay:
  1256. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}% air 0 destroy"
  1257. if block at location 1 meter northeast 1 meter below {_breaklocation} is clay:
  1258. execute console command "execute %player% ~ ~ ~ setblock %{_x}+1% %{_y}-1% %{_z}-1% air 0 destroy"
  1259. if block at location 1 meter north 1 meter below {_breaklocation} is clay:
  1260. execute console command "execute %player% ~ ~ ~ setblock %{_x}% %{_y}-1% %{_z}-1% air 0 destroy"
  1261. if block at location 1 meter northwest 1 meter below {_breaklocation} is clay:
  1262. execute console command "execute %player% ~ ~ ~ setblock %{_x}-1% %{_y}-1% %{_z}-1% air 0 destroy"
  1263. on load:
  1264. execute console command "scoreboard objectives add woodbreakerage dummy"
  1265. every tick:
  1266. execute console command "scoreboard players add @e[tag=breakwood] woodbreakerage 1"
  1267. 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}"
  1268. 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}"
  1269. 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}"
  1270. 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}"
  1271. 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}"
  1272. 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}"
  1273. 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}"
  1274. 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}"
  1275. 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}"
  1276. 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}"
  1277. 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}"
  1278. 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}"
  1279. execute console command "execute @e[tag=breakwood,score_woodbreakerage_min=2,score_woodbreakerage=2] ~ ~ ~ detect ~ ~ ~ log -1 setblock ~ ~ ~ air 0 destroy"
  1280. execute console command "execute @e[tag=breakwood,score_woodbreakerage_min=2,score_woodbreakerage=2] ~ ~ ~ detect ~ ~ ~ log2 -1 setblock ~ ~ ~ air 0 destroy"
  1281. execute console command "kill @e[type=armor_stand,tag=breakwood,score_woodbreakerage_min=2,score_woodbreakerage=2]"
  1282. on mine:
  1283. {cutall.%player%} is 1
  1284. set {_x} to x-coordinate of event-block
  1285. set {_y} to y-coordinate of event-block
  1286. set {_z} to z-coordinate of event-block
  1287. set {_breaklocation} to event-location
  1288. event-block is oak log or spruce log or birch log or jungle log or acacia log or dark oak log
  1289. player's held item is wooden axe or stone axe or iron axe or gold axe or diamond axe
  1290. execute console command "execute %player% ~ ~ ~ summon armor_stand %{_x}% %{_y}% %{_z}% {Tags:[""breakwood""],Invisible:1b,Marker:1b,NoGravity:1b}"
Advertisement
Add Comment
Please, Sign In to add comment