Class ConstraintChecker
java.lang.Object
com.moulberry.mixinconstraints.checker.ConstraintChecker
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic booleancheckMinecraftVersion(String minVersion, String maxVersion) static booleanCheck if *ALL* the modIds provided are absentstatic booleanCheck if *ANY* of the modIds provided are loaded
-
Constructor Details
-
ConstraintChecker
public ConstraintChecker()
-
-
Method Details
-
checkModLoaded
public static boolean checkModLoaded(String main, Iterable<String> aliases, String minVersion, String maxVersion) Check if *ANY* of the modIds provided are loaded -
checkModAbsent
public static boolean checkModAbsent(String main, Iterable<String> modIds, String minVersion, String maxVersion) Check if *ALL* the modIds provided are absent -
checkDevEnvironment
public static boolean checkDevEnvironment() -
checkMinecraftVersion
-