YUNG's Better Caves (Fabric)

YUNG's Better Caves (Fabric)

1M Downloads

[1.20.1] Failed to fetch the AquiferContext in console

SlimF opened this issue ยท 7 comments

commented

First of all, I'd like to thank you for updating the mod for newer versions of the game. It was the goat mod for 1.16 and from my quick check with spectator mode it's even more magnificent than it was!!

Now, onto the issue, I loaded the mod on a server and in the console I saw a few warnings and errors about aquifers. Don't know if it's supposed to be like this or not.

[13:39:30] [Server thread/WARN] [bettercaves/]: AquiferContext is null in AquiferMixin, this should not happen!
[13:39:30] [Server thread/WARN] [bettercaves/]: AquiferContext is null in AquiferMixin, this should not happen!
[13:39:30] [Server thread/WARN] [bettercaves/]: AquiferContext is null in AquiferMixin, this should not happen!
[13:39:30] [Server thread/WARN] [bettercaves/]: AquiferContext is null in AquiferMixin, this should not happen!
[13:39:30] [Server thread/WARN] [bettercaves/]: AquiferContext is null in AquiferMixin, this should not happen!
[13:39:30] [Server thread/WARN] [bettercaves/]: AquiferContext is null in AquiferMixin, this should not happen!
[13:39:30] [Server thread/WARN] [bettercaves/]: AquiferContext is null in AquiferMixin, this should not happen!
[13:39:30] [Server thread/WARN] [bettercaves/]: AquiferContext is null in AquiferMixin, this should not happen!
[13:39:30] [Server thread/WARN] [bettercaves/]: AquiferContext is null in AquiferMixin, this should not happen!
[13:39:30] [Server thread/WARN] [bettercaves/]: AquiferContext is null in AquiferMixin, this should not happen!
[13:39:30] [Server thread/WARN] [bettercaves/]: AquiferContext is null in AquiferMixin, this should not happen!
[13:39:30] [Server thread/WARN] [bettercaves/]: AquiferContext is null in AquiferMixin, this should not happen!
[13:39:30] [Server thread/WARN] [bettercaves/]: AquiferContext is null in AquiferMixin, this should not happen!
[13:39:30] [Server thread/WARN] [bettercaves/]: AquiferContext is null in AquiferMixin, this should not happen!
[13:39:30] [Server thread/WARN] [bettercaves/]: AquiferContext is null in AquiferMixin, this should not happen!
[13:39:30] [Server thread/WARN] [bettercaves/]: AquiferContext is null in AquiferMixin, this should not happen!
[13:39:30] [Server thread/WARN] [bettercaves/]: AquiferContext is null in AquiferMixin, this should not happen!
[13:39:30] [Server thread/WARN] [bettercaves/]: AquiferContext is null in AquiferMixin, this should not happen!
[13:39:30] [Server thread/WARN] [bettercaves/]: AquiferContext is null in AquiferMixin, this should not happen!
[13:39:30] [Server thread/WARN] [bettercaves/]: AquiferContext is null in AquiferMixin, this should not happen!
[13:39:30] [Server thread/ERROR] [bettercaves/]: Failed to fetch the AquiferContext. Liquid Regions for YUNG's Better Caves may not generate properly.

debug.log
latest.log

commented

Hey I'm glad you like it!

Given the logged error, I imagine if you fly around at the bottom of the world and look for water regions, you'll see some weird pockets of lava within the larger pools of water. This is likely to be a mod compat issue - could you try to pinpoint which of your other mods is causing the conflict? It would really help me fix the issue.

commented

Yep, the lava pockets you described were there! I pinpointed the problematic mod to be Alex's Mobs

I loaded a world with only these mods

Image

If I remove Alex's Mobs the warnings in the console are gone.

I managed to narrow it down to a specific setting in Alex's Mobs' config file.
restrictPupfishSpawns = true
Set it to false and the warnings disappear.

Tried starting the server with it set to false 3 times and there were no warnings.
Enabled it, started the server, the warnings returned.
Hopefully this helps

commented

Same happens for me with the repurposed structures mod on fabric 1.20.1
Image

commented

I wasn't able to recreate the issue with RS, but I was for Alex's Mobs with restrictPupfishSpawns set to true. Which.. is very bizarre lol, they seem completely unrelated so I have no idea why that feature might affect my mixin.

I'm gonna try to find a generally more robust approach to pushing the AquiferContext than what I currently have.

commented

This might be tied to mod borders during worldgen - in the one I posted, #173, This issue occurs with a different mod, Infinity Caves, at the borders between different cave mods. It is possible there is a config conflict where one is trying to extend into the other cave during worldgen, affecting resulting block gen once loaded in.

commented

Rolled out an alternative mixin on 1.20.1 in Better Caves 2.0.5. @SlimF @jogurciQ please give it a test and let me know if it works!

commented

No warning anymore and everything looks perfect in spectator mode! Thank you so much for taking your time to fix it! I'm closing the issue, hopefully it's fixed for DrakeFire as well