YUNG's API

Join the YUNG GANG on Discord! Follow me on Twitter! Subscribe to my YouTube!
This is a library mod that serves as the foundation for all other YUNG's modifications.
For Mod Developers
Especially useful for those working on world generation! The API includes:
- Automatic registration system (version 1.18+ only) - register any fields with simple annotations, regardless of mod loader
- Enhanced Jigsaw manager with improved performance and additional pool element types with new properties. See examples of usage in the Better Dungeons code
- New criteria trigger for safe location of any structure - if the specified structure is missing, the trigger correctly fails rather than instantly passing (unlike vanilla implementation)
- Interfaces for JSON serialization and deserialization with built-in type adapters
- Simple mathematics for working with vectors and column positions
- BlockStateRandomizer and ItemRandomizer - convenient abstractions for simplifying random selection of blocks and items in structures
Ready to Explore?
Check the source code of my other modifications (especially newer versions) to better understand how the system works. Always happy to answer questions on Discord!