Description

KnightLib is a multiloader utility library designed to eliminate code duplication and provide clean, easy-to-use implementations of systems that every mod tends to reinvent from scratch. Built on Jared's multiloader template, fully compatible with Forge, NeoForge, and Fabric.
βοΈ What's included
| System | Description |
|---|---|
| π‘ Networking | Per mod S2C/C2S packet channels with a simple send/receive API |
| βοΈ Auto Config | TOML config with auto generated ingame GUI, hot-reload, and Configured/ModMenu (fabric) compatibility |
| β‘ Event Bus | A common event system that abstracts the calls to their respective loaders, so that everything can be managed in common package |
| π€ Automaton AI | Finite state machine system for complex entity AI behavior |
| π¦ OBB Hitboxes (exp.) | Oriented bounding boxes (OBBs) linked to individual GeckoLib bones, to manage hitboxes dynamically |
| π₯ Camera Shake | API to manage camera shake for specific players, with several levels of configuration |
| π Boss Bars | Allows to specify and configure custom boss bars for the entities you want |
| π΅ Music Provider | Loops music tracks for entities under custom conditions |
| π Post Shaders | Utilities for post-processing shaders, including multi-target (entity) passes |
| πΏ Biome Spawns | API for registering entity spawns per biome |
| π Loot Tables | Helpers for modifying loot tables in general (entities, chests, etc.) |
| π Persistent Sounds | Looping sounds tied to entities, items or blocks, without worrying about overlapping sounds |
| πΎ Entity Data | API for quickly accessing the persistent data of an entity |
| π Registrar System | Enhanced registration helpers for blocks, items, entities and more |
| π’ Extra utilities | Additional utilities for math, colors, easingtypes, etc. |
π΄ IMPORTANT: License changed from GPLv3 to LGPL. No more copyleft requirements on your own mod.
π©βπ» For developers
See the installation instructions on the project wiki on GitHub.
To report bugs or suggest features, join our Discord server or report them via issues!




