Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on break lapis block:
- if player's tool is stone pickaxe:
- If player can hold 9 lapis:
- if data value of player's tool is equal to 131:
- cancel event
- set block to air
- give 9 lapis to player
- add 9 to level progress of player
- delete player's tool
- else:
- cancel event
- set block to air
- give 9 lapis to player
- add 1 to the data value of the player's tool
- add 9 to level progress of player
- else:
- add 9 to level progress of player
- else if player's tool is iron pickaxe:
- If player can hold 9 lapis:
- if data value of player's tool is equal to 250:
- cancel event
- set block to air
- give 9 lapis to player
- add 9 to level progress of player
- delete player's tool
- else:
- cancel event
- set block to air
- give 9 lapis to player
- add 1 to the data value of the player's tool
- add 9 to level progress of player
- else:
- add 9 to level progress of player
- else if player's tool is diamond pickaxe:
- If player can hold 9 lapis:
- if data value of player's tool is equal to 1561:
- cancel event
- set block to air
- give 9 lapis to player
- add 11 to level progress of player
- delete player's tool
- else:
- cancel event
- set block to air
- give 9 lapis to player
- add 1 to the data value of the player's tool
- add 9 to level progress of player
- else:
- add 9 to level progress of player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement