promotional bannermobile promotional banner
premium banner
A library that serves as a bridge between mods.

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.

Discord Geckolib

To report bugs or suggest features, join our Discord server or report them via issues!