Minecraft Version:
Note fabric-api version may not be the correct version for the given minecraft version. See the curseforge page.
dependencies {
minecraft "com.mojang:minecraft:{minecraft_version}"
mappings "net.fabricmc:yarn:{yarn_version}:v2"
modImplementation "net.fabricmc:fabric-loader:{loader_version}"
//Fabric api
modImplementation "{fabric_maven}{fabric_version}"
}
minecraft_version={minecraft_version}
yarn_mappings={yarn_version}
loader_version={loader_version}
#Fabric api
fabric_version={fabric_version}
Mappings can be auto updated by using the following command. See the wiki page for more help.
gradlew migrateMappings --mappings "{yarn_version}"
When upgrading to loom 0.2.6 make sure to take a look at the upgrade guide here
Want to help improve this page? Fork it on github