Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #_______________________________________________________
- 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:
- loop 10 times:
- spawn 1 {@mob} at {pig}
- ignite last spawned entity for 30 seconds
- apply slowness to last spawned entity for 30 seconds
- set spawned pig's health to 3
- set name of last spawned entity to "{@nazwa}"
Advertisement
Add Comment
Please, Sign In to add comment