|
Quilt Loader 1
|
Representation of a mod's dependency. More...
Classes | |
| interface | All |
| A mod breakage where at all conditions must be satisfied in order to conflict. More... | |
| interface | Any |
| A mod dependency where at least one condition must be satisfied. More... | |
| interface | Only |
| A mod dependency where there is only one condition that must be satisfied. More... | |
Public Member Functions | |
| boolean | shouldIgnore () |
| Checks if this dependency should apply in the current system. | |
Representation of a mod's dependency.
| boolean org.quiltmc.loader.api.ModDependency.shouldIgnore | ( | ) |
Checks if this dependency should apply in the current system.
This only checks static values, and doesn't check anything from the current modset. For example the minecraft loader plugin would check the "environment" field here, and if it doesn't match the current envrionment, return true.
Implemented in org.quiltmc.loader.api.ModDependency.All, and org.quiltmc.loader.api.ModDependency.Any.