Install the Library
Let's use gradle!
To install and use the MModding Library with your mod, you need to add the following to your gradle/libs.versions.toml
file:
[versions]
# ...
# under the quilted_fabric_api
mmodding_lib = "VERSION"
[libraries]
# ...
# under the quilted_fabric_api
mmodding_lib = { module = "com.github.MModding:MModding-Library", version.ref = "mmodding_lib" }
Then go to the build.gradle
file:
repositories {
// ...
maven { url 'https://jitpack.io' }
maven { url = 'https://maven.terraformersmc.com' }
}
dependencies {
// ...
// MModding Library
modImplementation libs.mmodding.lib
}
Do not put this in your buildscript section!
Last updated