MCGOD官方交流开黑群 1058033077 如有BUG请在 意见反馈 中进行反馈

YUNG's API (NeoForge)

YUNG's API (NeoForge)

10208811 次下载
最近更新2 个月前
A library mod for some of YUNG's Minecraft mods

THIS IS FOR 1.20.4 - 1.21.1 ONLY. NEWER VERSIONS OF THIS MOD FOR NEOFORGE HAVE BEEN MOVED TO HERE.

     

Click here for Forge version

Click here for Fabric version

This is a library mod for some of YUNG's NeoForge mods. It's basically a collection of shared utility functions and data abstractions. It is required for all YUNG mods. Check out my CurseForge profile to see all my mods!

For all you 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!

本站是资源分享站,资源均来自于互联网和用户自发分享,仅供学习和交流使用。如有版权问题,请联系管理员删除。

评论区 (0)

登录 后才能发表评论

暂无评论

快来发表第一条评论吧!