Skip to content

Packet handling error #707

@stefanember1-spec

Description

@stefanember1-spec

Version

lithium-fabric-0.15.0+mc1.21.1

Fabric Loader 0.17.0

Minecraft 1.21.1

Description

Lithium 0.15.0 causes a client crash during chunk packet decoding on Minecraft 1.21.1.

The crash occurs while handling the packet
clientbound/minecraft:level_chunk_with_light
and throws:

java.lang.IllegalArgumentException: No value with id -1

originating from LithiumHashPalette during chunk palette decoding.

Reproduction Steps

Run Fabric 1.21.1 with Lithium 0.15.0 installed.

Use modded world generation.

Join or load a world.

Client crashes either:

before finishing world load, or

after exploring for a few seconds, depending on biome/chunk generated.

The crash is biome/chunk dependent.

I am using 35 worldgenarating/altering mods however when the following mods are removed the issue is fixed/disappears:

DistantHorizons-2.4.5-b-1.21.1-fabric-neoforge

tectonic-fabric-1.21.1-2.4.3

Terralith_1.21.x_v2.5.8

Lithium 0.15.0

Even enabling only one of these mods causes the crash.

Crash Report:

disconnect-2026-01-12_14.49.48-client.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions