Skip to content

Adding the Female Gender Mod to Gradle

WildfireRomeo edited this page Mar 21, 2022 · 5 revisions

Fabric

  1. Add https://cursemaven.com/ as a maven repository, like normal.
repositories {
    maven {
        url "https://cursemaven.com"
    }
}
  1. Add the file to your dependency list, modImplementation "curse.maven:wfgm-456319:<project file id>"

You can find the file ID in the mod's file list on CurseForge. Right click the version you want the file ID for and click "Copy Link Address"

At the very end of the link, there is a number. That number is the file ID you need.

Example File ID: 3706807

Wildfire's Female Gender Mod 2.9 - Minecraft 1.18.2

Here's an example dependency list below

dependencies {
    minecraft "com.mojang:minecraft:${project.minecraft_version}"
    mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
    modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"

    modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"

    modImplementation "curse.maven:wfgm-456319:3706807" //Wildfire's Female Gender Mod 2.9 - 1.18.2
}

Forge

  1. Add https://cursemaven.com/ as a maven repository, like normal.
repositories {
    maven {
        url "https://cursemaven.com"
    }
}
  1. Add the file to your dependency list, modImplementation "curse.maven:wfgm-481655:<project file id>"

You can find the file ID in the mod's file list on CurseForge. Right click the version you want the file ID for and click "Copy Link Address"

At the very end of the link, there is a number. That number is the file ID you need.

Example File ID: 3706808

Wildfire's Female Gender Mod 2.9 - Minecraft 1.18.2

Here's an example dependency list below

dependencies {
    minecraft 'net.minecraftforge:forge:1.17.1-37.0.44'
    implementation fg.deobf("curse.maven:wfgm-481655:3706808")
}


That's all you should need to do to add the mod to your workspace. If you refresh gradle, the Female Gender Mod should be included in your project!

Workspace Setup

Add Custom Armor Attributes

Clone this wiki locally