What are you searching for?

OverlayLib

OverlayLib

Library for rendering live info-overlays

download 18 Downloads · favorite 1 Followers · Updated 1 week ago
Fabric Library Utility 1.21.11

Versions

inventory_2
OverlayLib 0.4.0+1.21.11

0.4.0+1.21.11 · 1 week ago · 95.51 KB

Release download
Fabric 1.21.11
inventory_2
OverlayLib 0.3.0+1.21.11

0.3.0+1.21.11 · 1 week ago · 95.41 KB

Release download
Fabric 1.21.11
inventory_2
OverlayLib 0.2.0+1.21.11

0.2.0+1.21.11 · 1 week ago · 94.77 KB

Release download
Fabric 1.21.11
inventory_2
OverlayLib 0.1.0+1.21.11

0.1.0+1.21.11 · 1 week ago · 146.04 KB

Release download
Fabric 1.21.11

About

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();
open_in_new View on Modrinth
Compatibility
Client: Required Server: Unsupported
gavel CC-BY-NC-SA-4.0

Conversation

What are your thoughts?

Related projects

Library
Fabric API
Fabric API

by modmuss50

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

download 128.4M
favorite 27,401
Library
Cloth Config API
Cloth Config API

by shedaniel

Configuration Library for Minecraft Mods

download 94.4M
favorite 13,670
Optimization Utility
FerriteCore
FerriteCore

by malte0811

Memory usage optimizations

download 84.3M
favorite 12,712
Utility
Mod Menu
Mod Menu

by Prospector

Adds a mod menu to view the list of mods you have installed.

download 77.7M
favorite 22,127
lock Cookie consent

SkinMC uses cookies to provide functionality and features.