Class ModDependency
java.lang.Object
dev.puzzleshq.mod.util.ModDependency
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the version constraints.Gets theIModContainer
of the mod.getModID()
Gets the mod ID.boolean
Checks if a compatible version of the mod is loaded.boolean
Checks if the mod is optional.
-
Constructor Details
-
ModDependency
-
-
Method Details
-
getContainer
Gets theIModContainer
of the mod.- Returns:
IModContainer
-
hasCompatibleVersion
public boolean hasCompatibleVersion()Checks if a compatible version of the mod is loaded. -
getConstraint
Gets the version constraints. -
isOptional
public boolean isOptional()Checks if the mod is optional. -
getModID
Gets the mod ID.
-