Advertisement
Guest User

Untitled

a guest
Aug 24th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.65 KB | None | 0 0
  1. options:
  2. #ustawienia % dropu
  3. szansa_wegiel: 3
  4. szansa_zelazo: 1.5
  5. szansa_redstone: 1
  6. szansa_lapis: 1
  7. szansa_zloto: 0.9
  8. szansa_szmaragd: 0.7
  9. szansa_diament: 0.6
  10. #komenda /drop
  11. command /drop:
  12. aliases: kamien,stone
  13. trigger:
  14. wait 4 ticks
  15. open chest with 3 rows named "&1&lDROP ZE STONE" to player
  16. format slot 1 of player with coal named "&8Wegiel" with lore "&eSzansa: &b{@szansa_wegiel} procent" to be unstealable
  17. format slot 2 of player with iron ingot named "&7Zelazo" with lore "&eSzansa: &b{@szansa_zelazo} procent" to be unstealable
  18. format slot 3 of player with redstone named "&4Redstone" with lore "&eSzansa: &b{@szansa_redstone} procent" to be unstealable
  19. format slot 4 of player with lapis lazuli named "&9Lapis" with lore "&eSzansa: &b{@szansa_lapis} procent" to be unstealable
  20. format slot 5 of player with gold ingot named "&6Zloto" with lore "&eSzansa: &b{@szansa_zloto} procent" to be unstealable
  21. format slot 6 of player with emerald named "&2Szmaragd" with lore "&eSzansa: &b{@szansa_szmaragd} procent" to be unstealable
  22. format slot 7 of player with diamond named "&bDiament" with lore "&eSzansa: &b{@szansa_diament} procent" to be unstealable
  23. #drop ze stone
  24. on mine of stone:
  25. if player's gamemode is survival:
  26. cancel event
  27. delete block
  28. chance of {@szansa_wegiel}%:
  29. send "&eZnalazles &0wegiel"
  30. give player 1 of coal
  31. add 2 xp to the player
  32. stop
  33. chance of {@szansa_zelazo}%:
  34. send "&eZnalazles &7zelazo"
  35. give player 1 of iron ore
  36. add 2 xp to the player
  37. stop
  38. chance of {@szansa_redstone}%:
  39. send "&eZnalazles &4redstone"
  40. give player random integer from 4 to 6 of redstone
  41. add 2 xp to the player
  42. stop
  43. chance of {@szansa_lapis}%:
  44. send "&eZnalazles &9lapis"
  45. give player random integer from 4 to 6 of lapis lazuli
  46. add 2 xp to the player
  47. stop
  48. chance of {@szansa_zloto}%:
  49. send "&eZnalazles &6zloto"
  50. give player 1 of gold ore
  51. add 2 xp to the player
  52. stop
  53. chance of {@szansa_szmaragd}%:
  54. send "&eZnalazles &2szmaragd"
  55. give player 1 of emerald
  56. add 2 xp to the player
  57. stop
  58. chance of {@szansa_diament}%:
  59. send "&eZnalazles &bdiament"
  60. give player 1 of diamond
  61. add 2 xp to the player
  62. stop
  63. give player 1 of cobblestone
  64. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement