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.
You can reference any of the branches in the example repository or follow the steps defined in setup.
-
com.possible-triangle.coreThis plugin is bundled into all loader plugins. For single-loader projects it does not need to be explicitly defined, only when working 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.13
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 NeoForge's Legacy Forge Plugin
-
com.possible-triangle.fabricusing Fabric Loom (1)
- using version 1.15
Utility plugins
-
com.possible-triangle.packwizStandalone Settings Plugin.
Allows Packwiz packs to be imported as gradle dependencies.
-
Access
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.