Skip to content

A Minecraft Fabric API/Library that provides useful features.

License

Notifications You must be signed in to change notification settings

not-coded/codelib

Repository files navigation

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

  • read the wiki
  • more coming soon

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}"
}