跳到正文

Serene Seasons Gen Fix

作者:Fiskerz

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

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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)

常见问题

Serene Seasons Gen Fix 支持哪些 Minecraft 版本?

Serene Seasons Gen Fix 支持 Minecraft Java 版 1.21–1.21.11,共 12 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Serene Seasons Gen Fix 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

Fiskerz 的其他作品

查看全部 →