
OverlayLib
Library for rendering live info-overlays
About this Mod
OverlayLib
A rendering library for live info-overlays
Overlays
This mod allows other mods to create "Overlays", which can render textures on some or even all blocks with variable color, texture and more, built with informative overlays in mind (e.g. a light level overlay).
This is a LIBRARY mod.
This is a library mod, so only installing this without any other mods won't do anything.
Some features
- All rendering is done for you with custom shaders and pipelines
- Configurable yet simple computing of overlay information
- Caching of overlay data to prevent recomputation every frame
- Presets for OverlayRenderers and OverlayManagers so you don't have to! (You can code your own too though)
For Developers
Add OverlayLib to your fabric dependencies:
{
"depends": {
"overlaylib": "VERSION" // Replace VERSION with a version selector
}
}
Add the modrinth maven to your repositories in build.gradle:
repositories {
maven { url "https://api.modrinth.com/maven" }
}
Add OverlayLib to your gradle dependencies:
dependencies {
modApi "maven.modrinth:overlaylib:VERSION" // Replace VERSION with a version number
}
Now you can start using OverlayLib:
import net.lugo.overlaylib.Overlay
Overlay myOverlay = new Overlay(...);
myOverlay.register();
Available Versions
How to Install OverlayLib on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (26.1.2).
Install Mod
Open the mod browser in the dashboard and search for "OverlayLib". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
26.1.2, 26.1.1, 26.1 (+1 more)
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
OverlayLib server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.1.2). You can switch loaders with one click in the panel.
Is OverlayLib compatible with fabric?
OverlayLib officially supports fabric for Minecraft 26.1.2, 26.1.1, 26.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with OverlayLib – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if OverlayLib consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install OverlayLib with just one click on your server.
Details
- License
- Creative Commons Attribution Non Commercial Share Alike 4.0 International
- Server-side
- Unsupported