HomeJavaModsCodeLib
CodeLib

codelib

yeahh!! this is the fabric library mod that i sometimes use in my projects.

did i mention it has 0, yes zero dependencies?

Features

How to use

Add the following to your gradle.properties

# https://github.com/not-coded/codelib
codelib_version=...+minecraft_version

# Example
codelib_version=1.0.1+1.20

And build.gradle

repositories {
    maven {
        name = "Modrinth"
        url = "https://api.modrinth.com/maven"
        content {
            includeGroup "maven.modrinth"
        }
    }
}


dependencies {
    modApi "maven.modrinth:codelib:${project.codelib_version}"

    // you can include it directly if you want you don't want your users to download it
    include "maven.modrinth:codelib:${project.codelib_version}"
}
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more