embeddedt / embeddium

An open-source client performance mod for Minecraft (based on Sodium 0.5.8) prioritizing reliability & mod compatibility
https://legacy.curseforge.com/minecraft/mc-mods/embeddium
GNU Lesser General Public License v3.0
193 stars 74 forks source link

API for accessing chunk rendering #309

Open Takkkom opened 3 months ago

Takkkom commented 3 months ago

Request Description

Currently you need to hack embeddiums to animate chunks like chunksfadein does, or to project arbitrary chunks to specific locations like valkyrien skies does.

embeddedt commented 3 months ago

This is under consideration. I don't think I want to expose an API that enables VS-style projection of chunks, because it shouldn't be necessary to hack any mods (or vanilla) to accomplish that. Mods like those can just render the extra chunk sections themselves instead of patching the vanilla renderer to do it. That approach will work out of the box on vanilla, OptiFine, and Sodium-like environments without requiring separate patches for each (which VS currently needs, last time I checked).

However, I do want to find some solution for the chunk animation problem. If ChunksFadeIn is the only use case for that, it's probably easier to just implement fading as an optional feature in Embeddium itself, but if there are other mods that would benefit I can consider making something more generic.