Skip to content

Add Custom Armor Attributes (Fabric)

WildfireRomeo edited this page Mar 21, 2022 · 3 revisions

How to Add Custom Armor Attributes - Fabric Mod Loader

  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
}

Workspace Setup

Add Custom Armor Attributes

Clone this wiki locally