Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- mob: pig
- ilosc: 10
- nazwa: Swinka
- #_______________________________________________________
- command /pig <text>:
- trigger:
- player has permission "pig.admin":
- if arg 1 is "set":
- set {pig} to location of player
- send "&4PIGG &l>> &aStworzono swiniarnie."
- if arg 1 is "del":
- clear {pig}
- send "&4PIGG &l>> &aUsunieto swiniarnie."
- #_________________________________________________________
- on right click:
- if clicked block is stone button:
- if block behind clicked block is end stone:
- spawn {@ilosc} {@mob} at {pig}
- #__________________________________________________________
- on spawn of pig:
- set name of last spawned entity to "{@nazwa}"
- ignite last spawned entity
Advertisement
Add Comment
Please, Sign In to add comment