Skip to content

Conversation

@gochi9
Copy link
Contributor

@gochi9 gochi9 commented Apr 21, 2025

ChunkGenerator has a boolean called shouldGenerateMobs() and has the description, "Gets if the server should generate Vanilla mobs after this ChunkGenerator."

I've worked a couple of days ago with a custom world generator and I noticed the default mob spawn was not behaving right. I was on hard diff with 0 light level on the entire map and there were very few spawns. I found out that if you don't override shouldGenerateMobs() is just returns false by default.
It does seem to interfere with normal mob spawn in certain cases, but not always which seems very strange to me. But I do remember running BSkyBlock and having mob spawn issues for no real reason, I've also seen people complain about this kind of stuff in the discord as well.

Needs some testing, and perhaps digging through src to find out what's really happening. Though I doubt just leaving this setting on true would have any negative effects.

@tastybento tastybento merged commit 7b69db2 into BentoBoxWorld:develop Jul 7, 2025
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

Successfully merging this pull request may close these issues.

2 participants