Skip to content

Add ChunkAPI compat#159

Merged
embeddedt merged 1 commit intoembeddedt:mainfrom
Cardinalstars:main
Mar 1, 2026
Merged

Add ChunkAPI compat#159
embeddedt merged 1 commit intoembeddedt:mainfrom
Cardinalstars:main

Conversation

@Cardinalstars
Copy link
Copy Markdown
Contributor

ChunkAPI overwrites the Read and Write methods for the AnvilChunkLoader. Subsequently, the chunks can become out of sync with isLightingPopulated and isLightInitialized.

Now, Mixin functionality is split into whether ChunkAPI is loaded. Additionally, if chunkAPI is loaded a DataManager is used to initialize the chunk lighting initialization checks rather than injecting into the read and write methods for AnvilChunkLoader.

I also needed to change the TC4 link to be curseforge otherwise I couldn't get it to compile.

@embeddedt embeddedt merged commit 390f7ed into embeddedt:main Mar 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants