ChiriVulpes / soulus

A Minecraft mod. You must sift through the ashes of the dead to restore life to the world.
https://soulus.info
Other
3 stars 3 forks source link

Animal breeding #27

Closed Thyriel closed 6 years ago

Thyriel commented 6 years ago

If it is possible, how would i need to configure creatures.json so animals can't spawn (as they do not by default) but still can breed ? It seems currently when they breed the xp is given, the timer starts until they can breed again but no baby spawns

ChiriVulpes commented 6 years ago

When I first implemented no natural spawning, because of the way I have to do it (to disable things like mobs in structures), it also disabled mobs spawned by breeding. It was something I didn't think about in the initial implementation, but after I realised, and considered it, I decided that it was better this way: the point is to improve your spawner, not spawn a couple things and breed them up. Therefore, it is intentional for this to work this way. Consider it that you're spawning infertile mobs.

I'm not sure there is a way for me to support this (via config), I haven't looked yet. I don't know if there's an event for breeding. If there's not, there's nothing I can do, and this is just how it will always work: if you have natural creatures off, breeding is also off.

Regardless, I will look into it. Thanks for the suggestion.

ChiriVulpes commented 6 years ago

Fixed as of v3.4.0