CaffeineMC / sodium

A Minecraft mod designed to improve frame rates and reduce micro-stutter
Other
4.8k stars 812 forks source link

API Requests for Distant Horizons #2332

Open jeseibel opened 9 months ago

jeseibel commented 9 months ago

Request Description

Distant Horizons currently has two interfaces for Sodium:

Here is the file where we are currently accessing Sodium: https://gitlab.com/jeseibel/distant-horizons/-/blob/main/fabric/src/main/java/com/seibel/distanthorizons/fabric/wrappers/modAccessor/SodiumAccessor.java

Please ignore the pre-processor code in the SodiumAccessor. DH supports old MC/Sodium versions, but we don't expect Sodium to deploy these API changes for anything but the newest version of Sodium/MC.

sylv256 commented 3 months ago

This would also be useful for Weird Wares since we iterate over all currently rendered sections when rendering the terrain_glint render type. https://github.com/VulpixelMC/weird-wares