UniLib
A universal set of utilities created to work with over 50 versions of Minecraft! This mod is a library containing various API tools that have been developed over many years.
Main Features
The library offers a wide range of useful functions, including tools for working with rendering and user interface, an update checking system, and simplified access to translations. All these components were originally part of the CraftPresence project and are now separated into a standalone library.
Compatibility and Requirements
Important: This mod works exclusively on the client side and is not intended to run on the server. Fabric and Quilt mod loaders simply ignore it, while others may cause crashes.
Different versions of Minecraft require additional components:
- Versions for Minecraft 1.14.x and above need Fabric API and Fabric mod loader
- Versions for Minecraft 1.13.x require Rift API and Rift mod loader
- Versions for Minecraft 1.1.0 and below require Risugami's ModLoader
Known Issues
Due to the peculiarities of Minecraft's codebase in different versions, certain difficulties may arise:
Minecraft 1.16 and above: With the increasing share of data managed through configuration files, some modified data cannot be automatically obtained without first entering the world.
Minecraft 1.15 and below:
When using the RenderUtils#drawItemStack method in the item renderer version 2, blocks with certain renderers may display incorrectly. In version 1.15.x, additional z-level issues may occur on screens using this method.
Other issues: Due to code obfuscation in early versions of Minecraft, incorrect data may appear when using some mod functions.
Additional Information
Some settings and API calls may work differently depending on the Minecraft version. The project also uses functionality from the related UniCore project.
Video Materials
For a better understanding of the mod's capabilities, it is recommended to check out video reviews on YouTube.