Knight Lib
Modby xylonity
A library that serves as a bridge between mods.
Type
Mod
CurseForge Downloads
7,979,542
CurseForge ID
1105855
Modrinth Downloads
666,790
Modrinth ID
hAnl9nbm
Last Updated
Sep 10, 2026
Description

This is a shared code library that exposes multiple items without dedicated implementations, thus mods can freely use (or ignore) them for custom features. The library is based on a multiloader template, thus making it fully compatible with loader-specific MDKs and other multiloader templates.
What is Knight Lib for?
Knight Lib is designed for use in any project, either as the foundation for your own mod or as a required dependency for any of my mods. Its primary goals are to eliminate code duplication and provide unified, easy-to-use implementations of common utilities, ensuring compatibility across all mod loaders.
Within the core components, this library includes:
- A network wrapper abstraction which allows the developer to process, send and receive S2C and C2S packets in a simple way.
- A custom tick scheduler without data persistance.
- An Auto Config system available for Fabric and (Neo)Forge, with hotreload support (for Forge it's compatible with mods that add gui config, such as 'Configured'). The config is instantly read upon executing the mod that implements it, thus supporting configurability that was not possible before. It also contains multiple styles to decorate the TOML file.
- A custom boss bar builder to dynamically create and manage either simple or complex boss bars for registered bosses.
- A highly customizable camera shake manager for player cameras, designed for effortless usage.
- A music provider for entities, primarily meant for "Boss" entities. Easy-to-use utility, loops a music instance under certain conditionals.
- A custom registrar system that handles the registration process in an easier way when using multiloader templates.
More functionalities will be added over time, so any suggestion is welcome.
To report bugs or suggest features, join our Discord server!
Developer Information
If you’re a developer and want to integrate this library into your development environment, see the installation instructions on the project wiki on GitHub.
Compatibility
Mod Loaders
Game Versions
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Dungeon Crawl
Generates large underground dungeon structures in the overworld.
Thermal Cultivation
Thermal gets Agrarian - provides options for farming and related activities!
Alternate Current
An efficient and non-locational redstone dust implementation
LLibrary
The lightweight Minecraft modding library
Macaw's Lights and Lamps
Adds vanila styled lamps, torches, street lamps, paper lamps, slabs... Make your worlds brighter!
Bountiful
Adds bounty boards, giving rewards for collecting different blocks and items.
Included in Modpacks (239)
Show fewer
Unchanging SMP
Banquito
Pillcraft
SO7 Modpack
Lotus Mods
Steamspire Syndicate [Season 2]
Blastub Aeronautics
Era do Panado II
Artilide
Dragones y Dirigibles
Musa's Fantasy Craft
The Quest
Phantom Horizon
Rebio SMP