Advertisement
Guest User

Untitled

a guest
Mar 17th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. on break:
  2. if player can build at targeted block:
  3. if lore of player's tool is "&3[Explosion]":
  4. loop blocks in radius 1.8 around the targeted block:
  5. if loop-block is coal ore:
  6. give player 1 coal
  7. set loop-block to air
  8. if loop-block is diamond ore:
  9. give player 1 diamond
  10. set loop-block to air
  11. if loop-block is gold ore:
  12. give player 1 gold ore
  13. set loop-block to air
  14. if lore of player's tool is "&b[BIGBURN]":
  15. loop blocks in radius 3 around the targeted block:
  16. if loop-block is coal ore:
  17. give player 1 coal
  18. set loop-block to air
  19. if loop-block is diamond ore:
  20. give player 1 diamond
  21. set loop-block to air
  22. if loop-block is gold ore:
  23. give player 1 gold ore
  24. set loop-block to air
  25. if lore of player's tool is "&c[SUPERSHOT]":
  26. loop blocks in radius 6 around the targeted block:
  27. if loop-block is coal ore:
  28. give player 1 coal
  29. set loop-block to air
  30. if loop-block is diamond ore:
  31. give player 1 diamond
  32. set loop-block to air
  33. if loop-block is gold ore:
  34. give player 1 gold ore
  35. set loop-block to air
  36.  
  37. command /picchange [<text>]:
  38. permission: picchange.admin
  39. trigger:
  40. if arg-1 is "BIGBURN":
  41. set lore of player's tool to "&b[BIGBURN]"
  42. if arg-1 is "EXPLOSION":
  43. set lore of player's tool to "&3[Explosion]"
  44. if arg-1 is "SUPERSHOT":
  45. set lore of player's tool to "&c[SUPERSHOT]"
  46. if arg-1 is not set:
  47. message "&c/picchange <type>"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement