gkazan / ZAWA

The Zoo & Wild Animals Mod
10 stars 3 forks source link

[Bug] OTG 1.12.2 v9 MP - Biome mob spawn lists not detected at server start #170

Open PG85 opened 4 years ago

PG85 commented 4 years ago

Following issue tickets https://github.com/PG85/OpenTerrainGenerator/issues/507 and https://github.com/0SoggyMustache0/ZAWA/issues/163, I've done some digging.

Users have reported the following with OTG and Zawa:

Whenever OTG registers biomes for a world/dim, if mob inheritance is enabled for a biome, the targeted biome (f.e. a vanilla biome) is fetched from the biome registry and its mob spawn lists are inherited for the OTG biome. This appears to work for any OTG biome registered during a session (when creating a new OTG dimension via the ingame O menu), but does not work for any OTG world/dim created or loaded at server start.

The most likely explanation is that when OTG registers biomes at MP server start when creating/loading worlds/dims, the zawa mobs have not yet been added to the vanilla biomes' mob spawn lists. So either Zawa is late, or OTG is early. I'd like to get to the bottom of this, could you tell me where/when exactly Zawa edits biomes' mob spawn lists on MP server start?

JoelZBub commented 4 years ago

Configs load at post init