Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Przedmioty jakie moga wypasc
- options:
- item1: 8 diamond #itemki jakie mozna wydropic
- item2: 4 dirt
- item3: 2 tnt
- item4: 5 stone
- item5: 1 apple
- szansa: 75 #szansa liczona w % 75 = 75% 10 = 10% 0.12 = 0.12%
- blok: sponge #Blok jaki to będzie :D
- efekt: happy Villager #efekt
- nazwa: takta #nazwa
- #Nie dodawaj jak nie chcesz :P
- on load:
- add {@item1} to {drop::*}
- add {@item2} to {drop::*}
- add {@item3} to {drop::*}
- add {@item4} to {drop::*}
- add {@item5} to {drop::*}
- stop
- #Drop "magicznej" skrzynki czy czegos tam za kopanie
- on mine of stone:
- chance of 50%:
- drop 1 {@blok} named "{@nazwa}"
- #całe
- on place {@blok}:
- if name of player's tool is "{@nazwa}":
- cancel event
- remove 1 {@blok} named "{@nazwa}" from player
- chance of {@szansa}%:
- drop a random item out of {drop::*}
- spawn 2 of particle {@efekt}:1 offset by 1, 1, 1 at player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement