
Knight Lib
A library that serves as a bridge between mods.
Über diese Mod

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!
Verfügbare Versionen
Knight Lib auf dem Server installieren
Server bestellen
Bestelle einen Minecraft Java Server mit mindestens 3 GB RAM (4 GB empfohlen).
fabric Loader setzen
Wähle im Panel unter "Egg" den fabric-Loader und die passende Minecraft-Version (1.21.1).
Mod installieren
Öffne den Mod-Browser im Dashboard und suche nach "Knight Lib". Klicke "Installieren" – fertig! Alternativ: Lade die .jar via SFTP in den /mods Ordner.
Kompatibilität
Mod-Loader
Minecraft-Versionen
1.21.1, 1.21, 1.20.1 (+4 weitere)
Server-seitig
✓ ErforderlichEmpfohlener RAM
4 GB(min. 3 GB)Häufige Fragen
Knight Lib Server crasht beim Start – was tun?
Häufigste Ursache: falsche fabric-Version oder zu wenig RAM. Prüfe im Server-Log (latest.log), ob ein "OutOfMemoryError" oder "Mixin"-Fehler auftritt. Bei Mado Hosting: Stelle sicher, dass mindestens 3 GB RAM zugewiesen sind und der Loader zur Mod-Version passt (1.21.1). Über das Panel kannst du den Loader mit einem Klick wechseln.
Ist Knight Lib mit fabric und forge und neoforge kompatibel?
Knight Lib unterstützt offiziell fabric, forge, neoforge für Minecraft 1.21.1, 1.21, 1.20.1. Achtung: Forge- und Fabric-Mods sind NICHT untereinander kompatibel – wähle einen Loader und bleibe dabei. Im Mado Dashboard werden inkompatible Loader-Kombinationen automatisch erkannt.
Server laggt mit Knight Lib – wie optimiere ich die Performance?
Empfohlener RAM: 4 GB (+1 GB pro 8 Spieler). Prüfe mit /spark profiler, ob Knight Lib den meisten Tick-Time verbraucht. Häufige Fixes: Server-View-Distance auf 8-10 reduzieren, bei Forge "performant" oder "starlight" als Zusatz-Mod installieren. Bei Mado Hosting läuft dein Server auf NVMe-SSDs mit dedizierten CPU-Kernen für minimale Latenz.
Ähnliche Mods
Modded Server mieten
Installiere Knight Lib mit nur einem Klick auf deinem Server.

