Class ModDependency
-
- All Implemented Interfaces:
public final class ModDependencyA mod named as a dependency by another, and the side that dependency is needed on.
Only the id is known — the declaring descriptor names a mod, not a file — so matching this back to a jar happens against ScannedMod.modID.
-
-
Constructor Summary
Constructors Constructor Description ModDependency(String modID, Sideness sideness, String versionConstraint, Boolean optional, List<String> unlessProvided)ModDependency(String modID, Sideness sideness, String versionConstraint, Boolean optional)ModDependency(String modID, Sideness sideness, String versionConstraint)ModDependency(String modID, Sideness sideness)ModDependency(String modID)
-
Method Summary
Modifier and Type Method Description final StringgetModID()final SidenessgetSideness()final StringgetVersionConstraint()final BooleangetOptional()final List<String>getUnlessProvided()StringtoString()One line for a scan log: the id that was depended on, the side asked for, and whether it is optional. -
-
Method Detail
-
getSideness
final Sideness getSideness()
-
getVersionConstraint
final String getVersionConstraint()
-
getOptional
final Boolean getOptional()
-
getUnlessProvided
final List<String> getUnlessProvided()
-
-
-
-