
PetarLib
A library mod used by PetarMc1's mods. It provides essential tools for chat handling, logging, networking, and task scheduling.
PetarLib
PetarLib is a utility library for minecraft mostly used by PetarMc1's mods. It provides essential tools for chat handling, logging, networking, and task scheduling.
Key Features
- Chat Module - Adds chat pattern matching.
- Log Module - Adds a simple logging system that helps debugging.
- Net Module - Handles network requests like talking to APIs
- Task Module - Provides task scheduling and management tools to handle async operations.
- Notification Module - Allows mods to display notifications in the action bar.
Why a Library When Code Can Be in the Mod Itself?
By centralizing essential utilities in a dedicated library, mods built with PetarLib are cleaner and easier to update/work on. This means cleaner code and not having the need to rewrite the same code multiple times
Are you a developer?
If you're a mod developer looking to integrate PetarLib into your project you can check the dev docs. There you can find detailed documentation, usage examples, and dependency setup instructions.
Как поиграть с друзьями с модом PetarLib?
Мод PetarLib куда интереснее в компании: поднимите сервер Майнкрафт с уже установленным модом, позовите друзей и играйте по своим правилам. Хостинг Майнкрафт для мода PetarLib будет готов за пару минут - BungeeHost сделает всё за вас.
