promotional bannermobile promotional banner

YUNG's API (Forge/NeoForge)

A library mod for YUNG's Minecraft mods
Back to Files

[1.21.1] YUNG's API v5.1.6 (Forge)

File nameYungsApi-1.21.1-Forge-5.1.6.jar
Uploaded
Jul 1, 2025
Downloads
313.9K
Size
388.6 KB
Mod Loaders
Forge
File ID
6715462
Type
R
Release
Supported game versions
  • 1.21.1
  • 1.21

Curse Maven Snippet

Forge

implementation "curse.maven:yungs-api-421850:6715462"

Learn more about Curse Maven

What's new

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!
Join us on Discord!
Follow me on Twitter for more mod updates!

This mod has no additional files