
Knight Lib
A library that serves as a bridge between mods.
- Загрузки
- 640K
- Подписчики
- 69
- Обновлён
- 9 июля 2026 г.
- Лицензия
- GPL-3.0-only
Опубликован 21 сентября 2024 г.

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.
To report bugs or suggest features, join our Discord server or report them via issues!
Ченджлог
1.6.1Релиз1.20, 1.20.1 · 9 июля 2026 г.
- Bossbar links are now cleared on world reload
- Fixed a case where the forge's networking stack could kick the player on a dedicated server
1.6.1Релиз1.20, 1.20.1 · 9 июля 2026 г.
- Bossbar links are now cleared on world reload
- Fixed a case where the forge's networking stack could kick the player on a dedicated server
1.6.1Релиз1.21, 1.21.1 · 9 июля 2026 г.
- Bossbar links are now cleared on world reload
1.6.1Релиз1.21, 1.21.1 · 9 июля 2026 г.
- Bossbar links are now cleared on world reload
1.6.0Релиз1.20, 1.20.1 · 9 июля 2026 г.
- Added a [dev] campath manager (experimental) to easily create custom camera cutscenes
- Added an attachment processor utility that can be hooked to any entity (syncs data automatically)
- Added new client and server knightlib events
- Fixed a case where the tick scheduler could crash the game on very rare occasions
- Fixed a case where some very occasional crashes could occur due to a race condition caused by a parallel registration stage on forge
1.6.0Релиз1.21, 1.21.1 · 9 июля 2026 г.
- Added a [dev] campath manager (experimental) to easily create custom camera cutscenes
- Added an attachment processor utility that can be hooked to any entity (syncs data automatically)
- Added new client and server knightlib events
- Fixed a case where the neoforge's persistent data utility wouldn't be correctly loaded on a dedicated server
- Fixed a case where the tick scheduler could crash the game on very rare occasions
- Fixed a case where some very occasional crashes could occur due to a race condition caused by a parallel registration stage on neoforge
1.6.0Релиз1.20, 1.20.1 · 9 июля 2026 г.
- Added a [dev] campath manager (experimental) to easily create custom camera cutscenes
- Added an attachment processor utility that can be hooked to any entity (syncs data automatically)
- Added new client and server knightlib events
- Fixed a case where the tick scheduler could crash the game on very rare occasions
- Fixed a case where some very occasional crashes could occur due to a race condition caused by a parallel registration stage on forge
1.6.0Релиз1.21, 1.21.1 · 9 июля 2026 г.
- Added a [dev] campath manager (experimental) to easily create custom camera cutscenes
- Added an attachment processor utility that can be hooked to any entity (syncs data automatically)
- Added new client and server knightlib events
- Fixed a case where the neoforge's persistent data utility wouldn't be correctly loaded on a dedicated server
- Fixed a case where the tick scheduler could crash the game on very rare occasions
- Fixed a case where some very occasional crashes could occur due to a race condition caused by a parallel registration stage on neoforge
Комментарии
Загружаем…

