Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /gimmeanaxe:
- permission: nfell2009.is.awesome
- aliases: /gax,
- trigger:
- give a diamond axe named "&6&lLog Breaker" to the player
- on rightclick with diamond axe:
- name of the player's tool is "&6&lLog Breaker":
- loop all blocks in radius 5 around the player:
- if loop-block is oak log:
- set loop-block to air
- drop 1 oak log at location of the loop-block
- else if loop-block is spruce log:
- set loop-block to air
- drop 1 spruce log at location of the loop-block
- else if loop-block is birch log:
- set loop-block to air
- drop 1 birch log at location of the loop-block
- else if loop-block is jungle log:
- set loop-block to air
- drop 1 jungle log at location of the loop-block
- else if id of loop-block is 162:
- set loop-block to air
- drop 1 of 162 at location of the loop-block
- else if "%id of loop-block%" is "162:1":
- set loop-block to air
- drop 1 of 162:1 at location of the loop-block
Advertisement
Add Comment
Please, Sign In to add comment