Skip to content

Knight Lib

A library that serves as a bridge between mods.

FabricNeoForgeForge
Loaders
FabricNeoForgeForge
Downloads on Modrinth
786K
Followers on Modrinth
75
versions
86
Updated
October 15, 2026Oct 15
Published
in 2024
This is a library — other mods need it, and it adds nothing to the game by itselfRequired by 2 mods. Download it if another mod needs it.

At a glance

A library: other mods need it — required by 2 mods
Runs on Fabric, NeoForge and Forge
For Minecraft 1.20–1.20.1, 1.21–1.21.1 …
Needed in the game and on the server
Latest version — 2.0.5 from October 15, 2026
License GPL-3.0-only — free
Where it's needed
In gamerequiredOn serverrequired

Needed both in the game and on the server

Game versions1.19–1.19.2, 1.20–1.20.1, 1.21–1.21.1

 

KnightLib is a multiloader utility library designed to eliminate code duplication and provide clean implementations of systems that every mod tends to reinvent from scratch.

● This library is fully compatible with Forge, NeoForge (1.21.1+), and Fabric, built on Jared's multiloader template.

● This mod includes a small amount of content that is disabled by default. Any mod wishing to use the content (items, blocks, icons, etc.) must first enable it in its implementation.

For any questions, problems, contributions, new ideas about content/mods, and more, you can join our official Discord and comment in the appropriate channels.

 


What's included

Networking
Per mod S2C/C2S packet channels with a simple send/receive API

Auto Config
TOML config with auto generated ingame GUI, hotreload, and Configured/ModMenu (fabric) compatiblity

Event Bus
A common event system that abstracts 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
Oriented Bounding Boxes (OBBs) linked to individual model bones, to manage hitboxes more dynamically.

Camera Shake
API to manage camera shake for specific players, with several levels of configuration.

Custom Boss Bars
Allows to specify and configure custom boss bars (in real time) for the entities you want.

Cutscenes
In-game cutscene editor that automatically exports the desired JAVA code to use it wherever you want (only available in dev mode).

Music Provider
Loops and configures music tracks for entities under custom conditions, such as boss music handling.

Post Shaders
Utilities for post-processing shaders, including multi-target (experimental) passes.

Animation & Rendering
Includes an animation and rendering engine, with support for easings, molang and the bedrock (geo/geckolib) format, among other things, working as an extension of the vanilla pipeline.

Biome Spawns
Easy to use 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 and blocks, without worrying about overlapping sounds.

Entity Data
API for quickly accessing the persistent data of an entity.

Attachments
API for attaching (hence the name) persistent data to any entity, where the information is synched automatically (S2C).

Registrar System
Enhanced common registration helpers for blocks, items, entities, features, etc.

Extra Utilities
Additional utilities for math, colors, easings, etc.

 


For Developers

See the installation instructions on the project wiki on GitHub.

Discord

To report bugs or suggest features, or ask any questions in general, join our Discord server or report them via issues!

FAQ

How to install Knight Lib?

Install Fabric for your Minecraft version, download Knight Lib for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does Knight Lib support?

Knight Lib has builds for Minecraft 1.19–1.19.2, 1.20–1.20.1, 1.21–1.21.1.

Is Knight Lib needed on the server?

Needed in the game and on the server

License and source
GNU General Public License v3.0 onlyfree to use and share; changes to the mod itself must be published under the same license
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More