Advertisement
Guest User

Untitled

a guest
Jan 25th, 2015
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.14 KB | None | 0 0
  1. command /cutclean <text>:
  2. description: CutClean Enable:Disable:Toggle
  3. usage: /cutclean <enable:disable:toggle>
  4. permission: cutclean.admin
  5. trigger:
  6. if arg 1 is "enable":
  7. set {cutclean} to true
  8. message "&cCutClean Enabled!"
  9. if arg 1 is "disable":
  10. set {cutclean} to false
  11. message "&cCutClean Disabled!"
  12. if arg 1 is "toggle":
  13. if {cutclean} is true:
  14. set {cutclean} to false
  15. message "&cCutClean Disabled!"
  16. stop
  17. if {cutclean} is false:
  18. set {cutclean} to true
  19. message "&cCutClean Enabled!"
  20. stop
  21. #===================#
  22. #= CutClean Mining =#
  23. #===================#
  24. on mine of gravel:
  25. if {cutclean} is true:
  26. set block to air
  27. chance of 75%
  28. drop 1 flint
  29. cancel the event
  30.  
  31. on mine of oak leaves:
  32. if {cutclean} is true:
  33. set block to air
  34. chance of 75%
  35. drop 1 apple
  36. cancel the event
  37.  
  38. on mine of iron ore:
  39. if {cutclean} is true:
  40. set block to air
  41. drop 1 iron ingot
  42. cancel the event
  43.  
  44. on mine of gold ore:
  45. if {cutclean} is true:
  46. set block to air
  47. drop 1 gold ingot
  48. cancel the event
  49.  
  50. on death of a pig:
  51. if {cutclean} is true:
  52. clear drops
  53. drop 3 cooked porkchop at the pig
  54.  
  55. on death of a cow:
  56. if {cutclean} is true:
  57. clear drops
  58. drop 3 steak at the cow
  59. drop 1 leather at the cow
  60.  
  61. on death of a chicken:
  62. if {cutclean} is true:
  63. clear drops
  64. drop 3 cooked chicken at the chicken
  65. drop 2 feather at the chicken
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement