OverlayLib

OverlayLib

Library for rendering live info-overlays

by
51.0K Downloads
fabriclibrary
Rent Server with this Mod

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

OverlayLib 0.9.1+26.1release
MC 26.1, 26.1.1, 26.1.2fabric
May 1, 2026
OverlayLib 0.9.0+26.1release
MC 26.1, 26.1.1, 26.1.2fabric
April 23, 2026
OverlayLib 0.8.1+26.1release
MC 26.1, 26.1.1, 26.1.2fabric
April 21, 2026
OverlayLib 0.8.0+26.1release
MC 26.1, 26.1.1, 26.1.2fabric
April 20, 2026
OverlayLib 0.7.0+26.1release
MC 26.1, 26.1.1, 26.1.2fabric
April 1, 2026

How to Install OverlayLib on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (26.1.2).

3

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

fabric

Minecraft Versions

26.1.2, 26.1.1, 26.1 (+1 more)

Server-side

Unsupported

Recommended 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.

Rent Modded Server

Install OverlayLib with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
Creative Commons Attribution Non Commercial Share Alike 4.0 International
Server-side
Unsupported

Supported Versions

26.1.226.1.126.11.21.11