Skip to content

Setup

To import the MModding Library, you will need to add three mavens to your build.gradle repository block:

You would then have a repository block which looks like this:

groovy
repositories {
    mavenCentral()
	maven {
		name = "MModding"
		url = "https://maven.mmodding.com/releases"
	}
}

And then, alongside Fabric API, you can the library in the dependency block:

groovy
dependencies {
    // Previous stuff. (like FAPI)
    implementation "com.mmodding:mmodding-library:${mmodding_version}"
}

Which would then require a mmodding_version property to be set in your gradle.properties file. You can find version numbers here.