Skip to content

[Compatibility] Chunk generation deadlock with Ecliptic Seasons #25

@joe-vettek

Description

@joe-vettek

Hello, I'm the author of Ecliptic Seasons, a new seasonal mod for Minecraft versions 1.16+ (currently supporting 1.20+).
Someone reported that enabling Snow Under Trees causes a chunk generation deadlock. After investigation, I found that this is due to Snow Under Trees calling Biome.getPrecipitation() to check if a chunk is considered a winter biome.

However, Ecliptic Seasons is designed to be as non-invasive as possible—we don’t use or define “true winter biomes.” Instead, we dynamically modify biomes at runtime to simulate seasonal changes like snowfall. To maintain smooth transitions, we do apply some biome modifications (with caching), but even so, this can trigger chunk reloading, which is not safe during worldgen and leads to the deadlock.

We do have a dedicated API to handle this kind of interaction, but it’s not usable during world generation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions