What are you searching for?

Knight Lib

Knight Lib

A library that serves as a bridge between mods.

download 306.2K Downloads · favorite 49 Followers · Updated 1 month ago
Fabric Forge Game-mechanics Library Neoforge Utility 1.19 1.19.1 1.19.2 1.20 1.20.1 +2 more

Versions

inventory_2
[FABRIC] Knight Lib 1.4.3-1.20.1

1.4.3 · 1 month ago · 461.42 KB

Release download
Fabric 1.20 1.20.1
inventory_2
[FORGE] Knight Lib 1.4.3-1.20.1

1.4.3 · 1 month ago · 246.82 KB

Release download
Forge 1.20 1.20.1
inventory_2
[FABRIC] Knight Lib 1.4.2-1.20.1

1.4.2 · 3 months ago · 461.12 KB

Release download
Fabric 1.20 1.20.1
inventory_2
[FORGE] Knight Lib 1.4.2-1.20.1

1.4.2 · 3 months ago · 246.49 KB

Release download
Forge 1.20 1.20.1
inventory_2
[FABRIC] Knight Lib 1.4.1-1.20.1

1.4.1 · 3 months ago · 461.13 KB

Release download
Fabric 1.20 1.20.1

About



This is a shared code library that exposes multiple items without dedicated implementations, thus mods can freely use (or ignore) them for custom features. The library is based on a multiloader template, thus making it fully compatible with loader-specific MDKs and other multiloader templates.

 

What is Knight Lib for? 

Knight Lib is designed for use in any project, either as the foundation for your own mod or as a required dependency for any of my mods. Its primary goals are to eliminate code duplication and provide unified, easy-to-use implementations of common utilities, ensuring compatibility across all mod loaders. 

Within the core components, this library includes:

- A network wrapper abstraction which allows the developer to process, send and receive S2C and C2S packets in a simple way.
- A custom tick scheduler without data persistance.
- An Auto Config system available for Fabric and (Neo)Forge, with hotreload support (for Forge it's compatible with mods that add gui config, such as 'Configured'). The config is instantly read upon executing the mod that implements it, thus supporting configurability that was not possible before. It also contains multiple styles to decorate the TOML file.
- A custom boss bar builder to dynamically create and manage either simple or complex boss bars for registered bosses.
- A highly customizable camera shake manager for player cameras, designed for effortless usage.
- A music provider for entities, primarily meant for "Boss" entities. Easy-to-use utility, loops a music instance under certain conditionals.

- A custom registrar system that handles the registration process in an easier way when using multiloader templates.


More functionalities will be added over time, so any suggestion is welcome.


Discord
Geckolib

To report bugs or suggest features, join our Discord server!

 
Developer Information

 If you’re a developer and want to integrate this library into your development environment, see the installation instructions on the project wiki on GitHub.

open_in_new View on Modrinth
Compatibility
Client: Required Server: Required
gavel GPL-3.0-only

Conversation

What are your thoughts?

Related projects

Library
Fabric API
Fabric API

by modmuss50

Lightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.

download 128.4M
favorite 27,401
Library
Cloth Config API
Cloth Config API

by shedaniel

Configuration Library for Minecraft Mods

download 94.4M
favorite 13,670
Optimization Utility
FerriteCore
FerriteCore

by malte0811

Memory usage optimizations

download 84.3M
favorite 12,712
Utility
Mod Menu
Mod Menu

by Prospector

Adds a mod menu to view the list of mods you have installed.

download 77.7M
favorite 22,127
lock Cookie consent

SkinMC uses cookies to provide functionality and features.