YUNG's API

YUNG's API

Library mod for YUNG's mods.

23.7M downloads
Created Apr 9, 2026
by YUNGNICKYOUNG

About

<p><img src="https://i.imgur.com/1SgmaLx.png" alt="" width="1344" height="416" /><br /><br /> <a title="Join the YUNG GANG on Discord!" href="https://discord.gg/rns3beq" target="_blank" rel="noopener"><img src="https://tinyurl.com/yungsdiscordbadge2" alt="Join the YUNG GANG on Discord!" width="136" height="28" /></a>&nbsp;<a title="Follow me on Twitter!" href="https://twitter.com/yungnickyoung" target="_blank" rel="noopener"><img src="https://tinyurl.com/yungstwitterbadge3" alt="Follow me on Twitter!" width="76" height="27" /></a>&nbsp;<a title="Subscribe to my YouTube!" href="https://www.youtube.com/yungnickyoung" target="_blank" rel="noopener"><img src="https://tinyurl.com/yungsyoutubebadge" alt="Subscribe to my YouTube!" width="80" height="30" /></a>&nbsp;<a title="Support me on Patreon!" href="https://patreon.com/yungnickyoung" target="_blank" rel="noopener"><img src="https://tinyurl.com/yungspatreonbadge" alt="Support me on Patreon!" width="138" height="28" /></a></p> <p>This is a library mod for YUNG's mods.</p> <p><b>For all my mod devs out there - </b>This provides a lot of useful stuff, especially if you're a worldgen modder!</p> <p>The API includes the following:</p> <ul> <li>AutoRegistration system (1.18+ only). Register any field with only a simple annotation, regardless of mod loader!</li> <li>Custom reimplementation of Jigsaw Manager with improved performance and custom pool element types with various new properties. Check out the <a href="https://github.com/yungnickyoung/YUNGs-Better-Dungeons" target="_blank" rel="noopener noreferrer">Better Dungeons code</a> to see it in action.</li> <li>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).</li> <li>Interfaces for JSON serialization &amp; deserialization&nbsp;with built-in type adapters.</li> <li>Simple, lightweight math utilities for vectors and column positions</li> <li><em>BlockStateRandomizer</em> and <em>ItemRandomizer</em>, data abstractions that make adding block and item randomization to your structures incredibly simple. I use these for all of my mods!</li> </ul> <p>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!</p> <p><img src="https://i.imgur.com/a49IMQJ.png" /><br /> <a title="Get 25% off your server with code YUNGNICKYOUNG at Bisect Hosting!" href="http://sbisecthosting.com/yung" target="_blank" rel="noopener noreferrer"><img src="https://i.imgur.com/nQRs7ZP.png" alt="Use code YUNGNICKYOUNG with Bisect Hosting for 25% off!" width="1344" height="400" /></a></p>

Versions

v1.21.1-NeoForge-5.1.6Latest
1.21, 1.21.1neoforgeJul 1, 2025

A few adjustments to the AutoRegister API: - Add various helper methods to the AutoRegisterEntityType.Builder, including for passenger attachment points. This mirrors vanilla behavior. - Add getHolder() methods to AutoRegister MobEffect and Potion. Using these should help ensure smooth Potion registration without registry issues on Forge and NeoForge. - AutoRegisterPotion now takes a Potion supplier to make it more consistent with other AutoRegister wrapper classes. - AutoRegisterUtils.registerBrewingRecipe() now takes Holders as parameters instead of Suppliers. If you want to get early access to all my mods, [Join the Patreon!](https://www.patreon.com/yungnickyoung) [Join us on Discord!](https://discord.gg/rns3beq) [Follow me on Twitter](https://twitter.com/yungnickyoung) for more mod updates!

Download
v1.21.1-Forge-5.1.6
1.21, 1.21.1forgeJul 1, 2025

A few adjustments to the AutoRegister API: - Add various helper methods to the AutoRegisterEntityType.Builder, including for passenger attachment points. This mirrors vanilla behavior. - Add getHolder() methods to AutoRegister MobEffect and Potion. Using these should help ensure smooth Potion registration without registry issues on Forge and NeoForge. - AutoRegisterPotion now takes a Potion supplier to make it more consistent with other AutoRegister wrapper classes. - AutoRegisterUtils.registerBrewingRecipe() now takes Holders as parameters instead of Suppliers. If you want to get early access to all my mods, [Join the Patreon!](https://www.patreon.com/yungnickyoung) [Join us on Discord!](https://discord.gg/rns3beq) [Follow me on Twitter](https://twitter.com/yungnickyoung) for more mod updates!

Download
v1.21.1-Fabric-5.1.6
1.21, 1.21.1fabricJul 1, 2025

A few adjustments to the AutoRegister API: - Add various helper methods to the AutoRegisterEntityType.Builder, including for passenger attachment points. This mirrors vanilla behavior. - Add getHolder() methods to AutoRegister MobEffect and Potion. Using these should help ensure smooth Potion registration without registry issues on Forge and NeoForge. - AutoRegisterPotion now takes a Potion supplier to make it more consistent with other AutoRegister wrapper classes. - AutoRegisterUtils.registerBrewingRecipe() now takes Holders as parameters instead of Suppliers. If you want to get early access to all my mods, [Join the Patreon!](https://www.patreon.com/yungnickyoung) [Join us on Discord!](https://discord.gg/rns3beq) [Follow me on Twitter](https://twitter.com/yungnickyoung) for more mod updates!

Download

Download

Download v1.21.1-NeoForge-5.1.6

Minecraft: 1.21, 1.21.1

Loaders: neoforge

Tags

fabricforgeneoforge1.20.11.20.41.211.21.11.21.4