nfell2009

Stuffffffff

Jun 24th, 2014
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. command /gimmeanaxe:
  2. permission: nfell2009.is.awesome
  3. aliases: /gax,
  4. trigger:
  5. give a diamond axe named "&6&lLog Breaker" to the player
  6.  
  7. on rightclick with diamond axe:
  8. name of the player's tool is "&6&lLog Breaker":
  9. loop all blocks in radius 5 around the player:
  10. if loop-block is oak log:
  11. set loop-block to air
  12. drop 1 oak log at location of the loop-block
  13. else if loop-block is spruce log:
  14. set loop-block to air
  15. drop 1 spruce log at location of the loop-block
  16. else if loop-block is birch log:
  17. set loop-block to air
  18. drop 1 birch log at location of the loop-block
  19. else if loop-block is jungle log:
  20. set loop-block to air
  21. drop 1 jungle log at location of the loop-block
  22. else if id of loop-block is 162:
  23. set loop-block to air
  24. drop 1 of 162 at location of the loop-block
  25. else if "%id of loop-block%" is "162:1":
  26. set loop-block to air
  27. drop 1 of 162:1 at location of the loop-block
Advertisement
Add Comment
Please, Sign In to add comment