← Назад к ресурсам

libnine

overcomplicated library mod

Modrinth library

Описание

**libnine** is a library that provides a bunch of boilerplate code for content mods to use. It mostly consists of various bits of code that I found useful in more than one project, which I then factored out into a shared library. Particularly notable features include: * Automatic generation of NBT and byte stream serializers based on annotated fields * Various prefab capability implementations * A generic recipe registry system * "Parametric item models" that can depend on nontrivial item stack state * A GUI component system and corresponding sync code * A huge pile of linear algebra nonsense However, a lot of the code in this project is rather dated and the architecture is a little bit questionable. As such, I would not recommend depending on libnine for new modding projects.