Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on place:
- set {_location} to x-coordinate of event-block
- set {_location} to "%{_location}%%y-coordinate of event-block%"
- set {_location} to "%{_location}%%z-coordinate of event-block%"
- add "%{_location}%" to {broken-block::*}
- give a %{_location}%
- on break:
- set {_location} to x-coordinate of event-block
- set {_location} to "%{_location}%%y-coordinate of event-block%"
- set {_location} to "%{_location}%%z-coordinate of event-block%"
- loop {broken-block::*}:
- if "%{_location}%" is "%loop-value%":
- remove loop-value from {broken-block::*}
- set {_location} to "ok"
- stop loop
- if player has permission "destroy.block.sk":
- stop
- if {_location} is not "ok":
- cancel event
- send "&cThis block can not be destroyed." to player
- command /reset-block:
- trigger:
- clear {broken-block::*}
- send "確認>>> %{broken-block::*}%" to player
Advertisement
Add Comment
Please, Sign In to add comment