Skip to content

PackDev wiki

PackDev is a gradle plugin for creating and building modpacks. It supports both CurseForge and Modrinth and can build modpacks for Forge, Fabric, Quilt and NeoForge.

Modpacks are often developed using a third party launcher that then exports the modpack in some format for publishing. However, tis comes with a lot of disadvantages:

  • Contributing to the modpack via pull requests is hard, especially if the pull request wants to alter the modlist.
  • Often only one modpack format is supported for export.
  • In most cases the export contains unnecessary overrides like configs that have not been changed.
  • Adding differences between a client and a server version is hard.

PackDev tries to solve these issues by using gradle as a build system. This also has the advantage that you can make use of pre-existing gradle plugins for automatic publishing of modpacks through CurseForgeGradle or Minotaur.

Apply PackDev to your build

buildscript {
    repositories {
        mavenCentral()
        gradlePluginPortal()
        maven { url = 'https://maven.moddingx.org/' }
        maven { url = 'https://maven.minecraftforge.net' }
        maven { url = 'https://maven.fabricmc.net' }
        maven { url = 'https://maven.quiltmc.org/repository/release/' }
        maven { url = 'https://maven.neoforged.net/releases/' }
    }
    dependencies {
        classpath "org.moddingx:PackDev:${packdev_version}"
    }
}

Depending on which loader your modpack uses, you might need to add additional artifacts to the classpath. More information can be found on the loader-specific pages.