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:
- loop all entities in radius 8 around the spawned entity:
- send message "%{_g}%" to player
- add 1 to {_g}
- if {_g} is larger than 5:
- if chunk of spawned entity is chunk of loop-entity:
- cancel the event
Advertisement
Add Comment
Please, Sign In to add comment