Compatibility
Minecraft: Java Edition
1.20–1.20.2
Platforms
Fabric
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Licensed GPL-3.0-only
Published last year
Updated last month
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}"
}