YUNG's API

YUNG's API

Mod

Library mod for YUNG's mods.

Client and server LibraryWorld Generation

1.35M downloads
847 followers
Createda year ago
Updated12 hours ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.



Join the YUNG GANG on Discord! Follow me on Twitter! Subscribe to my YouTube! Support me on Patreon!

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!


Use code YUNGNICKYOUNG with Bisect Hosting for 25% off!

External resources



Project members

Refresh Studios

Refresh Studios

Organization

YUNGNICKYOUNG

Developer


Technical information

License
LGPL-3.0-only
Client side
required
Server side
required
Project ID