Advertisement
Guest User

DafaQ

a guest
Dec 1st, 2015
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. #Przedmioty jakie moga wypasc
  2. options:
  3. item1: 8 diamond #itemki jakie mozna wydropic
  4. item2: 4 dirt
  5. item3: 2 tnt
  6. item4: 5 stone
  7. item5: 1 apple
  8. szansa: 75 #szansa liczona w % 75 = 75% 10 = 10% 0.12 = 0.12%
  9. blok: sponge #Blok jaki to będzie :D
  10. efekt: happy Villager #efekt
  11. nazwa: takta #nazwa
  12. #Nie dodawaj jak nie chcesz :P
  13. on load:
  14. add {@item1} to {drop::*}
  15. add {@item2} to {drop::*}
  16. add {@item3} to {drop::*}
  17. add {@item4} to {drop::*}
  18. add {@item5} to {drop::*}
  19. stop
  20. #Drop "magicznej" skrzynki czy czegos tam za kopanie
  21. on mine of stone:
  22. chance of 50%:
  23. drop 1 {@blok} named "{@nazwa}"
  24.  
  25.  
  26.  
  27.  
  28. #całe
  29. on place {@blok}:
  30. if name of player's tool is "{@nazwa}":
  31. cancel event
  32. remove 1 {@blok} named "{@nazwa}" from player
  33. chance of {@szansa}%:
  34. drop a random item out of {drop::*}
  35. spawn 2 of particle {@efekt}:1 offset by 1, 1, 1 at player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement