Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a hook to allow conditional spawning #60

Closed
MrMasochism opened this issue May 16, 2012 · 1 comment
Closed

Adding a hook to allow conditional spawning #60

MrMasochism opened this issue May 16, 2012 · 1 comment

Comments

@MrMasochism
Copy link
Contributor

Want to add a hook to the SpawnAnimals file to allow conditional spawning of mobs. This is to provide the ability to set ranges of altitude or light levels for new mobs to spawn in

@LexManos
Copy link
Member

You can already hook into this with EntityLiving.getCanSpawnHere(), and ISpecialMobSpawnHandler

simon816 pushed a commit to simon816/MinecraftForge that referenced this issue May 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants