Common
There are several plugins that can be used for a common sub-project to be shared between multiple mod-loaders.
All of these provide a mod-loader-agnosistic source set and provide a common extension to configure.
Which can and should be choosen when is listed on the multiloader page.
NeoForm
The com.possible-triangle.common uses NeoForm
through ModDevGradle.
There is one loader-specific property on the common extension, which can but should never have to be overwritten.
| Property | Default Value |
|---|---|
| neoformVersion | fetched using the mod.minecraftVersion |
The common extension implements all accessTransformer methods that are present in the neoforge plugin,
as well as all accessWidener methods that are present in the fabric plugin.
The latter will be transformed into an access transformer, as described in the neoforge page
Architectury
The com.possible-triangle.architectury uses Architectury Loom, specifically version 1.11.
The common extension implements all accessWidener methods that are present in the fabric plugin.
Vanilla
The com.possible-triangle.vanilla uses VanillaGradle