Better Animals Plus

Better Animals Plus

24M Downloads

Non-land animals don't spawn in pregenned chunks

Alkiasan opened this issue ยท 6 comments

commented

Describe the bug

Installing the mod on a world with chunks already generated does not allow mobs from this mod to spawn. Underwater creatures still seem to spawn though, weirdly.

To Reproduce

Steps to reproduce the behavior:

  1. Pregen world
  2. Install mod
  3. See error

Expected behavior

Mobs spawn naturally

Versions

  • Minecraft Version: 1.18.1

  • Architectury API Version: 3.2.60

  • Platform (Forge/Fabric): Fabric

  • Fabric Loader Version: 0.12.2

  • Mod Version: 11.0.4

commented

Hmm.. Chunks are pregenned 15k blocks out... Is there really no way around this?

commented

Like a launch arguement or something that can reset the chunk's spawning?

commented

This is not a bug, this is how Minecraft's creature spawning system works. If the mod is not present at chunk generation, land creatures will not be spawned. It doesn't apply to water creatures, because that is how Minecraft's water spawning works. We use vanilla spawning algorithms.

commented

If you go to ungenerated chunks, things will spawn as expected. This only applies to chunks that have been generated WITHOUT the mod installed.

commented

Entities not spawning would be a problem with your pregenerator, not the mod.

commented

I know it's not an issue with the mod, and the chunks were pregenned before the mod was added, which is why the problem is occuring. I was just wondering if there's a way to re-validate the chunks or something instead of straight-up resetting the world?