About YUNG's API
YUNG's API is a foundational library mod authored by Refresh Studios for Minecraft Java Edition. While you will not see new items or blocks added directly to your creative inventory when installing this alone, it acts as the underlying engine that makes other mods run smoothly. It provides core backend systems, mathematical helper routines, and world generation framework tools that other projects rely on to place custom structures throughout the terrain.
By itself, this library does not directly alter gameplay mechanics, graphics, or user interfaces. Instead, the changes happen under the hood through an upgraded Jigsaw Manager and randomized distribution tools for blocks and items. These background features enable dependent worldgen mods to assemble complex, varied buildings without stalling world loading. It also includes safe structure criteria triggers that ensure structure locate checks fail cleanly instead of passing incorrectly when a build is missing.
This mod suits any player building a modpack that includes structure overhauls, as well as mod developers designing custom terrain features. Pack creators will find it essential because omitting it will prevent dependent mods from starting up. Worldgen authors benefit from built-in JSON serialization, column math utilities, and an automatic registration setup that lets them register game objects across multiple mod loaders using simple annotations rather than writing repetitive loader-specific boilerplate code.
In a modpack setup, YUNG's API serves as a mandatory shared dependency. It must be installed on both client and server instances to ensure seamless world generation and avoid connection mismatches. Because it works across Fabric, Forge, and NeoForge on releases from 1.18.2 up to 26.1.2, it fits neatly into modern mod lists. When paired with Fabric API on Fabric loaders, it provides a stable foundation for exploring redesigned dungeons and subterranean landscapes.
Features
- Reimplemented Jigsaw Manager offering improved generation performance and custom pool element types.
- Safe criteria trigger that fails properly instead of instantly passing when a target structure cannot be located.
- BlockStateRandomizer and ItemRandomizer abstractions to simplify adding random blocks and loot into custom structures.
- AutoRegistration system on 1.18 and newer versions for registering fields easily across mod loaders.
- Built-in JSON serialization and deserialization interfaces equipped with type adapters for data handling.
- Lightweight math utilities specifically created for vector calculations and column position handling.
Tips
- Install on both client and server when hosting multiplayer games, as both sides strictly require the file.
- Include Fabric API alongside this library if you are assembling your modpack on the Fabric mod loader.
- Match your loader choice carefully, as builds are provided for Fabric, Forge, and NeoForge across supported game versions.
- Inspect example implementations in mods like Better Dungeons if you want to understand how the custom Jigsaw Manager functions.
How to install
- Install Fabric / Forge / NeoForge for your Minecraft version (use the official installer).
- Download the file that matches your Minecraft version and Fabric / Forge / NeoForge.
- Also install: Fabric API.
- Open the .minecraft folder and put the file into the "mods" folder (create it if missing).
- Launch Minecraft with the Fabric / Forge / NeoForge profile.
FAQ
Which mod loaders and Minecraft versions can run YUNG's API?
It supports Fabric, Forge, and NeoForge loaders. Compatible Minecraft versions range from 1.18.2 up to 26.1.2, including releases such as 1.20.4, 1.21, 1.21.1, 1.21.4, 26.1.1, and 26.1.2.
Is YUNG's API required on both the client and server sides?
Yes, both client-side and server-side installations are strictly required. You must place the mod file in the mods folder of your personal game launcher as well as your dedicated server.
What dependencies do I need to install with this mod?
If you are running on the Fabric mod loader, Fabric API is a required dependency. On other supported loaders like Forge and NeoForge, ensure you install matching versions for your specific game release.

