Mod properties
After the build has been configured by mod.configure, the mod extension provides access to some properties useful for further build configuration.
modidcontains the mod is of the mod.nameis an alias forproject.name. This is mainly useful for template expansion in theprocessResourcesstep.groupis an alias forproject.group. This is mainly useful for template expansion in theprocessResourcesstep.versionis an alias forproject.version. This is mainly useful for template expansion in theprocessResourcesstep.minecraftcontains the Minecraft version used to build the mod.neoforgecontains the NeoForge version used to build the mod.javacontains the targeted java version for the build. If not manually set, this is inferred from the Minecraft version.resourcecontains the resource pack version that is current in the Minecraft version used to build the mod.datacontains the datapack version that is current in the Minecraft version used to build the mod.licensecontains the license of the mod.timestampcontains the commit timestamp of the currentHEAD. This is only available if the project is located inside a git repository.changelogcontains the generated changelog listing all commits since the last version.source_urlcontains the URL to browsable source code of the mod. This is only available if set in thegitblock duringmod.configure.issue_urlcontains the URL pointing to the mod issue tracker. This is only available if set in thegitblock duringmod.configure.
Properties can be accessed using mod['property_name'] and in template expansion also as mod.property_name.