Quilt Loader 1
Loading...
Searching...
No Matches
org.quiltmc.loader.api.ModDependency Interface Reference

Representation of a mod's dependency. More...

Inheritance diagram for org.quiltmc.loader.api.ModDependency:
org.quiltmc.loader.api.ModDependency.All org.quiltmc.loader.api.ModDependency.Any org.quiltmc.loader.api.ModDependency.Only

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.

Detailed Description

Representation of a mod's dependency.

Member Function Documentation

◆ shouldIgnore()

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.


The documentation for this interface was generated from the following file:
  • src/main/java/org/quiltmc/loader/api/ModDependency.java