Language

OverlayLib

OverlayLib

Modrinth

Library for rendering live info-overlays

54.0k downloads 32 followers updated 2d ago
latest v0.9.1+26.2 Modrinth
Fabric 1.21.11 – 26.2 Library

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();

Versions

Release
0.9.1+26.2
fabric · 26.2 · 2d ago
1.0k
Release
0.9.1+26.1
fabric · 26.1, 26.1.1, 26.1.2 · 1mo ago
12.3k
Release
0.9.0+26.1
fabric · 26.1, 26.1.1, 26.1.2 · 1mo ago
2.1k
Release
0.8.1+26.1
fabric · 26.1, 26.1.1, 26.1.2 · 1mo ago
860
Release
0.8.0+26.1
fabric · 26.1, 26.1.1, 26.1.2 · 2mo ago
147
Release
0.7.0+26.1
fabric · 26.1, 26.1.1, 26.1.2 · 2mo ago
4.4k
Release
0.7.0+26.1
fabric · 26.1 · 2mo ago
https://github.com/lugosieben/overlaylib/releases/tag/v0.7.0
1.4k
Release
0.6.0+1.21.11
fabric · 1.21.11 · 3mo ago
16.2k
Release
0.5.0+1.21.11
fabric · 1.21.11 · 4mo ago
https://github.com/lugosieben/overlaylib/releases/tag/v0.5.0
14.8k
Release
0.4.0+1.21.11
fabric · 1.21.11 · 4mo ago
https://github.com/lugosieben/overlaylib/releases/tag/v0.4.0
92
Release
0.3.0+1.21.11
fabric · 1.21.11 · 4mo ago
https://github.com/lugosieben/overlaylib/releases/tag/v0.3.0
49
Release
0.2.0+1.21.11
fabric · 1.21.11 · 4mo ago
https://github.com/lugosieben/overlaylib/releases/tag/v0.2.0
44

Comments 0

No comments yet. Be the first to share your thoughts.