public interface ModDependency
| Modifier and Type | Method and Description |
|---|---|
String |
getModId()
Returns the ID of the mod to check.
|
Set<VersionPredicate> |
getVersionRequirements()
Returns a representation of the dependency's version requirements.
|
boolean |
matches(Version version)
Returns if the version fulfills this dependency's version requirement.
|
String getModId()
boolean matches(Version version)
version - the version to checkSet<VersionPredicate> getVersionRequirements()