Advertisement
Guest User

Untitled

a guest
Mar 17th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on spawn of skeleton, pig, zombie, cow, chicken, horse, iron golem, sheep, skeleton, spider or creeper:
  2. set {_g} to 0
  3. loop all entities in radius 20 around the spawned entity:
  4. if chunk of spawned entity is chunk of loop-entity:
  5. add 1 to {_g}
  6. send message "%{_g}%" to console
  7. if {_g} is larger than 5:
  8. cancel the event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement