Skip to content

Setting Up

ChampionAsh5357 edited this page Oct 22, 2020 · 4 revisions

Gradle Build Script

You can setup the buildscript to include this mod via the following:

Repository

repositories {
    maven {
        //Location of the maven that hosts all of my mods.
    	url 'https://championash5357.github.io/ChampionAsh5357/projects/maven'
    }
}

Forge Gradle 3 Dependencies

dependencies {
    compileOnly fg.deobf("io.github.championash5357:paranoia:${mc_version}-${mod_version}:api")
    runtimeOnly fg.deobf("io.github.championash5357:paranoia:${mc_version}-${mod_version}")
}

Disabling Refmaps in Runs

...
runs {
    client {
        property 'mixin.env.disableRefMap', 'true'
        ...
    }
    ...
}
...

Note: A list of more specific properties can be found here

Note: Everything within these two blocks should be outside the buildscript block.

${mc_version} is the current Minecraft version (e.g. 1.16.3).
${mod_version} is the current mod version (e.g. 1.0.0.0).

Clone this wiki locally