ModsFinder

OverlayLib

by lugosieben

OverlayLib is a Fabric library for rendering live info-overlays, which other mods can build on rather than writing their own rendering code.

FabricClient-side onlyCreative Commons Attribution Non Commercial Share Alike 4.01.21.11 – 26.3

What it does

Developers who build an information display can use OverlayLib to draw it on the screen while the player plays. The library handles the drawing itself, using custom shaders and rendering pipelines, so a mod that depends on it does not need its own rendering setup. Configuration of the overlay data is kept simple, and computed values are cached so that they are not recalculated on every frame.

The library ships presets for overlay renderers and overlay managers, so a dependent mod can use them directly, and developers may also write their own. OverlayLib runs on the client only, and Fabric API is required, so it must be installed beside it. The mod is published for Fabric across six release versions, 1.21.11 – 26.3, and the code is released under the Creative Commons Attribution Non Commercial Share Alike 4.0 license, which means it is not open source. Public links for the source code and the issue tracker are available.

Key features

  1. Custom rendering pipelines

    Overlays are drawn with custom shaders and pipelines, so the calling mod does not write its own draw code.

  2. Overlay data caching

    Computed overlay data is cached so that it is not recalculated every frame.

  3. Configurable overlay computation

    The data shown in an overlay can be configured through a simple computing setup.

  4. Renderer and manager presets

    Ready-made renderers and managers can be used as they are, or replaced with custom ones written by the developer.

Compatibility

Latest build for each game version and loader.

26.30.12.1+26.3
26.20.12.0+26.2
26.1.20.9.1+26.1
26.1.10.9.1+26.1
26.10.9.1+26.1
1.21.110.6.0+1.21.11
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

Required by 2 mods

Use cases

Library for dependent mods

Mods that show live information, such as Light Overlay or Crop Farming Helper, can depend on OverlayLib for their display layer.

Who it’s for: Mod developers who want to show live information on the screen, and players who use a mod that requires OverlayLib.

How it compares

Full comparison

Renderer is a Fabric client-side library under the GNU General Public License v3.0 only, with files for 1.18.2 – 1.20.4, and it is open source. OverlayLib covers 1.21.11 – 26.3 and is not open source. Phlox is a Fabric mod for client and server, open source under the GNU General Public License v3.0 only, published for 26.1.2 – 26.2.

ModLoadersGame versionsEnvironmentUpdated
OverlayLibFabric1.21.11 – 26.3Client-side only2026-10-02
RendererFabric1.18.2 – 1.20.4Client-side only2024-02-27
PhloxFabric26.1.2 – 26.2Client and server2026-07-31

Questions

Does OverlayLib need Fabric API?

Yes. Fabric API is a required dependency, so it must be installed next to OverlayLib on Fabric.

Does OverlayLib have to be installed on the server?

No. Only the player's game needs it, and servers run without it.

Which mods use OverlayLib?

Two catalog mods require it: Light Overlay and Crop Farming Helper.

In the catalog

OverlayLib is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 8,071 mods support Minecraft 26.3.

More from lugosieben

All projects

Similar mods

What the author says

There isn't proper documentation for this mod (yet). If you wan't to learn how to use it to create your own mod, you can send me a DM on Discord: @lugosieben
lugosieben, on the Modrinth page

Official listing

Owner
lugosieben
Published
2026-01-25
Updated on Modrinth
2026-10-02
Facts verified
2026-10-15

Tags