Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- Perm: uhc.staff
- P: &f[&bTimber&f]
- C: &b
- H: &f
- on break of wood:
- if {timber} is true:
- loop blocks upwards:
- if loop-block is wood:
- drop the loop-block-1 at event-block
- set the loop-block to air
- loop blocks in radius 2 around loop-block:
- if loop-block-2 is wood:
- drop the loop-block-2 at event-block
- set the loop-block-2 to air
- loop blocks below:
- if loop-block is wood:
- drop the loop-block-1 at event-block
- set the loop-block to air
- loop blocks in radius 2 around loop-block:
- if loop-block-2 is wood:
- drop the loop-block-2 at event-block
- set the loop-block-2 to air
- command /Timber <text>:
- permission: {@Perm}
- usage: /Timber <On:Off>
- trigger:
- if arg-1 is "enable" or "on":
- set {Timber} to true
- broadcast "{@P}{@C} Timber {@H}Enabled{@C}!"
- if arg-1 is "disable" or "off":
- delete {Timber}
- broadcast "{@P}{@C} Timber {@H}Disabled{@C}!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement