|
Quilt Loader 1
|
Represents a dependency. More...
Classes | |
| enum | Kind |
Public Member Functions | |
| Kind | getKind () |
| Get the kind of dependency. | |
| String | getModId () |
| Returns the ID of the mod to check. | |
| boolean | matches (Version version) |
| Returns if the version fulfills this dependency's version requirement. | |
| Collection< VersionPredicate > | getVersionRequirements () |
| Returns a representation of the dependency's version requirements. | |
| List< VersionInterval > | getVersionIntervals () |
| Returns the version intervals covered by the dependency's version requirements. | |
Represents a dependency.
| Kind net.fabricmc.loader.api.metadata.ModDependency.getKind | ( | ) |
Get the kind of dependency.
Implemented in org.quiltmc.loader.impl.fabric.metadata.ModDependencyImpl.
| String net.fabricmc.loader.api.metadata.ModDependency.getModId | ( | ) |
Returns the ID of the mod to check.
Implemented in org.quiltmc.loader.impl.fabric.metadata.ModDependencyImpl.
| List< VersionInterval > net.fabricmc.loader.api.metadata.ModDependency.getVersionIntervals | ( | ) |
Returns the version intervals covered by the dependency's version requirements.
There may be multiple because the allowed range may not be consecutive.
Implemented in org.quiltmc.loader.impl.fabric.metadata.ModDependencyImpl.
| Collection< VersionPredicate > net.fabricmc.loader.api.metadata.ModDependency.getVersionRequirements | ( | ) |
Returns a representation of the dependency's version requirements.
Implemented in org.quiltmc.loader.impl.fabric.metadata.ModDependencyImpl.
| boolean net.fabricmc.loader.api.metadata.ModDependency.matches | ( | Version | version | ) |
Returns if the version fulfills this dependency's version requirement.
| version | the version to check |
Implemented in org.quiltmc.loader.impl.fabric.metadata.ModDependencyImpl.