
YUNG's API
Library mod for YUNG's mods.
About this Mod
This is a library mod for YUNG's mods.
For all my mod devs out there - This provides a lot of useful stuff, especially if you're a worldgen modder!
The API includes the following:
- AutoRegistration system (1.18+ only). Register any field with only a simple annotation, regardless of mod loader!
- Custom reimplementation of Jigsaw Manager with improved performance and custom pool element types with various new properties. Check out the Better Dungeons code to see it in action.
- New criteria trigger for safely locating any structure. If the given structure doesn't exist, the trigger simply fails rather than instantly passing (unlike vanilla).
- Interfaces for JSON serialization & deserialization with built-in type adapters.
- Simple, lightweight math utilities for vectors and column positions
- BlockStateRandomizer and ItemRandomizer, data abstractions that make adding block and item randomization to your structures incredibly simple. I use these for all of my mods!
If you're curious, you can check the code for my mods (especially the newer ones) to see how things work. Feel free to ask me any questions on Discord!

Available Versions
How to Install YUNG's API on Your Server
Order Server
Order a Minecraft Java server with at least 4 GB RAM (6 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (26.1.2).
Install Mod
Open the mod browser in the dashboard and search for "YUNG's API". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
26.1.2, 26.1.1, 1.21.4 (+9 more)
Server-side
✓ RequiredRecommended RAM
6 GB(min. 4 GB)Frequently Asked Questions
YUNG's API 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 4 GB RAM is allocated and the loader matches the mod version (26.1.2). You can switch loaders with one click in the panel.
Is YUNG's API compatible with fabric and forge and neoforge?
YUNG's API officially supports fabric, forge, neoforge for Minecraft 26.1.2, 26.1.1, 1.21.4. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with YUNG's API – how to optimize performance?
Recommended RAM: 6 GB (per 5 players). Use /spark profiler to check if YUNG's API 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 YUNG's API with just one click on your server.
