Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on mine:
- cancel event
- set block's location to air
- block's type is stone:
- set {_int} to 2
- execute console command "/scoreboard players add %player% MP %{_int}%"
- block's type is oak_planks:
- set {_int} to 3
- execute console command "/scoreboard players add %player% MP %{_int}%"
- block's type is dirt:
- set {_int} to random integer between 1 and 5
- execute console command "/scoreboard players add %player% MP %{_int}%"
- block's type is glass:
- set {_int} to 3
- execute console command "/scoreboard players add %player% MP %{_int}%"
- block's type is slime:
- set {_int} to 1
- execute console command "/scoreboard players add %player% MP %{_int}%"
- block's type is cobble_stone:
- set {_int} to 10
- execute console command "/scoreboard players add %player% MP %{_int}%"
- block's type is log:
- set {_int} to 15
- execute console command "/scoreboard players add %player% MP %{_int}%"
- block's type is sand:
- set {_int} to random integer between 8 and 20
- execute console command "/scoreboard players add %player% MP %{_int}%"
- block's type is netherrack:
- set {_int} to 5
- execute console command "/scoreboard players add %player% MP %{_int}%"
- block's type is end_stone:
- set {_int} to 20
- execute console command "/scoreboard players add %player% MP %{_int}%"
- block's type is obsidian:
- set {_int} to 100
- execute console command "/scoreboard players add %player% MP %{_int}%"
- block's type is diamond_ore:
- set {_int} to random integer between 3 and 6
- set {_int} to {_int} * 10
- execute console command "/scoreboard players add %player% MP %{_int}%"
- chance of 1%:
- set {_diamond} to diamond named "&6レアクリスタル"
- set 1st line of lore of {_diamond} to "&7とても希少な水晶"
- set 2st line of lore of {_diamond} to "&7ショップで交換しよう"
- add {_diamond} to player
- set action bar of player to "&9+ %{_int}%MP"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement