Skip to content

Creating an Addon for Rats

Alexthe666 edited this page Oct 5, 2020 · 5 revisions

To add rats to your workspace environment (in order to create an addon), add the following to your build.gradle:

... repositories{ //Other mavens above or below maven { name = "CurseMaven" url = "https://www.cursemaven.com" } } ...

... dependencies { // your minecraft version here compile 'citadel:citadel:CITADEL_VERSION:deobf' implementation fg.deobf("curse.maven:rats:RATS_FILE") } ...

Where CITADEL_VERSION is the version of citadel required by Rats, and RATS_FILE is the file ID for the rats jar you want (this can be gotten from the curseforge URL, for https://www.curseforge.com/minecraft/mc-mods/rats/files/3072704 this would be 3072704). So for example,

... dependencies { // your minecraft version here compile 'citadel:citadel:1.4.0:deobf' implementation fg.deobf("curse.maven:rats:3072704") } ...

Rebuild your environment and rats should work!

Clone this wiki locally