gkazan / ZAWA

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

[Bug] Mobs do not spawn in OTG overworlds #163

Closed authvin closed 4 years ago

authvin commented 4 years ago

Issues that dont follow this template will be ignored and closed

Test before making a report by removing all mods except ZAWA, Bookworm and ZAWA Add-ons. Check that you are using the latest versions of these mods. Delete these lines when making a report.

Describe the bug When making an OTG world on a server, the overworld will not spawn ZAWA mobs. ZAWA mobs do spawn with the exact same setup in singleplayer, and in multiplayer they spawn in OTG dimensions if enabled in ZAWA configs, so this issue only happens when ZAWA interacts with an OTG overworld on a server.

Could also affect other non-vanilla overworlds from other mods, but I have not tested this.

To Reproduce Steps to reproduce the behavior. (What were you doing when this happened) :

  1. Make a Biome Bundle world following these instructions
  2. Load up the world, go to any vanilla biome
  3. Do /otg biome -m
  4. In singleplayer the list will contain ZAWA mobs, in Multiplayer it will not.

Expected behavior I expected ZAWA creatures to appear in spawn lists in an OTG overworld just like they do in singleplayer with the same setup

Screenshots The following are biome mob spawn lists from OTG. In the first one is a list of spawning creatures for the Mesa Plateau biome on a server. The second is the same list from the same biome, taken in singleplayer. The singleplayer screenshot is expected behaviour.

On server: 2020-08-15_15 47 03

In singleplayer: 2020-08-15_18 10 50

Crash Report or Game Log Does not crash, no info in logs

Please complete the following information):

Additional context A likely culprit is that an OTG overworld on a server will be world-type: OTG, instead of world-type: normal.

There's a related OTG issue: https://github.com/PG85/OpenTerrainGenerator/issues/507

Mods installed:

I'm fairly certain the issue is caused by ZAWA and not OTG, though I can't be 100% sure of course. The same issue is not present with other mob-adding mods, like Mo' Creatures.

I tried setting "ZAWA overworld only spawns" to false in hopes of that fixing the issue, but there were still no spawns in the overworld.

JoelZBub commented 4 years ago

This is 100% caused by OTG. ZAWA uses the Forge Biome Dictionary to register spawnable biomes. OTG does not register standard biomes that use the biome dictionary. You can try configuring OTG biomes to inherit Vanilla biomes in OTG configs, if you're up to the task of trying to get it to work.

authvin commented 4 years ago

I don't know if you actually read the issue? ZAWA mobs spawn in OTG biomes that inherit from vanilla biomes just fine. The issue comes when the world is an OTG overworld, where ZAWA mobs are not in the vanilla spawn lists

JoelZBub commented 4 years ago

Paste your SpawnConfiguration configs from both your server and client to hatebin.com and share the links.

authvin commented 4 years ago

I have not touched that config, it's got default values