MysteriumLibUnofficial

This mod provides the ability to inject code into methods of vanilla Minecraft classes or mod classes, completely rewrite their functionality, and also create entirely new methods for existing classes.
Compared to the popular Mixin solution, this tool has a significantly smaller size - approximately five times more compact than the main Mixin-based mods. Working with it is also more convenient: you just need to add this mod as a library and include a few additional lines in your project's Gradle script.
If you're facing the task of modifying small methods, it's recommended to prefer this module over Mixin. This is an unofficial adaptation of the original mod for Minecraft version 1.12.2.