Advertisement
zuhir__

Fix

Feb 17th, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. on break lapis block:
  2. if player's tool is stone pickaxe:
  3. If player can hold 9 lapis:
  4. if data value of player's tool is equal to 131:
  5. cancel event
  6. set block to air
  7. give 9 lapis to player
  8. add 9 to level progress of player
  9. delete player's tool
  10. else:
  11. cancel event
  12. set block to air
  13. give 9 lapis to player
  14. add 1 to the data value of the player's tool
  15. add 9 to level progress of player
  16. else:
  17. add 9 to level progress of player
  18. else if player's tool is iron pickaxe:
  19. If player can hold 9 lapis:
  20. if data value of player's tool is equal to 250:
  21. cancel event
  22. set block to air
  23. give 9 lapis to player
  24. add 9 to level progress of player
  25. delete player's tool
  26. else:
  27. cancel event
  28. set block to air
  29. give 9 lapis to player
  30. add 1 to the data value of the player's tool
  31. add 9 to level progress of player
  32. else:
  33. add 9 to level progress of player
  34. else if player's tool is diamond pickaxe:
  35. If player can hold 9 lapis:
  36. if data value of player's tool is equal to 1561:
  37. cancel event
  38. set block to air
  39. give 9 lapis to player
  40. add 11 to level progress of player
  41. delete player's tool
  42. else:
  43. cancel event
  44. set block to air
  45. give 9 lapis to player
  46. add 1 to the data value of the player's tool
  47. add 9 to level progress of player
  48. else:
  49. add 9 to level progress of player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement