BlueLib Installation - MeAlam1/BlueLib GitHub Wiki


Integrating BlueLib with Your Minecraft Mod

Adding BlueLib to your Minecraft mod is straightforward. Follow the steps below to include BlueLib in your development environment.


Setup Instructions

  1. Add CurseMaven
    To access BlueLib on CurseMaven or Modrinth Maven, follow the setup guide provided here: Curseforge/Modrinth.

  2. Include BlueLib in build.gradle
    Add BlueLib as a dependency in your mod’s build.gradle file. Use the appropriate dependency configuration based on your platform:

Platform-Specific Setup

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 to gradle.properties with the appropriate version.


MultiLoader Configuration

BlueLib’s functionality is fully contained in the Common Package, making it simpler to integrate.


⚠️ **GitHub.com Fallback** ⚠️