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!
How to Install YUNG's API (Mod)
YUNG's API by YUNGNICKYOUNG is verified for Fabric, Forge, Neoforge across Minecraft versions 1.18.2, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.4, 1.21 (latest release: 1.21.1-NeoForge-5.1.9, file size: 404 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.18.2, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.4, 1.21) and platform (Fabric, Forge, Neoforge).
- Make sure you have the compatible loader or environment installed for Fabric, Forge, Neoforge.
- Move the downloaded YUNG's API file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 2mo ago | 131 | ||||
| 2mo ago | 65 | ||||
| 2mo ago | 44 | ||||
| 2mo ago | 33 | ||||
| 2mo ago | 26 | ||||
| 2mo ago | 22 | ||||
| 2mo ago | 19 | ||||
| 2mo ago | 16 | ||||
| 2mo ago | 15 | ||||
| 2mo ago | 13 | ||||
| 2mo ago | 12 | ||||
| 2mo ago | 11 | ||||
| 2mo ago | 10 | ||||
| 2mo ago | 9 | ||||
| 2mo ago | 9 | ||||
| 2mo ago | 8 | ||||
| 2mo ago | 8 | ||||
| 2mo ago | 7 | ||||
| 2mo ago | 7 | ||||
| 2mo ago | 7 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 |
- Add an API for replacing vanilla structures in structure location utilities such as the
/locatecommand. - Fix unsafe call to ServiceLoader#load.
If you like my mods, please consider supporting me on [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!
- Add an API for replacing vanilla structures in structure location utilities such as the
/locatecommand. - Fix unsafe call to ServiceLoader#load.
If you like my mods, please consider supporting me on [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!
- Add an API for replacing vanilla structures in structure location utilities such as the
/locatecommand. - Fix unsafe call to ServiceLoader#load.
If you like my mods, please consider supporting me on [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!
- Add an API for creating Entity Processors for structures.
- Add an API for replacing vanilla structures in structure location utilities such as the
/locatecommand. - Fix potential NPE if EnhancedBeardifierData's fields are not set.
- Fix unsafe call to ServiceLoader#load.
- Remove mixin refmap, reducing log spam.
- Fix SurfaceHelper not recognising alternative Air blocks and not checking the entire Y range.
- Deprecate ColPos, Vector2f, and Vector3f as they all have equivalents in Vanilla.
If you like my mods, please consider supporting me on [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!
- Add an API for creating Entity Processors for structures.
- Add an API for replacing vanilla structures in structure location utilities such as the
/locatecommand. - Fix potential NPE if EnhancedBeardifierData's fields are not set.
- Fix unsafe call to ServiceLoader#load.
- Remove mixin refmap, reducing log spam.
- Fix SurfaceHelper not recognising alternative Air blocks and not checking the entire Y range.
- Deprecate ColPos, Vector2f, and Vector3f as they all have equivalents in Vanilla.
If you like my mods, please consider supporting me on [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!
- Revert some of the changes from 5.1.7 which caused incompatibilities with other mods, in particular Villages&Pillages.
- Fix an incompatibility with Moog's Structure Lib.
If you like my mods, please consider supporting me on [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!
- Revert some of the changes from 5.1.7 which caused incompatibilities with other mods, in particular Villages&Pillages.
- Fix an incompatibility with Moog's Structure Lib.
If you like my mods, please consider supporting me on [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!
- Revert some of the changes from 5.1.7 which caused incompatibilities with other mods, in particular Villages&Pillages.
- Fix an incompatibility with Moog's Structure Lib.
If you like my mods, please consider supporting me on [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!
- Beardifier improvements
- Fix custom banner names and overhaul custom banners to make them closer to Ominous Banners
- Fix potential classloading order issue with AquiferOverride
- Fix classloading order issue that causes EnhancedTerrainAdaptation.NONE to be null when codecs are built
- Fix enhanced beardifier not running when vanilla beardifier's affectedBox is null
- Make sure there's only one instance of NoneAdaptation and NoneAquiferOverride, so that == checks work on them
If you like my mods, please consider supporting me on [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!
- Beardifier improvements
- Fix custom banner names and overhaul custom banners to make them closer to Ominous Banners
- Fix potential classloading order issue with AquiferOverride
- Fix classloading order issue that causes EnhancedTerrainAdaptation.NONE to be null when codecs are built
- Fix enhanced beardifier not running when vanilla beardifier's affectedBox is null
- Make sure there's only one instance of NoneAdaptation and NoneAquiferOverride, so that == checks work on them
If you like my mods, please consider supporting me on [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!
- Beardifier improvements
- Fix custom banner names and overhaul custom banners to make them closer to Ominous Banners
- Fix potential classloading order issue with AquiferOverride
- Fix classloading order issue that causes EnhancedTerrainAdaptation.NONE to be null when codecs are built
- Fix enhanced beardifier not running when vanilla beardifier's affectedBox is null
- Make sure there's only one instance of NoneAdaptation and NoneAquiferOverride, so that == checks work on them
If you like my mods, please consider supporting me on [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!
- Attempt to fix crashes on structure gen related to beardifiers
If you like my mods, please consider supporting me on [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!
- Attempt to fix crashes on structure gen related to beardifiers
If you like my mods, please consider supporting me on [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!
- Make Beardifier enhancements more resilient
- Fix compatibility issues with Moog's Structure Lib pre-3.0.3 (was already fixed on their end since then)
If you like my mods, please consider supporting me on [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!
- Make Beardifier enhancements more resilient
- Fix compatibility issues with Moog's Structure Lib pre-3.0.3 (was already fixed on their end since then)
If you like my mods, please consider supporting me on [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!


