Skip to content

Building an addon

KnightMiner edited this page Sep 15, 2022 · 19 revisions

To get TiC into your dev environment you need to add it as a dependency.

Repository

First you need to add our maven repo to your build.gradle:

repositories {
    ...
    maven {
        name 'DVS1 Maven FS'
        url 'https://dvs1.progwml6.com/files/maven'
    }
}

Dependency

Then you need to tell it to get Tinkers' Construct from there.

For 1.12

dependencies {
    deobfCompile "slimeknights.mantle:Mantle:1.12-<mantle_build>"
    deobfCompile "slimeknights:TConstruct:1.12.2-<tic_build>"
}

For 1.16

dependencies {
    compile fg.deobf("slimeknights.mantle:Mantle:1.16.5-<mantle_build>")
    compile fg.deobf("slimeknights.tconstruct:TConstruct:1.16.5-<tic_build>")
}

Versions

Mantle is needed for Tinkers' Construct. You can find the <mantle_build> here in Tinkers' Construct build info.

The <tic_build> corresponds to the latest release and its jenkins build. You can find the latest build on the release page. As the time of writing the build would be "3.0.3.111"

Clone this wiki locally