
Lamp's Utils
A library mod primarily for my mods
Screenshots


About this Mod
Lamp's Utils
A lightweight utility and library mod for Fabric (Minecraft 1.21.11).
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).
Available Versions
How to Install Lamp's Utils on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).
Install Mod
Open the mod browser in the dashboard and search for "Lamp's Utils". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.11, 1.21.10, 1.21.9
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Lamp's Utils 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 (1.21.11). You can switch loaders with one click in the panel.
Is Lamp's Utils compatible with fabric?
Lamp's Utils officially supports fabric for Minecraft 1.21.11, 1.21.10, 1.21.9. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Lamp's Utils – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Lamp's Utils 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.
Similar Mods
Rent Modded Server
Install Lamp's Utils with just one click on your server.