-
Notifications
You must be signed in to change notification settings - Fork 29
Getting Started
Alexthe668 edited this page Jun 9, 2021
·
17 revisions
IMPORTANT: In versions 1.7.0 and above, mixins were added to citadel. To setup your dev workspace you must now include much more content in your .gradle file. Luckily, I have updated the Alex's Mobs build.gradle file, which you should just be able to copy and replace your old ones with. Just make sure to swap out the name("alexsmobs") and build version for your own mod, and you should be fine. You can find the latest here: https://github.com/Alex-the-666/AlexsMobs/blob/main/build.gradle
To add Citadel to your development workspace, add the following to your build.gradle:
repositories{
maven {
name = "CurseForge"
url = "https://minecraft.curseforge.com/api/maven/"
}
}
above
apply plugin: 'net.minecraftforge.gradle'
Below, add
compile 'citadel:citadel:VERSION_NUMBER-MC_VERSION:deobf'
(where VERSION_NUMBER is a version of citadel, ex. 1.0.0, and MC_VERSION would be the minecraft version, ex. 1.15.2) inside the dependencies
block. Your build.gradle should look similar to the following...
...
buildscript {
...
}
repositories{
maven {
name = "CurseForge"
url = "https://minecraft.curseforge.com/api/maven/"
}
}
apply plugin: 'net.minecraftforge.gradle'
...
dependencies {
minecraft 'net.minecraftforge:forge:MC_VERSION-FORGE_VERSION'
compile 'citadel:citadel:1.1.0-1.15.2:deobf'
}
...