Mineuniverse
Log in Register
Mods

Lamp's Utils

A library and utility mod for my other and new mods.
by lampyt
Download Claim this project
21 downloads
0 likes
Updated Jul 6, 2026
0 hypes
API and Library Utility & QoL

Lamp's Utils

A lightweight utility and library mod for Fabric (Minecraft 1.21.11 and 1.21.9).

Features

  • Error Block — A decorative/utility block registered under lamps-utils:error_block
  • HTTP Command/http get <url> fetches data from a URL and displays it in chat, with configurable safety warnings and text length limits
  • Config System — In-game configuration via ModMenu powered by OWO-Lib

Configuration

Option Default Description
showHttpWarning true Show a security warning when using the HTTP command
maxTextLimit 300 Max characters displayed from HTTP responses (100–5000)

Using as a Library

Lamp's Utils is available via JitPack.

Add the following to your build.gradle:

repositories {
    maven { url 'https://jitpack.io' }
}

dependencies {
    modImplementation 'com.github.lamps-dev:lamps-utils:v1.5.0'
}

Available APIs

Block Registration (ModBlocks)

// Register blocks with automatic item registration
ModBlocks.register("my_block", Block::new, properties, true);

// Access built-in blocks
ModBlocks.ERROR_BLOCK

Configuration (ConfigManager)

// Access config values
ConfigManager.CONFIG.showHttpWarning();
ConfigManager.CONFIG.maxTextLimit();

Command Registration (ModCommands)

// Commands are registered via Fabric's command event
ModCommands.register(dispatcher);

Dependencies

Dependency Purpose
Fabric API Required — Core Fabric hooks
OWO-Lib Required — Configuration system
ModMenu Optional — In-game config GUI

Building from Source

git clone https://github.com/lamps-dev/lamps-utils.git
cd lamps-utils
./gradlew build

The built jar will be in build/libs/.

License

CC0-1.0 — Public Domain

Credits:

Fix icons created by Freepik - Flaticon

Claude AI - Created this README.md and helped me code the mod (its not fully vibecoded don't worry).

v1.5.0
MC Client, Fabric, Server, 1.21.9, 1.21.10, 1.21.11
Release 2026-02-15 Get

More from lampyt

U.R.A.I Extended
26

You Might Also Like

Vivecraft
A Minecraft VR mod on a loader of your choice!
9,988,339
Athena
A crossplatform (Forge/Fabric) solution to connected block textures for 1.19.4+
99,799,527
Lodestone
A collection of code used throughout projects under the Lodestar team.
9,914,417
TheDragonLib
A library for most of sokratis12GR's Mods
9,910,232
Multi Mob Library
A library mod containing essential files for Daveyx0's mob mods
9,892,767
FTB Library (Forge) (Legacy)
FTB Library is a library mod that is used for some of our mods.
98,265,314