Plugins Overview
These are a collection of gradle plugins that are meant to make minecraft mod development easier, by
- providing sane and easy to configure defaults
- abstracting away the individual loaders gradle plugin configuration
- bundling helpful tools like Minotaur, CurseForgeGradle or Spotless
It is divided into several sub-plugins, that can be used in various configurations in multi-loader projects, or simple single-loader projects.
Info
You can view the example repository to see various different setups on the different branches. These are also automatically tested every week to verify that all plugins are still working.
-
Core Plugin
com.possible-triangle.coreThis plugin is bundled into all loader plugins. It rarely ever needs to be explicitly defined, unless for rare cases with subprojects.
It applies a lot of the overarching functionality, like configuring java & mod properties.
Mod Loaders
In single-loader projects, on of these are the only ones that need to be applied. For multi-loader projects projects, a combination of these can be used in various subprojects.
-
com.possible-triangle.commonusing the NeoForge ModDevGradle and NeoForm
-
com.possible-triangle.architecturyusing Architectury Loom (1)
- using version 1.11
required if a dependendies
commonmodule also uses architectury loom -
com.possible-triangle.vanillausing VanillaGradle
for common module on <=1.20.1 before NeoForge was a thing
-
com.possible-triangle.neoforgeusing the NeoForge ModDevGradle
-
com.possible-triangle.forgeusing ForgeGradle (1)
- using version 6
-
com.possible-triangle.fabricusing Fabric Loom (1)
- using version 1.11
Utility plugins
-
com.possible-triangle.packwizStandalone Settings Plugin.
Allows Packwiz packs to be imported as gradle dependencies.
-
com.possible-triangle.accessBundled within
neoforgeandforge, but can be used standalone.Transforms Access Wideners into Access Transformers
-
com.possible-triangle.publishingBundled within
core, but can be used standalone.Contains helper methods to modify maven artifact metadata to work better for mod development.