BlueLib Installation - MeAlam1/BlueLib GitHub Wiki
Adding BlueLib to your Minecraft mod is straightforward. Follow the steps below to include BlueLib in your development environment.
-
Add CurseMaven
To access BlueLib on CurseMaven or Modrinth Maven, follow the setup guide provided here: Curseforge/Modrinth. -
Include BlueLib in
build.gradle
Add BlueLib as a dependency in your mod’sbuild.gradle
file. Use the appropriate dependency configuration based on your platform:
Curseforge
Common
dependencies {
implementation "curse.maven:bluelib-common-1132979:CURSEFORGE_FILE_ID"
}
NeoForge
dependencies {
implementation "curse.maven:bluelib-1083303:CURSEFORGE_FILE_ID"
}
Fabric
dependencies {
implementation "curse.maven:bluelib-1083303:CURSEFORGE_FILE_ID"
}
Modrinth
NeoForge
dependencies {
implementation "maven.modrinth:bluelib:${bluelib_version}"
}
Fabric
dependencies {
modImplementation "maven.modrinth:bluelib:${bluelib_version}"
}
Don't forget to add the
bluelib_version
variable togradle.properties
with the appropriate version.
BlueLib’s functionality is fully contained in the Common Package, making it simpler to integrate.
- You can use the common dependency
- You can use the platform-specific dependency | Curseforge/Modrinth.