-
Notifications
You must be signed in to change notification settings - Fork 778
Building an addon
KnightMiner edited this page Sep 15, 2022
·
18 revisions
To get TiC into your dev environment you need to add it as a dependency.
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'
}
}
Then you need to tell it to get Tinkers' Construct from there.
dependencies {
deobfCompile "slimeknights.mantle:Mantle:1.12-${mantle_build}"
deobfCompile "slimeknights:TConstruct:1.12.2-${tinkers_build}"
}
dependencies {
compile fg.deobf("slimeknights.mantle:Mantle:${minecraft_version}-${mantle_build}")
compile fg.deobf("slimeknights.tconstruct:TConstruct:${minecraft_version}-${tinkers_build}")
}
${minecraft_version}
is your full minecraft version, e.g. 1.16.5
or 1.18.2
.
Mantle is needed for Tinkers' Construct. The requirement ${mantle_build}
for the last time this page was updated is listed in the following table, but clicking the link will bring you to the current version The current build is listed.
The ${tinkers_build}
corresponds to the latest release and its jenkins build. You can find the latest build on the release page. The table below has the latest as of the time of writing.
Minecraft Version | Mantle Version | Tinkers Build |
---|---|---|
1.16.5 | 1.6.158 | 3.3.4.335 |
1.18.2 | 1.9.25 | 3.5.2.38 |