Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- tool : &6&lGolden&8&lBomb&2&lAxe
- on mine:
- event-block is any log block
- name of player's tool is "{@tool}"
- set {_loc} to event-location
- loop 10 times:
- loop all blocks in radius 1 of {_loc}:
- loop-block is any log blocks
- set {_loc} to loop-block's location
- break loop-block naturally with player's tool
- if loop-block under is dirt:
- loop all items in player's inventory:
- loop-item is sapling
- if loop-item is normal sapling:
- set block of loop-block's location to oak sapling
- else if loop-item is spruce sapling:
- set block of loop-block's location to spruce sapling
- else if loop-item is birch sapling:
- set block of loop-block's location to birch sapling
- else if loop-item is jungle sapling:
- set block of loop-block's location to jungle sapling
- else if loop-item is acacia sapling:
- set block of loop-block's location to acacia sapling
- else if loop-item is dark oak sapling:
- set block of loop-block's location to dark oak sapling
- exit this loop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement