AMLib is a library created for facilitating code reusability. While the library itself comes with some built-in functionalities, its main purpose is to serve the development of other mods.
For more information, please refer to the Github source code.