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