Advertisement
UDON_JP

CutAll

Apr 30th, 2020
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. options:
  2. tool : &6&lGolden&8&lBomb&2&lAxe
  3. on mine:
  4. event-block is any log block
  5. name of player's tool is "{@tool}"
  6. set {_loc} to event-location
  7. loop 10 times:
  8. loop all blocks in radius 1 of {_loc}:
  9. loop-block is any log blocks
  10. set {_loc} to loop-block's location
  11. break loop-block naturally with player's tool
  12. if loop-block under is dirt:
  13. loop all items in player's inventory:
  14. loop-item is sapling
  15. if loop-item is normal sapling:
  16. set block of loop-block's location to oak sapling
  17. else if loop-item is spruce sapling:
  18. set block of loop-block's location to spruce sapling
  19. else if loop-item is birch sapling:
  20. set block of loop-block's location to birch sapling
  21. else if loop-item is jungle sapling:
  22. set block of loop-block's location to jungle sapling
  23. else if loop-item is acacia sapling:
  24. set block of loop-block's location to acacia sapling
  25. else if loop-item is dark oak sapling:
  26. set block of loop-block's location to dark oak sapling
  27. exit this loop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement