|
Quilt Loader 1
|
A dependency identifier is a combination of a maven group and a mod id. More...
Public Member Functions | |
| String | mavenGroup () |
| String | id () |
| String | toString () |
Static Public Member Functions | |
| static ModDependencyIdentifier | of (String mavenGroup, String id) |
A dependency identifier is a combination of a maven group and a mod id.
Generally just the mod id will suffice for most dependency declarations.
The maven group is particularly useful in cases where depending on a specific fork of a mod is desired, typically where mod compatibility does not work without a fork. The fork of the mod would declare it's quilt.mod.json exactly the same as the upstream mod, but declare a different maven group to allow distinguishing between the two mods sharing the same id inside dependency declarations.
| String org.quiltmc.loader.api.ModDependencyIdentifier.id | ( | ) |
Implemented in org.quiltmc.loader.impl.metadata.qmj.ModDependencyIdentifierImpl.
| String org.quiltmc.loader.api.ModDependencyIdentifier.mavenGroup | ( | ) |
Implemented in org.quiltmc.loader.impl.metadata.qmj.ModDependencyIdentifierImpl.
| String org.quiltmc.loader.api.ModDependencyIdentifier.toString | ( | ) |
mavenGroup():id(), or simply id() if mavenGroup is an empty string. Implemented in org.quiltmc.loader.impl.metadata.qmj.ModDependencyIdentifierImpl.