To use CarryOn in your projects, include this in your build.gradle:
repositories {
maven {
url "https://maven.blamejared.com/"
}
}
dependencies {
deobfCompile "tschipp.carryon:carryon-LOADER-MCVERSION:MODVERSION"
}
Make sure to replace LOADER
, MCVERSION
and MODVERSION
with the appropriate versions. One example would be tschipp.carryon:carryon-forge-1.19.2:2.0.0.5
This project provides a Gradle project template that can compile mods for both Forge and Fabric using a common sourceset. This project does not require any third party libraries or dependencies.
This guide will show how to import the MultiLoader Template into IntelliJ IDEA. The setup process is roughly equivalent to setting up Forge and Fabric independently and should be very familiar to anyone who has worked with their MDKs.
File > Settings > Build, Execution, Deployment > Build Tools > Gradle > Gradle JVM
and changing the value to a valid Java 17 JVM. You will also need to set the Project SDK to Java 17. This can be done by going to File > Project Structure > Project SDK
. Once both have been set open the Gradle tab in IDEA and click the refresh button to reload the project.Your Project > Common > Tasks > vanilla gradle > decompile
. Run this task to decompile Minecraft.Your Project > Forge > Tasks > forgegradle runs > genIntellijRuns
. Run this task to set up run configurations for Forge.While it is possible to use this template in Eclipse it is not recommended. During the development of this template multiple critical bugs and quirks related to Eclipse were found at nearly every level of the required build tools. While we continue to work with these tools to report and resolve issues support for projects like these are not there yet. For now Eclipse is considered unsupported by this project. The development cycle for build tools is notoriously slow so there are no ETAs available.