Knight Lib

Knight Lib

A library that serves as a bridge between mods.

by
741.9K Downloads
fabricforgeneoforgegame-mechanicslibraryutility
Rent Server with this Mod

About this Mod

 

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!

Available Versions

[FABRIC] Knight Lib 2.0.4-1.20.1release
MC 1.20, 1.20.1fabric
October 2, 2026
[NEOFORGE] Knight Lib 2.0.4-1.21.1release
MC 1.21, 1.21.1neoforge
October 2, 2026
[FABRIC] Knight Lib 2.0.4-1.21.1release
MC 1.21, 1.21.1fabric
October 2, 2026
[FORGE] Knight Lib 2.0.4-1.20.1release
MC 1.20, 1.20.1forge
October 2, 2026
[NEOFORGE] Knight Lib 2.0.3-1.21.1release
MC 1.21, 1.21.1neoforge
September 23, 2026

How to Install Knight Lib on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.1).

3

Install Mod

Open the mod browser in the dashboard and search for "Knight Lib". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabricforgeneoforge

Minecraft Versions

1.21.1, 1.21, 1.20.1 (+4 more)

Server-side

✓ Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Knight Lib server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.1). You can switch loaders with one click in the panel.

Is Knight Lib compatible with fabric and forge and neoforge?

Knight Lib officially supports fabric, forge, neoforge for Minecraft 1.21.1, 1.21, 1.20.1. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Knight Lib – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Knight Lib consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Knight Lib with just one click on your server.

Recommended RAM
4 GBfrom €5.2/mo
Minimum 3 GB | per 8 players
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
GNU General Public License v3.0 only
Server-side
Required

Supported Versions

1.21.11.211.20.11.201.19.21.19.11.19