
Modrinth · Minecraft mod
OpticoresLib
Simple library mod for Opticores.
Quick answer
Which OpticoresLib release should I use?
OpticoresLib 1.2+26.x-fabric targets 26.3, 26.2, 26.1.2 with Fabric. It must be installed on the client. Do not install it on the dedicated server. All 5 required mods have matching files.
Where it goes
Is OpticoresLib required on the client, server, or both?
It must be installed on the client. Do not install it on the dedicated server.
This file is marked client-only.
What else does OpticoresLib 1.2+26.x-fabric need?
1.2+26.x-fabric. Change the file and its required mods may change too.
Install Fabric API, Opticores, OpticoresLib, Sodium and 1 more first. We found matching files for this game-version and loader setup. 3 come through another mod in the chain.
3 extra mods were pulled in by other dependencies. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add OpticoresLib without breaking your instance.
Built for OpticoresLib 1.2+26.x-fabric. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.2+26.x-fabric. It targets 26.3, 26.2, 26.1.2 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Fabric API, Opticores, OpticoresLib, Sodium and 1 more first. We found matching files for this game-version and loader setup. 3 come through another mod in the chain.
- 03
Put it on the correct side
It must be installed on the client. Do not install it on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.2+26.x-fabric. It opens that exact file at the source.
About this project
What does OpticoresLib add?
OptiCoresLib
OptiCoresLib is a lightweight client-side library designed to provide reusable performance, GPU, rendering-infrastructure, compatibility, and diagnostic systems for OptiCores and potentially other compatible performance mods.
OptiCoresLib is not a replacement renderer and does not attempt to replace Minecraft's renderer, Sodium, or Iris. Instead, it provides the low-level infrastructure that performance mods can use to safely manage GPU resources, synchronization, performance measurements, hardware capabilities and rendering-environment detection.
What is OptiCoresLib for?
Modern Minecraft performance optimization can require systems that sit below individual optimization features. GPU buffers, resource lifetimes, synchronization, frame timing, hardware capabilities, and compatibility detection are useful across multiple rendering optimizations, but duplicating those systems inside every mod makes the architecture larger and harder to maintain.
OptiCoresLib separates this reusable infrastructure from the actual optimization logic.
The basic architecture is:
Minecraft / Fabric → OptiCoresLib → OptiCores
OptiCoresLib provides the infrastructure, while OptiCores decides how that infrastructure is used to optimize Minecraft.
Features
GPU Capability Detection
OptiCoresLib can detect available graphics capabilities and expose them through a consistent API.
This allows compatible mods to determine whether an optional GPU feature is actually supported instead of assuming that every system or graphics device provides the same capabilities.
Capability states can distinguish between features that are:
- Supported
- Active
- Disabled
- Unsupported
- Failed
- Using a fallback
This allows performance features to fail safely instead of causing the entire rendering system to fail.
GPU Buffer and Resource Management
OptiCoresLib provides infrastructure for managing GPU resources and buffers.
This includes systems for:
- Resource allocation
- Buffer reuse
- Capacity tracking
- Resource ownership
- Resource retirement
- Cleanup
- Resource recreation after reloads
- Debug validation
The goal is to reduce unnecessary allocation and make GPU resource lifetimes explicit and predictable.
Synchronization and GPU/CPU Coordination
GPU rendering introduces synchronization problems when the CPU and GPU access resources at different times.
OptiCoresLib provides synchronization infrastructure that can be used to:
- Track frames
- Track GPU resource lifetime
- Monitor GPU completion
- Manage fences
- Avoid premature resource destruction
- Detect GPU stalls
- Fall back to safer synchronization behavior when necessary
The library is designed to avoid hiding expensive GPU waits inside normal operations.
Performance and Frame-Time Utilities
OptiCoresLib provides lightweight performance measurement infrastructure.
This can be used to track:
- Frame time
- CPU workload time
- GPU timing when available
- Rolling performance measurements
- Workload budgets
- Performance trends
OptiCores can use this information to make adaptive decisions, such as adjusting how much background work is performed during a frame.
Rendering Environment Detection
OptiCoresLib can identify relevant parts of the Minecraft rendering environment.
This includes detecting environments such as:
- Vanilla
- Sodium
- Iris
- Iris with shaders active
This allows OptiCores to adapt its behavior to the rendering environment instead of assuming that every Minecraft installation uses the same renderer.
Sodium and Iris are not required dependencies of OptiCoresLib.
Diagnostics and Fallbacks
Performance optimizations should not compromise stability.
OptiCoresLib therefore provides infrastructure for reporting why a feature is enabled, disabled, unsupported, or using a fallback.
This can make problems easier to diagnose by providing information such as:
- Which capability was detected
- Which optimization is active
- Why an optimization was disabled
- Why a fallback was activated
- Whether a resource failed to initialize
- Whether a synchronization problem was detected
Optional diagnostic information can be more detailed for debugging without requiring excessive logging during normal gameplay.
Designed for OptiCores
OptiCoresLib is primarily designed as infrastructure for OptiCores.
OptiCores can use the library for common systems while keeping its actual Minecraft-specific optimization algorithms inside the OptiCores mod.
This separation makes the architecture easier to maintain and allows individual systems to be developed, tested, and replaced independently.
Cick here to visit the Opticores official mod page.
Compatibility
OptiCoresLib is designed for:
- Fabric
- Minecraft 1.21.1–1.21.11 & 26.1-26.3
- Fabric API
Sodium and Iris can be detected and integrated with when present, but they are not intended to be mandatory dependencies of the library.
Why a Separate Library?
A separate library prevents OptiCores from becoming one large monolithic mod where every optimization feature has to implement its own GPU management, synchronization, timing, compatibility detection, and diagnostics.
Instead:
OptiCoresLib handles the infrastructure.
OptiCores handles the optimization.
This keeps the responsibilities separated and makes future performance features easier to develop and maintain.
Important
OptiCoresLib is intended to remain small, focused, and infrastructure-oriented.
It is not intended to become another rendering framework. If a system requires detailed knowledge of Minecraft's chunk renderer or implements an OptiCores-specific optimization algorithm, that functionality belongs in OptiCores rather than OptiCoresLib
Project description from Modrinth.
Pick your setup
OpticoresLib by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.3
1 loader build26.2
1 loader build26.1.2
1 loader build26.1.1
1 loader build26.1
1 loader build1.21.11
1 loader build1.21.10
1 loader build1.21.9
1 loader build1.21.8
1 loader build1.21.7
1 loader build1.21.6
1 loader build1.21.5
1 loader buildShowing the newest 12 of 16 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
OpticoresLib versions and loaders
1.2+26.x-fabric
opticoreslib-1.2+26.x-fabric.jar
18 Nov 2026
1.2+1.21.x-fabric
opticoreslib-1.2+1.21.x-fabric.jar
15 Nov 2026
v1.1+26.x
opticoreslib-v1.1+26.x.jar
25 Oct 2026
v1.1+1.21.x
opticoreslib-v1.1+1.21.x.jar
23 Oct 2026
v1.0+26.x
opticoreslib-v1.0+26.x.jar
1 Oct 2026
1.0.0+1.21.x
opticoreslib-1.0.0+1.21.x.jar
23 Sept 2026
Looking for an older file? The official Modrinth project page is in Resources.


