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,814,956

CurseForge ID

1105855

Modrinth Downloads

777,569

Modrinth ID

hAnl9nbm

Last Updated

Nov 6, 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 (264)

Show fewer
Cisco's Fantasy Medieval RPG [Ultimate] Cisco's Fantasy Medieval RPG [Ultimate] MC Eternal 2 MC Eternal 2 Linggango Linggango SUPERIOR - RPG SUPERIOR - RPG Prodigium Reforged (Terraria Pack) Prodigium Reforged (Terraria Pack) MineField Mods MineField Mods KEO RPG optimized KEO RPG optimized BM: Revelations II BM: Revelations II The Pioneers The Pioneers Medieval MC [FABRIC] MMC2 Medieval MC [FABRIC] MMC2 MYTHCRAFT 5 MYTHCRAFT 5 New Age - Welcome To The Medieval Era | MEDIEVAL QUESTS UPDATE! New Age - Welcome To The Medieval Era | MEDIEVAL QUESTS UPDATE! Christmas Holidays - Ideal For Festivities | Christmas Quests Update! Christmas Holidays - Ideal For Festivities | Christmas Quests Update! Vagrant Saga - RPG Survival Adventure Vagrant Saga - RPG Survival Adventure Guild Adventures Guild Adventures Prehistoric World 2 | Unusual Prehistory 2, Dinosaurs, Quests & More Prehistoric World 2 | Unusual Prehistory 2, Dinosaurs, Quests & More Fractured Opolis Fractured Opolis Exosphere 2 Exosphere 2 World Terra World Terra Adventure Life - Legacy Adventure Life - Legacy Easycraft (Official) Easycraft (Official) Desecrated - Flesh and Blood Desecrated - Flesh and Blood Create Eternal Journey Create Eternal Journey Terramity Awakened Terramity Awakened CrazyTown Season 3 CrazyTown Season 3 Arcane Colony: The Tinker’s Age Arcane Colony: The Tinker’s Age New Game 3 - Immersive RPG Adventures & RPG Quests New Game 3 - Immersive RPG Adventures & RPG Quests Silly Seals - A Cozy Adventure Silly Seals - A Cozy Adventure Exosphere 2 + Create (Aeronautics) Exosphere 2 + Create (Aeronautics) BM: Exosphere Community Edition BM: Exosphere Community Edition BM - Exosphere 2 Lite BM - Exosphere 2 Lite World of Minecraft Normal World of Minecraft Normal Shivrs' Ascendency Shivrs' Ascendency All The Dungeons | New Combat and Dungeons All The Dungeons | New Combat and Dungeons crazy craft even more updated crazy craft even more updated World of Minecraft - Meidde World of Minecraft - Meidde Lunchbutt's Modpack Lunchbutt's Modpack Sci-Fi Multiverse Sci-Fi Multiverse VampireReborn VampireReborn SMP | Somake Server SMP | Somake Server The Clash of Epochs The Clash of Epochs Fresh & Cozy Fresh & Cozy Minecraft - Fantasy Alive Minecraft - Fantasy Alive Era Do Futuro 2025 Era Do Futuro 2025 Digimon Two World Conspiracy Digimon Two World Conspiracy The Christmas Chronicles The Christmas Chronicles MOXCRAFT MOXCRAFT Kingdom of Elchea Kingdom of Elchea The Warborn Realms SMP The Warborn Realms SMP Delta's Just Give Me Features Delta's Just Give Me Features AroxAgain's Ultimate World AroxAgain's Ultimate World Summoner Delight Summoner Delight Ars Expeditions Ars Expeditions Absurdo 2 Absurdo 2 Absurdo! Absurdo! SLG: Best of Terramity SLG: Best of Terramity Revelations 3 - just Tech N' building! Revelations 3 - just Tech N' building! Architecture & Automatum Architecture & Automatum Inferno - Better Hardcore Inferno - Better Hardcore Arkanis Terceira Temporada - FANMADE Arkanis Terceira Temporada - FANMADE BeetleKnight's Beyond BeetleKnight's Beyond The Journey SMP Season Of True Survival The Journey SMP Season Of True Survival Who Am I - Not Me Who Am I - Not Me Create Outbound Create Outbound Medieval Dark Fantasy Craft [Rpg] Medieval Dark Fantasy Craft [Rpg] Epicfight Lyf3 Epicfight Lyf3 Everwild Everwild Araxer's: Ages - Staged Survival Araxer's: Ages - Staged Survival Cataclysmic Cataclysmic KRILLKRAFT KRILLKRAFT FriendsCraft - Designed for Multiplayer | Vanilla-Friendly FriendsCraft - Designed for Multiplayer | Vanilla-Friendly Dieselpunkery Dieselpunkery Project Infinity - Infinite possibilities, one world Project Infinity - Infinite possibilities, one world Kota Craft Kota Craft Artifice & Industry Artifice & Industry Dragons & Rats Dragons & Rats Horizon (New Dawn) Horizon (New Dawn) Bucket SMP - Bucket O' Magic Bucket SMP - Bucket O' Magic MI:Lost Favor MI:Lost Favor Last Ascension Last Ascension Tech's Community Server Tech's Community Server smejky structure and dungeons smejky structure and dungeons Secure Contain Profit Secure Contain Profit Last One Alive Last One Alive VictoriaCraft VictoriaCraft All The Loot! [REMASTERED] All The Loot! [REMASTERED] RPG 101: The Storm Scourge RPG 101: The Storm Scourge Village & Pillage: Ultimate Village & Pillage: Ultimate UnBound World UnBound World WildLouna WildLouna Noroi Noroi MineColonies-Caos e Ordem [Unnoficial] MineColonies-Caos e Ordem [Unnoficial] RiftRealm UNLIMITED RiftRealm UNLIMITED ArcaneAxis - ARS ArcaneAxis - ARS Modustrie Modustrie Create: SatisFactory Create: SatisFactory [A&E] Arcania & Empires [A&E] Arcania & Empires Skybound Origins Skybound Origins Minecolonies - Order and Chaos Minecolonies - Order and Chaos Whim Whim

External Resources