Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- every 1 second:
- loop all entities:
- if loop-entity is villager:
- if name of loop-entity is "&6Cos":
- if {pos::%loop-entity%} isn't location of loop-entity:
- teleport loop-entity to {pos::%loop-entity%}
- command /chuj:
- trigger:
- if player have permission "*":
- set {_loc} to location of player
- spawn 1 villager at {_loc}
- set name of last spawned entity to "&6Cos"
- set {pos::%last spawned entity%} to location of last spawned entity
Advertisement
Add Comment
Please, Sign In to add comment