HomeJavaModsKnight Lib
Knight Lib
ModsJava

Knight Lib

by xylonity · on CurseForge

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21–1.21.1 · Forge⬇ Download for 1.20–1.20.1 · Forge⬇ Download for 1.19–1.19.2 · Forge⬇ Download for 1.21–1.21.1 · Fabric⬇ Download for 1.20–1.20.1 · Fabric⬇ Download for 1.21–1.21.1 · NeoForge
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

 

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
📸 Cutscenes Ingame cutscene editor that automatically exports the desired code to use it wherever 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
🐸 Attachments API for attaching (hence the name) persistent data to any entity, where the information is synched automatically
📋 Registrar System Enhanced registration helpers for blocks, items, entities and more
🔢 Extra utilities  Additional utilities for math, colors, easingtypes, etc.

 

👩‍💻 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!

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more