Advertisement
zzTuras

Prosty Drop

Oct 26th, 2016
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.36 KB | None | 0 0
  1.  
  2. # 0 1 2 3 4 5 6 7 8
  3. # 9 10 11 12 13 14 15 16 17
  4. # 18 19 20 21 22 23 24 25 26
  5. # 27 28 29 30 31 32 33 34 35
  6. # 36 37 38 39 40 41 42 43 44
  7. # 45 46 47 48 49 50 51 52 53
  8. # 54 55 56 57 58 59 60 61 62
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16. options:
  17. zloto: 2.0 # 1
  18. diament: 0.7 # 2
  19. szmaragd: 0.7 # 3
  20. zelazo: 3.0 # 4
  21. lapis: 1.0 # 5
  22. redstone: 2.5 # 6
  23. wegiel: 2.5 # 7
  24.  
  25. xlapis: 351:4 named "&1&lLapis" with lore "&71,0%%"
  26. xzelazo: 15 named "&8&lZelazo" with lore "&73,0%%"
  27. xzloto: 14 named "&e&lZloto" with lore "&72,0%%"
  28. xredstone: 331 named "&4&lRedstone" with lore "&72,5%%"
  29. xwegiel: 263 named "&0&lWegiel" with lore "&72,5%%"
  30. xemerald: emerald named "&2&lEmerald" with lore "&70,7%%"
  31. xdiament: diamond named "&b&lDiament" with lore "&70,7%%"
  32. fort1book: enchanted book named "&d&lFortune 1" with lore "&7Dodaje + 0,2%%"
  33. fort2book: enchanted book named "&d&lFortune 2" with lore "&7Dodaje + 0,4%%"
  34. fort3book: enchanted book named "&d&lFortune 3" with lore "&7Dodaje + 0,6%%"
  35. butelka: 384 named "&e&lEXP" with lore "&81 Stone = 1 EXP"
  36. cstone: stone named "&9&lCobbleX" with lore "&a/cobblex"
  37. # maczuga: stick of knockback 2 named "&a&lMaczuga" with lore "&7Odpycha!"
  38.  
  39. command /dropmenu:
  40. trigger:
  41. open chest with 4 rows named "&e&lMenu Dropu:" to player
  42. format slot 0 of player with {@xdiament} to close
  43. format slot 1 of player with {@xemerald} to close
  44. format slot 2 of player with {@xwegiel} to close
  45. format slot 3 of player with {@xredstone} to close
  46. format slot 4 of player with {@xzloto} to close
  47. format slot 5 of player with {@xzelazo} to close
  48. format slot 6 of player with {@xlapis} to close
  49. format slot 18 of player with {@fort1book} to close
  50. format slot 19 of player with {@fort2book} to close
  51. format slot 20 of player with {@fort3book} to close
  52. format slot 22 of player with {@butelka} to close
  53. format slot 25 of player with {@cstone} to close
  54.  
  55. command /drop:
  56. trigger:
  57. open chest with 2 rows named "&b&lTaki bedzie drop:" to player
  58. format slot 0 of player with diamond named "&70,7%%" to close # diament
  59. format slot 1 of player with emerald named "&70,7%%" to close # emerald
  60. format slot 2 of player with 263 named "&72,5%%" to close # wegiel
  61. format slot 3 of player with 331 named "&72,5%%" to close # redstone
  62. format slot 4 of player with 14 named "&72,0%%" to close # zloto
  63. format slot 5 of player with 15 named "&73,0%%" to close # zelazo
  64. format slot 6 of player with 351:4 named "&71,0%%" to close # lapis
  65.  
  66. on mine of stone:
  67. if player's tool is any pickaxe:
  68. add 1 exp to player
  69. if player's tool is enchanted with fortune 1:
  70. add 2 exp to player
  71. if player's tool is enchanted with fortune 2:
  72. add 4 exp to player
  73. if player's tool is enchanted with fortune 3:
  74. add 6 exp to player
  75.  
  76. on mine of stone:
  77. if player's tool is any pickaxe:
  78. chance of {@zloto}%:
  79. drop 1 gold ingot
  80. send "&7Znalazles &eZloto!"
  81.  
  82. chance of {@diament}%:
  83. drop 1 diamond
  84. send "&7Znalazles &bDiament!"
  85.  
  86. chance of {@szmaragd}%:
  87. drop 1 emerald
  88. send "&7Znalazles &2Szmaragd!"
  89.  
  90. chance of {@zelazo}%:
  91. drop 1 iron ingot
  92. send "&7Znalazles &8Zelazo!"
  93.  
  94. chance of {@lapis}%:
  95. drop 1 lapis lazuli
  96. send "&7Znalazles &1Lapis!"
  97.  
  98. chance of {@redstone}%:
  99. drop 1 redstone
  100. send "&7Znalazles &4Redstone!"
  101.  
  102. chance of {@wegiel}%:
  103. drop 1 coal
  104. send "&7Znalazles &0Wegiel!"
  105. if player's tool is enchanted with fortune 1:
  106. chance of {@zloto}+0.2%:
  107. drop 1 gold ingot
  108. send "&7Znalazles &eZloto!"
  109.  
  110. chance of {@diament}+0.2%:
  111. drop 1 diamond
  112. send "&7Znalazles &bDiament!"
  113.  
  114. chance of {@szmaragd}+0.2%:
  115. drop 1 emerald
  116. send "&7Znalazles &2Szmaragd!"
  117.  
  118. chance of {@zelazo}+0.2%:
  119. drop 1 iron ingot
  120. send "&7Znalazles &8Zelazo!"
  121.  
  122. chance of {@lapis}+0.2%:
  123. drop 1 lapis lazuli
  124. send "&7Znalazles &1Lapis!"
  125.  
  126. chance of {@redstone}+0.2%:
  127. drop 1 redstone
  128. send "&7Znalazles &4Redstone!"
  129.  
  130. chance of {@wegiel}+0.2%:
  131. drop 1 coal
  132. send "&7Znalazles &0Wegiel!"
  133. if player's tool is enchanted with fortune 2:
  134. chance of {@zloto}%:
  135. drop 1 gold ingot
  136. send "&7Znalazles &eZloto!"
  137.  
  138. chance of {@diament}+0.4%:
  139. drop 1 diamond
  140. send "&7Znalazles &bDiament!"
  141.  
  142. chance of {@szmaragd}+0.4%:
  143. drop 1 emerald
  144. send "&7Znalazles &2Szmaragd!"
  145.  
  146. chance of {@zelazo}+0.4%:
  147. drop 1 iron ingot
  148. send "&7Znalazles &8Zelazo!"
  149.  
  150. chance of {@lapis}+0.4%:
  151. drop 1 lapis lazuli
  152. send "&7Znalazles &1Lapis!"
  153.  
  154. chance of {@redstone}+0.4%:
  155. drop 1 redstone
  156. send "&7Znalazles &4Redstone!"
  157.  
  158. chance of {@wegiel}+0.4%:
  159. drop 1 coal
  160. send "&7Znalazles &0Wegiel!"
  161. if player's tool is enchanted with fortune 3:
  162. chance of {@zloto}+0.6%:
  163. drop 1 gold ingot
  164. send "&7Znalazles &eZloto!"
  165.  
  166. chance of {@diament}+0.6%:
  167. drop 1 diamond
  168. send "&7Znalazles &bDiament!"
  169.  
  170. chance of {@szmaragd}+0.6%:
  171. drop 1 emerald
  172. send "&7Znalazles &2Szmaragd!"
  173.  
  174. chance of {@zelazo}+0.6%:
  175. drop 1 iron ingot
  176. send "&7Znalazles &8Zelazo!"
  177.  
  178. chance of {@lapis}+0.6%:
  179. drop 1 lapis lazuli
  180. send "&7Znalazles &1Lapis!"
  181.  
  182. chance of {@redstone}+0.6%:
  183. drop 1 redstone
  184. send "&7Znalazles &4Redstone!"
  185.  
  186. chance of {@wegiel}+0.6%:
  187. drop 1 coal
  188. send "&7Znalazles &0Wegiel!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement