Modscraper Modscraper Minecraft
Knight Lib logo

Knight Lib

Mod

by xylonity

A library that serves as a bridge between mods.

Type

Mod

CurseForge Downloads

8,822,226

CurseForge ID

1105855

Modrinth Downloads

778,833

Modrinth ID

hAnl9nbm

Last Updated

Nov 7, 2026

Description

description_a3cb008a-bb7d-46ce-87bc-6e2f913c1e34.png

 

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, is forced to enable it in its implementation. So, in other words, this mod does nothing on its own, unless an external mod specifies so.

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.

Discordpatreon-plural_64h.png

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

Compatibility

Mod Loaders

Client Fabric Server

Game Versions

1.20.1 1.20

Recommended Gear

Affiliate

Hardware and extras that pair well with this mod.

As an Amazon Associate I earn from qualifying purchases.

Similar Mods

Included in Modpacks (265)

Show fewer
Integrated RPG Integrated RPG Esawuna - PvPvE Towny [Discontinued] Esawuna - PvPvE Towny [Discontinued] CosmonautiCraft CosmonautiCraft Builders Delight 4 Builders Delight 4 Catch, Create, Conquer Catch, Create, Conquer Everwild (Cobblemon) Everwild (Cobblemon) Jurassic era Jurassic era The Great Beyond The Great Beyond Joline's Bizarre adventures Joline's Bizarre adventures Awakened Server Awakened Server Better RPG Realms Better RPG Realms Jets & More Jets & More MysticCraft Divivded Kingdoms MysticCraft Divivded Kingdoms Military Spy Agency (Draco Incognitas) Military Spy Agency (Draco Incognitas) New World - Legends New World - Legends Voyager RPG - A Fantasy Action RPG Experience Voyager RPG - A Fantasy Action RPG Experience Atelier Mythos Era Atelier Mythos Era Chime Time IX Chime Time IX Terra by Sexy Crew Terra by Sexy Crew Curiousity Essential: Cisco's Fantasy Medieval RPG [Ultimate] Curiousity Essential: Cisco's Fantasy Medieval RPG [Ultimate] Sage's Custom Cisco Sage's Custom Cisco Voloron 3 Voloron 3 Java Overhaul Java Overhaul Homies Hangout Kingdom Homies Hangout Kingdom Valiant RPG Valiant RPG Weenie Hut NEO Weenie Hut NEO Era of the Wyrm Era of the Wyrm Better Third Person (BTP) Better Third Person (BTP) DaD-Dinosaurios y Dragones DaD-Dinosaurios y Dragones Farlands - Rising Farlands - Rising Guns, Gears & Greenery Guns, Gears & Greenery Cozy LevelZ Cozy LevelZ The Ultimate Limitless - TUL 2 The Ultimate Limitless - TUL 2 Beyond Shenanigans Beyond Shenanigans Mythara+ Mythara+ Mundus Magicae Mundus Magicae Femtomancy Femtomancy Beyond The Farlands Beyond The Farlands Yet Another Horror Pack Yet Another Horror Pack MineFantasy MineFantasy Eternal of Legends Eternal of Legends Raven's High Fantasy Raven's High Fantasy Evil Jojo Modpack Evil Jojo Modpack Craft 4 Dead Craft 4 Dead Zoo and Adventures Forge Edition Zoo and Adventures Forge Edition Seasons of Survival Seasons of Survival Gun Isekai Gun Isekai Wandering Hollows Season 2 Wandering Hollows Season 2 Tinker's Tea Time Tinker's Tea Time The Colony Of The Gods The Colony Of The Gods SCORPIOX1Day1Addition SCORPIOX1Day1Addition DragonFyre DragonFyre BeeShield Legends BeeShield Legends Evocraft  cobblemon X create V2 Evocraft cobblemon X create V2 Aetherium Forge Aetherium Forge Family Friendly Pack Family Friendly Pack PixelSprings PixelSprings Dark's Trials of the Unknown Dark's Trials of the Unknown Adventures Together 27 Adventures Together 27 Brother's RPG Brother's RPG Dao of Endless Regression Dao of Endless Regression Suscraft Recharged Suscraft Recharged The Adventure of 1000 - Hunters of Evil The Adventure of 1000 - Hunters of Evil Maor The King Of The Light Maor The King Of The Light Wizards and Warriors RPG Wizards and Warriors RPG CUNICULUM CUNICULUM Soul Leveling Soul Leveling Zenith+ Zenith+ The Joaozin's Gayzown's Reforged - Guelcraft The Joaozin's Gayzown's Reforged - Guelcraft The Quest The Quest Farming Bosses Farming Bosses Runethal Runethal Nightmarecraft and Complements Nightmarecraft and Complements Tardis And Stuff (TAF) Tardis And Stuff (TAF) Chiapas Middle-Earth Chiapas Middle-Earth MysteriaSMP MysteriaSMP Gears and Legends Gears and Legends Valley Land Valley Land SO7 Modpack SO7 Modpack Random House - Interestelar Random House - Interestelar A Song Of Fire And Ash A Song Of Fire And Ash A Era do Futuro 2026 - AEDF26 A Era do Futuro 2026 - AEDF26 Aphelyon Aphelyon Dawn and Dusk [BETA] Dawn and Dusk [BETA] Revitrix Revitrix Fantasy Reimagined- RPG Fantasy Adventure Fantasy Reimagined- RPG Fantasy Adventure Voloron 4 Voloron 4  Gigantocraft™ : The Age of Arkania Gigantocraft™ : The Age of Arkania GeoThronesSMP GeoThronesSMP Chaotic Modpack Chaotic Modpack Potato RPG - Performance Meets Adventure Potato RPG - Performance Meets Adventure Sinborn Odyssey 2 Sinborn Odyssey 2 BossCraft Milu's Edition BossCraft Milu's Edition Nefastoland 2 Nefastoland 2 the horror of the dwellers and more the horror of the dwellers and more DrUltraLux's Steam Fantasy DrUltraLux's Steam Fantasy Atlas Project Atlas Project Imperialist - Medieval Ages Imperialist - Medieval Ages Redstone Witch [Lite] Redstone Witch [Lite] Apollyon's Inferno Apollyon's Inferno

External Resources