Library for YUNG's structure mods

YungsAPI Mod, the library behind YUNG's better structures

YUNG's API is the common library that powers YUNG's Better Dungeons, Better Mineshafts, Better Strongholds and more. Install it once for Forge, Fabric or NeoForge and every YUNG's mod in your pack has what it needs.

  • Forge, Fabric and NeoForge
  • Minecraft Java Edition
  • Free and open source
Isometric block structure representing YungsAPI Mod world generation
F
Forge1.16.5 to 1.20.1
N
NeoForge1.21.1 and newer
Fb
Fabricwith Fabric API
YungsAPI Mod shared library illustration with structure blocks
One libraryshared by a whole family of YUNG's world generation mods
What is YungsAPI Mod

A dependency that keeps YUNG's mods small, stable and consistent

YungsAPI Mod is a library mod written by YUNG for Minecraft Java Edition. Instead of every structure mod carrying its own copy of the same code, the shared parts live in YUNG's API: tools for building structures piece by piece, processors that decorate blocks as they generate, configuration helpers and loader support.

That is why the library shows up as a required dependency the moment you add a mod like Better Dungeons. It does not change your world on its own, but without it those mods cannot start.

  • Built for players and pack makers who use one or more YUNG's mods.
  • Available per loader with separate Forge, Fabric and NeoForge builds.
  • Open source with the full code on the official YUNG-GANG repository.
Features

What YUNG's API provides under the hood

Players never see these tools directly, but they are the reason YUNG's structures generate reliably across versions and loaders.

Structure building toolkit

Helpers for assembling large structures from smaller pieces, placing them safely in terrain and controlling how rooms and corridors connect. Dungeons, mineshafts and strongholds all rely on this layer.

Shared block processors

Reusable rules that swap, age and decorate blocks while a structure generates, giving builds a weathered, hand-made look.

Configuration helpers

Common config handling so each YUNG's mod exposes clear, consistent settings for pack makers.

World generation utilities

Math, randomness and placement helpers used when structures pick their spot in the world.

Multi-loader support

Common code shared between Forge, Fabric and NeoForge builds, which keeps behaviour the same across loaders.

Version-by-version updates

The library is updated alongside YUNG's mods, from legacy 1.16.5 up to the latest source branches.

Lightweight footprint

No new blocks, items or screens. The library loads quietly and only does work when a dependent mod calls it, so it adds almost nothing to startup time or memory use.

How it works

From mods folder to new structures in three steps

  1. 1

    The loader finds YUNG's API

    When Minecraft starts, Forge, Fabric or NeoForge loads YungsAPI Mod from your mods folder before the mods that need it.

  2. 2

    YUNG's mods connect to it

    Better Dungeons, Better Mineshafts and the rest register their structures using the shared tools in the library.

  3. 3

    New chunks generate

    As you explore, the library helps place and decorate each structure so it fits naturally into the terrain.

Compatibility

Loader and version overview

Pick the build that matches both your loader and your Minecraft version. Popular combinations include YungsApi 1.20.1 Forge, YungsApi 1.20.1 Fabric and Yungsapi mod 1.21.1 NeoForge.

YungsAPI Mod availability by Minecraft version and mod loader
Minecraft Forge Fabric NeoForge Typical use
1.16.5 Available Check files Check files Legacy Forge packs
1.18.2 Available Available Check files Older long-term packs
1.19.2 Available Available Check files Popular adventure packs
1.20.1 Available Available Check files Most common modpack version
1.21.1 Check files Available Available Modern NeoForge packs
26.1.x Check files Check files Check files Newest source branch

Availability changes with each release. "Check files" means you should confirm the loader and game version listed on the official file page before installing.

Use cases

Who installs YungsAPI Mod

Solo explorers

Add Better Dungeons or Better Strongholds to a singleplayer world for richer underground adventures.

Modpack makers

Ship one library file that satisfies every YUNG's mod in the pack, with versions kept in sync.

Server owners

Run redesigned structures on a multiplayer server so every player discovers the same builds.

Mod developers

Study the open source code to see how YUNG handles structure generation across loaders.

Installation

Set up YungsAPI Mod in about ten minutes

The steps are the same on Windows, macOS and Linux. Only the loader installer differs.

  1. Install a mod loader

    Install Forge, Fabric or NeoForge for the exact Minecraft version you play and launch it once so the mods folder is created.

  2. Get the matching YungsAPI Mod build

    Choose the file built for your loader and game version. On Fabric, add Fabric API as well.

  3. Place the file in the mods folder

    Copy the YungsAPI Mod .jar into .minecraft/mods or your launcher instance mods folder.

  4. Add the YUNG's mods you want

    Drop in Better Dungeons, Better Mineshafts or any other YUNG's mod that lists YUNG's API as a dependency.

  5. Launch and explore new chunks

    Start the game with your loader profile, then create a world or travel to unexplored areas to see the new structures.

Download YungsAPI Mod

Get the latest YungsAPI Mod source release straight from the official YUNG-GANG repository on GitHub.

Branch
26.1.2
Package
Source code, ZIP
Source
Official GitHub repository
Price
Free

This archive contains the project source for developers and self-builds. To play, use the compiled .jar for your loader from the official mod listing.

YungsAPI Mod download package illustration
Pros and cons

An honest look at YungsAPI Mod

Pros

  • One file supports the whole family of YUNG's mods.
  • Builds for Forge, Fabric and NeoForge across many versions.
  • Light on resources with no extra content to manage.
  • Free, open source and actively maintained.

Cons

  • Does nothing visible without a dependent mod.
  • Version and loader must match exactly, which confuses new players.
  • Some loader and version pairs are not available.
  • The GitHub archive is source code, not a ready-to-play jar.
Release information

Current release at a glance

Software
YungsAPI Mod (YUNG's API)
Developer
YUNG (YUNGNICKYOUNG)
Latest branch
26.1.2
Type
Library / API mod
Game
Minecraft Java Edition
Loaders
Forge, Fabric, NeoForge
Installed on
Client and server with dependent mods
License
Open source, see repository

Version numbers follow Minecraft releases. For a full change history, read the commit log and release notes on the official repository.

Troubleshooting

Common problems and quick fixes

"Missing dependency: yungsapi"

A YUNG's mod is installed without the library. Add the YungsAPI Mod build for the same loader and game version.

Game crashes on launch

Usually a loader mismatch, such as a Fabric file on Forge. Check the file name and replace it with the correct build.

Duplicate mod error

Two versions of YungsAPI Mod are in the folder. Delete the older one so only a single copy remains.

Fabric mods do not load

Fabric API is missing or outdated. Install the Fabric API version made for your Minecraft release.

No new structures appear

You are exploring chunks that were generated before the mods were added. Travel to unexplored areas or start a new world.

Version not supported

The dependent mod needs a newer library. Update YungsAPI Mod and the YUNG's mod together.

Need a detailed walkthrough? Read the YungsAPI Mod crash fixes guide.

Download Now
Guides

Setup guides for every loader

Step-by-step articles for NeoForge, Forge, Fabric, servers and fixing errors.

FAQ

YungsAPI Mod questions, answered

Twenty answers about compatibility, installation and fixes. Pick a category to switch the list.

General and compatibility

YungsAPI Mod (YUNG's API) is a shared code library created by YUNG for his Minecraft Java Edition mods. It holds common tools for structures, world generation and configuration, so mods such as YUNG's Better Dungeons and YUNG's Better Mineshafts can rely on one tested base instead of repeating the same code.

No. On its own, YungsAPI Mod does not add visible content to your world. It only provides the code other mods use. You will notice a difference once you install one of the YUNG's mods that depend on it.

Most of YUNG's structure and world generation mods list it as a required dependency, including Better Dungeons, Better Mineshafts, Better Strongholds, Better Desert Temples, Better Ocean Monuments, Better Witch Huts, Better Nether Fortresses, Better Jungle Temples, Better End Island, YUNG's Bridges and YUNG's Extras. Always confirm the dependency list on each mod page for your exact version.

Yes. YUNG's API Fabric builds are available for several Minecraft versions, including 1.20.1. On Fabric you also need Fabric API installed in the same mods folder.

Yes. Newer Minecraft versions such as 1.21.1 have YungsAPI Mod NeoForge builds. Use the NeoForge file only with a NeoForge installation, not with Forge or Fabric.

Yes. YungsApi 1.20.1 Forge is one of the most widely used versions because many large Forge modpacks are built on Minecraft 1.20.1.

Legacy YungsApi 1.16.5 builds exist for older Forge modpacks. They will not receive new features, so use them only when your pack or world is locked to Minecraft 1.16.5.

No. YungsAPI Mod is a Java Edition mod and needs Forge, Fabric or NeoForge. It cannot be installed on Bedrock Edition, consoles or mobile versions of Minecraft.

Yes. YUNG's API is free to download and use, and its source code is published openly on the official GitHub repository.

No. This is an independent guide that explains the library and points to the official source repository. It is not operated by or affiliated with YUNG, Mojang Studios or Microsoft.