ModsFinder

YUNG's API

by Refresh Studios

YUNG's API gives worldgen modders a set of registration, serialization and randomization tools that the other YUNG structure mods are built on.

FabricForgeNeoForgeClient and serverGNU Lesser General Public License v3.0 onlyOpen source1.18.2 – 26.1.2

What it does

Developers who write structures or other world generation code get automatic registration, a safe structure locate trigger, JSON serialization with built-in type adapters, small vector and column math helpers, and BlockStateRandomizer and ItemRandomizer data classes for block and item variety in generated structures. Registration can be done with a single annotation on a field, and it works across the supported loaders.

The library is required by 24 other mods, including YUNG's Better Nether Fortresses, YUNG's Better Dungeons, YUNG's Better Ocean Monuments, YUNG's Better Mineshafts and YUNG's Better Jungle Temples, so those mods will not start without it. It requires Fabric API on Fabric. Files are published for Fabric, Forge and NeoForge, with builds covering 1.18.2 – 26.1.2, and the library runs client and server. It is open source under the GNU Lesser General Public License v3.0 only, and its source code and issue tracker are public.

Key features

  1. Annotation-based registration

    Any field can be registered with a simple annotation, and the same code works on Fabric, Forge and NeoForge. The automatic registration is available from 1.18 onward.

  2. Safe structure trigger

    A new criteria trigger locates a given structure, and when that structure does not exist the trigger fails instead of passing like the vanilla one does.

  3. JSON serialization

    Interfaces handle JSON serialization and deserialization, with type adapters included for common data types.

  4. Vector and column math

    Lightweight utilities cover vector arithmetic and column positions for placing structure pieces.

  5. Block and item randomization

    BlockStateRandomizer and ItemRandomizer are data abstractions for picking varied blocks and items when structures are generated.

Compatibility

Latest build for each game version and loader.

26.x2 of 2 versions with builds
26.1.226.1.2-Fabric-6.1.3Not available26.1.2-NeoForge-6.1.3
26.1.126.1.2-Fabric-6.1.3Not available26.1.2-NeoForge-6.1.3
1.21.x3 of 3 versions with builds
1.21.41.21.4-Fabric-5.4.0Not available1.21.4-NeoForge-5.4.0
1.21.11.21.1-Fabric-5.1.91.21.1-Forge-5.1.91.21.1-NeoForge-5.1.9
1.211.21.1-Fabric-5.1.91.21.1-Forge-5.1.91.21.1-NeoForge-5.1.9
1.20.x3 of 3 versions with builds
1.20.41.20.4-Fabric-4.4.31.20.4-Forge-4.4.31.20.4-NeoForge-4.4.3
1.20.11.20-Fabric-4.0.61.20-Forge-4.0.6Not available
1.201.20-Fabric-4.0.61.20-Forge-4.0.6Not available
1.19.x3 of 3 versions with builds
1.19.41.19.4-Fabric-3.10.11.19.4-Forge-3.10.1Not available
1.19.31.19.3-Fabric-3.9.01.19.3-Forge-3.9.0Not available
1.19.21.19.2-Fabric-3.8.101.19.2-Forge-3.8.10Not available
1.18.x1 of 1 version with builds
1.18.21.18.2-Fabric-2.2.91.18.2-Forge-2.2.9Not available
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

Required by 24 mods

Use cases

Structure mod development

A worldgen mod can use the trigger, the randomizers and the serialization interfaces instead of writing its own versions.

Who it’s for: Developers of world generation and structure mods, who want shared registration and data tools for Fabric, Forge and NeoForge.

Questions

Does YUNG's API need Fabric API?

Yes, on Fabric, Fabric API is required. Forge and NeoForge files do not list it as a requirement.

Which mods depend on YUNG's API?

24 catalog mods require it, including YUNG's Better Nether Fortresses, YUNG's Better Dungeons and YUNG's Better Mineshafts.

Is YUNG's API needed on the server?

Because it is client and server, the library is installed on both the server and the client.

In the catalog

YUNG's API is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 15,189 mods support Minecraft 26.1.2.

More from Refresh Studios

All projects

Similar mods

What the author says

For all my mod devs out there - This provides a lot of useful stuff, especially if you're a worldgen modder! AutoRegistration system (1.18+ only). Register any field with only a simple annotation, regardless of mod loader!
Refresh Studios, on the Modrinth page

Official listing

Owner
Refresh Studios
Published
2022-11-28
Updated on Modrinth
2026-09-16
Facts verified
2026-10-15

Tags