Advertisement
Guest User

Untitled

a guest
Aug 27th, 2014
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. command /applerate [<integer>]:
  2. permission: skript.op
  3. trigger:
  4. set {appleDrop} to arg 1
  5. broadcast "{@P} Apple Rates now %{appleDrop}%%%!"
  6.  
  7. on break of oak leaves:
  8. if {applerates} is true:
  9. if player is holding shears:
  10. stop
  11. set block to air
  12. chance of {appleDrop}%
  13. drop 1 apple
  14. chance of 5%
  15. drop sapling
  16. cancel the event
  17.  
  18. on leaves decay:
  19. if {applerates} is true:
  20. set block to air
  21. chance of {appleDrop}%
  22. drop 1 apple
  23. chance of 5%
  24. drop sapling
  25. cancel the event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement