Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on break:
- if player can build at targeted block:
- if lore of player's tool is "&3[Explosion]":
- loop blocks in radius 1.8 around the targeted block:
- if loop-block is coal ore:
- give player 1 coal
- set loop-block to air
- if loop-block is diamond ore:
- give player 1 diamond
- set loop-block to air
- if loop-block is gold ore:
- give player 1 gold ore
- set loop-block to air
- if lore of player's tool is "&b[BIGBURN]":
- loop blocks in radius 3 around the targeted block:
- if loop-block is coal ore:
- give player 1 coal
- set loop-block to air
- if loop-block is diamond ore:
- give player 1 diamond
- set loop-block to air
- if loop-block is gold ore:
- give player 1 gold ore
- set loop-block to air
- if lore of player's tool is "&c[SUPERSHOT]":
- loop blocks in radius 6 around the targeted block:
- if loop-block is coal ore:
- give player 1 coal
- set loop-block to air
- if loop-block is diamond ore:
- give player 1 diamond
- set loop-block to air
- if loop-block is gold ore:
- give player 1 gold ore
- set loop-block to air
- command /picchange [<text>]:
- permission: picchange.admin
- trigger:
- if arg-1 is "BIGBURN":
- set lore of player's tool to "&b[BIGBURN]"
- if arg-1 is "EXPLOSION":
- set lore of player's tool to "&3[Explosion]"
- if arg-1 is "SUPERSHOT":
- set lore of player's tool to "&c[SUPERSHOT]"
- if arg-1 is not set:
- message "&c/picchange <type>"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement