How to add Mine and Slash to your IDE - RobertSkalko/Mine-and-Slash GitHub Wiki
How to make Addons for Mine and Slash.
In your mods build.gradle
, it recommended to use Wyn-Price's CurseMaven. To add it, simply just add the following to your build.gradle
:
1.12.2
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.wynprice.cursemaven:CurseMaven:2.1.1"
}
}
apply plugin: "com.wynprice.cursemaven"
dependencies {
deobfCompile "curse.maven:MaS:2926647" // MaS is just an easy to remember name, 2926647 is the file ID of the version of the mod you want to download, this one being the latest 1.12.2 https://www.curseforge.com/minecraft/mc-mods/mine-and-slash-reloaded/files/2926647
}
Now simply run gradlew setupDecompWorkspace
to have it download the file and add it your project.
1.14.4/1.15.2
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.wynprice.cursemaven:CurseMaven:2.1.1"
}
}
apply plugin: "com.wynprice.cursemaven"
dependencies {
compile fg.deobf("curse.maven:MaS:2931966") // MaS is just an easy to remember name, 2931966 is the file ID of the version of the mod you want to download, this one being the latest 1.15.1 https://www.curseforge.com/minecraft/mc-mods/mine-and-slash-reloaded/files/2931966
}
Now simply run gradlew genYOURIDERuns
to have it download the file and add it your project.