Guest User

Pigg Swiniarki

a guest
Sep 14th, 2014
446
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1.  
  2. options:
  3. mob: pig
  4. ilosc: 10
  5. nazwa: Swinka
  6.  
  7. #_______________________________________________________
  8. command /pig <text>:
  9. trigger:
  10. player has permission "pig.admin":
  11. if arg 1 is "set":
  12. set {pig} to location of player
  13. send "&4PIGG &l>> &aStworzono swiniarnie."
  14. if arg 1 is "del":
  15. clear {pig}
  16. send "&4PIGG &l>> &aUsunieto swiniarnie."
  17.  
  18. #_________________________________________________________
  19. on right click:
  20. if clicked block is stone button:
  21. if block behind clicked block is end stone:
  22. spawn {@ilosc} {@mob} at {pig}
  23. #__________________________________________________________
  24. on spawn of pig:
  25. set name of last spawned entity to "{@nazwa}"
  26. ignite last spawned entity
Advertisement
Add Comment
Please, Sign In to add comment