YUNG's API (Forge)

YUNG's API (Forge) - Minecraft Mod

YUNG's API

YUNG's API is a library mod made for use with all of YUNG's mods, providing the common tooling and functionality so many mod authors require, and particularly world generation. It eases a lot during modding and provides various utilities speeding things up and enhancing usability.

Key Features:

  • AutoRegistration System (1.18+ only): Allow any field to be registered easily with a simple annotation regardless of mod loader.
  • Custom Jigsaw Manager: This, with the various mods such as Better Dungeons by YUNG, includes a variety of performance updates and several new properties allowing the use of custom pool element types.
  • New Criteria Trigger: Safely find any structure—if a structure doesn't exist, the trigger will fail rather than instantly pass (unlike in vanilla).
  • JSON Serialization & Deserialization Interfaces: Easy to work with JSON using built-in type adapters.
  • Math Utilities: Light utilities to manipulate vectors and column positions.
  • BlockStateRandomizer & ItemRandomizer: Easy block and item randomization for structures to make it simple to include in any mod.

Compatibility

Minecraft: Java Edition

  • 1.21–1.21.1
  • 1.20.4
  • 1.20–1.20.1
  • 1.19.2–1.19.4
  • 1.18.2

Platforms

  • Fabric
  • Forge
  • NeoForge

Supported environments

  • Client and server