Serene Seasons Gen Fix

Serene Seasons Gen Fix

Fixes server crashes when generating new chunks caused by serene seasons.

4 951 downloads 5 followers

What does this mod do?

This mod adds one mixin that bypasses a certain chunk in serene seasons code that uses a known problematic method, thus preventing server crashes.

Usually the error in server log will look something like this:

[Server thread/ERROR] [net.minecraft.util.thread.BlockableEventLoop/FATAL]: Error executing task on Chunk source main thread executor for minecraft:overworld
net.minecraft.ReportedException: Exception generating new chunk
	at TRANSFORMER...
...at java.base/java.lang.Thread.run(Thread.java:1474) [?:?]
Caused by: java.lang.IllegalStateException: Requested chunk unavailable during world generation
	at TRANSFORMER/[email protected]/net.minecraft.server.level.WorldGenRegion.getChunk(WorldGenRegion.java:129) ~[server-1.21.1-20240808.144430-srg.jar%23195!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.world.level.LevelReader.getNoiseBiome(LevelReader.java:59) ~[server-1.21.1-20240808.144430-srg.jar%23195!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.world.level.biome.BiomeManager.getBiome(BiomeManager.java:79) ~[server-1.21.1-20240808.144430-srg.jar%23195!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.world.level.LevelReader.getBiome(LevelReader.java:39) ~[server-1.21.1-20240808.144430-srg.jar%23195!/:?]
	at TRANSFORMER/[email protected]/sereneseasons.season.SeasonHooks.warmEnoughToRainSeasonal(SeasonHooks.java:106) ~[SereneSeasons%20v10.1.0.3.jar%23254!/:10.1.0.3]
	at TRANSFORMER/[email protected]/sereneseasons.season.SeasonHooks.shouldFreezeWarmEnoughToRainHook(SeasonHooks.java:51) ~[SereneSeasons%20v10.1.0.3.jar%23254!/:10.1.0.3]

After which the server crashes.

This mod was created for stardance, so be sure to check it out!

Disclaimer

The mod is very barebones and I do not guarantee that it will fix the issue. From my testing I was able to generate over 200 000 chunks without any problems/crashes (before I made this mod the server crashed after just about 50 chunks were generated), but that does not mean it will fix the issue in your specific case.

Tip:

I reccomend using this alongside WorldGenFeatureFix (not sponsored or anything)

No gallery available for this project.

Version Minecraft Loader Download

Serene Seasons Gen Fix 2.1.2 Fabric

2.1.2

1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9
fabric
Download

Serene Seasons Gen Fix 2.1.2 Forge

2.1.2

1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9
forge
Download

Serene Seasons Gen Fix 2.1.2 NeoForge

2.1.2

1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9
neoforge
Download

Serene Seasons Gen Fix v1.2.4

1.2.4

1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9
neoforge
Download

Serene Seasons Gen Fix 1.0.5

1.0.5

1.21.1
neoforge
Download