Skip to content
Kapitencraft edited this page Jul 28, 2026 · 8 revisions

Welcome to the KapLib wiki!

Overview

This minecraft mod is a multipurpose library build to provide help in almost any occasion.

It is composed of modules made for different purposes. each module is declared in the repository as a directory m_<module_id> and published to the central maven repository under namespace io.github.kapitencraft.kap_lib-<module_id>. furthermore there is an aggregate module incorporating all 20 modules under io.github.kapitencraft.kap_lib. you can read more about modules in the Modules page or in the pages for the different modules

Feedback (Issues & Feature Requests)

for reporting issues or suggesting ideas, please use the issue tracker or join the discord server

Implementing

in order to use these libraries, you need to add them via a gradle maven dependency

1. Setup Repository

build.gradle:

~ repositories {
+   mavenCentral()
~ }

2. Define version gradle property

gradle.properties:

+ kap_lib_version = 1.31.1

you might also be required to update the mc_version property to be named minecraft_version or rename the property in the snippet of section 3

3. Implement Dependency

~ dependencies {
+   jarJar(implementation "io.github.kapitencraft:kap_lib-<module_name>:v${kap_lib_version}-mc${minecraft_version}") {
+       version {
+           prefer "${kap_lib_version}"
+       }
+   }
~ }

make sure to replace <module_name> with the module name id, or remove it all together to retrieve the aggregate

Clone this wiki locally