Guest User

Untitled

a guest
Mar 19th, 2023
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.35 KB | None | 0 0
  1. options:
  2. tool: &e✷ &6Mass Minier &e✷
  3.  
  4. on mine:
  5. if player's tool is {@tool}
  6. set {_1} to location of event-block
  7. set {_2} to location of event-block
  8. if player's pitch is between -50 and 50:
  9. add 1 to y-coord of {_1}
  10. subtract 1 from y-coord of {_2}
  11. if player's horizontal facing is west:
  12. add 1 to z-coord of {_1}
  13. subtract 1 from z-coord of {_2}
  14. subtract 2 from x-coord of {_2}
  15. loop blocks within block at {_1} and block at {_2}:
  16. break loop-value naturally using player's tool
  17. else if player's horizontal facing is east:
  18. add 1 to z-coord of {_1}
  19. subtract 1 from z-coord of {_2}
  20. add 2 to x-coord of {_2}
  21. loop blocks within block at {_1} and block at {_2}:
  22. break loop-value naturally using player's tool
  23. else if player's horizontal facing is north:
  24. add 1 to x-coord of {_1}
  25. subtract 1 from x-coord of {_2}
  26. subtract 2 from z-coord of {_2}
  27. loop blocks within block at {_1} and block at {_2}:
  28. break loop-value naturally using player's tool
  29. else if player's horizontal facing is south:
  30. add 1 to x-coord of {_1}
  31. subtract 1 from x-coord of {_2}
  32. add 2 to z-coord of {_2}
  33. loop blocks within block at {_1} and block at {_2}:
  34. break loop-value naturally using player's tool
  35. else if player's pitch is between 50 and 90:
  36. add 1 to x-coord of {_1}
  37. subtract 1 from x-coord of {_2}
  38. add 1 to z-coord of {_1}
  39. subtract 1 from z-coord of {_2}
  40. subtract 2 from y-coord of {_2}
  41. loop blocks within block at {_1} and block at {_2}:
  42. break loop-block naturally using player's tool
  43. else if player's pitch is between -50 and -90:
  44. add 1 to x-coord of {_1}
  45. subtract 1 from x-coord of {_2}
  46. add 1 to z-coord of {_1}
  47. subtract 1 from z-coord of {_2}
  48. add 2 to y-coord of {_2}
  49. loop blocks within block at {_1} and block at {_2}:
  50. break loop-block naturally using player's tool
Advertisement
Add Comment
Please, Sign In to add comment