JinxedLib
JinxedLib is a library mod designed to simplify the development of cross-platform mods that work on different loaders. This tool also includes useful features for modpack creators working with data packs.
If you encounter difficulties during development, despite detailed comments for most methods and classes, you can always seek help in our developer community.
Some library features are similar to NeoForge functionality, but their implementation in JinxedLib allows them to be used in both Fabric and common packages.
Main Features
-
Registration utilities - significantly simplify the object registration process, eliminating the need to configure services for new cross-platform projects each time.
-
Compostable items via data packs - you can now make any item suitable for composting using data pack configuration files.
-
Furnace fuel via data packs - configure which items can serve as furnace fuel through simple configurations.
-
Public block classes - solves the problem with protected access to some Vanilla Gradle classes, providing alternatives like CommonStairBlock.
-
Jinxed paletted permutations - allows using directories as sprite sources when working with paletted permutations, which was used to create dyed decorated pots in Arts & Crafts.
-
Invoker mixins - provide access to private registration methods in common packages.
-
Sign utilities - no longer need to inject into the sign isValid method, just add your sign to the built-in list.
-
Creative category utilities - simplify adding dyed blocks to creative mode with automatic correct placement order, including support for mods with custom dyes.
-
Flammable block classes - already contain implemented flammability methods for NeoForge, leaving only functionality setup for Fabric.
-
Custom loot modifiers - specifically for NeoForge.
Credits
Special thanks to Yirmiri for assistance with registry fixes!