Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on load:
- register new shaped recipe for stick named "&4Wylacznik" using air, air, redstone dust, air, stick, air, air, air, air
- register new shaped recipe for stick named "&4Wlacznik" using air, air, air, air, stick, air, redstone dust, air, air
- variables:
- {linkchest::%player%} = false
- on leftclick on chest:
- player's tool is stick named "&4Wylacznik":
- player has permission "link.chest":
- if {linkchest::%player%} is true:
- set {linkchest::%player%} to false
- send "&6Usunoles miejsce skrzynki dropu"
- delete {loc.%player%}
- stop
- on leftclick on chest:
- player's tool is stick named "&4Wlacznik":
- player has permission "link.chest":
- if {linkchest::%player%} is false:
- set {linkchest::%player%} to true
- set {loc.%player%} to location of clicked block
- send "&6Ustawiles skrzynke do ktorej bedzie trafial drop"
- stop
- on break:
- {linkchest::%player%} is true:
- cancel event
- set event-block to air
- add event-block to block at {loc.%player%}
- stop
- on leftclick on chest:
- player has permission "link.chest":
- player's tool is stick named "&4Wlacznik":
- {linkchest::%player%} is true:
- send "&6Osiagnoles limit ustawionych skrzynek"
- stop
Advertisement
Add Comment
Please, Sign In to add comment