Mineuniverse
Mods
Unifine

Unifine

MOD
Mod to provide config details of Optifine to forge mods via IMC
by ferreusveritas
Download Claim this project
279,280 downloads
0 likes
Updated Oct 14, 2026
0 hypes
API and Library Thermal Expansion
Advertisement Remove ads with Premium →

This is a support library to allow Forge Mods to get IMC notifications about Optifine's shader state. 

 

General:

A mod can register a callback via IMC and can then receive a notification that Optifine has changed or disabled the shaderpack. Since it's IMC there's no hard dependencies on Unifine.  Just drop it in and go.  This mod is only useful on clients but can be easily distributed in universal modpacks since the server simply ignores it.  If Optifine is not installed then this mod becomes safely inactive, so it's safe for players to remove Optifine and leave this mod if they are having compatibility issues.

 

Development Aid:

Optifine is closed source and difficult to work with in a dev environment. Unifine provides convenient methods to develop against that are accessible and clear to get the state of Optifine. The API allows modders to conveniently find out the shaderpack being used so it can inform/enforce the player of the recommended/required shaderpack that's intended for a modpack.

 

Monkey Patches:

This mod also contains a workaround for ThermalDynamics cover crashes and rendering issues.  Once this bug has been fixed in either ThermalDynamics and/or Optifine I'll remove this feature.

 

ModPacks:

This mod may be used in any modpacks, and freely used as content for videos.

Unifine-1.12.2-0.1.0.jar
MC Forge, 1.12.2
Release 2020-04-16 Get

More from ferreusveritas

Advertisement Remove ads with Premium →

You Might Also Like