Jump to content

Conditional mob spawning hook


MrMasochism

Recommended Posts

Hi,

 

I'd like to request a hook in the spawner animals java to allow conditional spawning.  Something like the ability water mobs have with getCanSpawnHere().  It would be incredibly useful for the mod i'm working on. 

 

Some point after line 271.  Adding a boolean that could let me stop a spawn from happening depending on light level/altitude

 

Thanks

MrMasochism

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.