Knight Lib

A library that serves as a bridge between mods.

 

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
🎵 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
📋 Registrar System Enhanced registration helpers for blocks, items, entities and more
🔢 Extra utilities  Additional utilities for math, colors, easingtypes, etc.



🔴 IMPORTANT: License changed from GPLv3 to LGPL. No more copyleft requirements on your own mod.



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

The Knight Lib Team

profile avatar
  • 277
    Followers
  • 7
    Projects
  • 31.3M
    Downloads

ah hell nah

Donate

More from xylonityView all