Class ModInfo.ModVersion
java.lang.Object
net.minecraftforge.fml.loading.moddiscovery.ModInfo.ModVersion
- All Implemented Interfaces:
net.minecraftforge.forgespi.language.IModInfo.ModVersion
- Enclosing class:
- ModInfo
class ModInfo.ModVersion
extends Object
implements net.minecraftforge.forgespi.language.IModInfo.ModVersion
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private final String
private final net.minecraftforge.forgespi.language.IModInfo.Ordering
private net.minecraftforge.forgespi.language.IModInfo
private final net.minecraftforge.forgespi.language.IModInfo.DependencySide
private final org.apache.maven.artifact.versioning.VersionRange
-
Constructor Summary
ConstructorDescriptionModVersion
(net.minecraftforge.forgespi.language.IModInfo owner, net.minecraftforge.forgespi.language.IConfigurable config) -
Method Summary
Modifier and TypeMethodDescriptiongetModId()
net.minecraftforge.forgespi.language.IModInfo.Ordering
net.minecraftforge.forgespi.language.IModInfo
getOwner()
net.minecraftforge.forgespi.language.IModInfo.DependencySide
getSide()
org.apache.maven.artifact.versioning.VersionRange
boolean
void
setOwner
(net.minecraftforge.forgespi.language.IModInfo owner)
-
Field Details
-
owner
private net.minecraftforge.forgespi.language.IModInfo owner -
modId
-
versionRange
private final org.apache.maven.artifact.versioning.VersionRange versionRange -
mandatory
private final boolean mandatory -
ordering
private final net.minecraftforge.forgespi.language.IModInfo.Ordering ordering -
side
private final net.minecraftforge.forgespi.language.IModInfo.DependencySide side -
referralUrl
-
-
Constructor Details
-
ModVersion
public ModVersion(net.minecraftforge.forgespi.language.IModInfo owner, net.minecraftforge.forgespi.language.IConfigurable config)
-
-
Method Details
-
getModId
- Specified by:
getModId
in interfacenet.minecraftforge.forgespi.language.IModInfo.ModVersion
-
getVersionRange
public org.apache.maven.artifact.versioning.VersionRange getVersionRange()- Specified by:
getVersionRange
in interfacenet.minecraftforge.forgespi.language.IModInfo.ModVersion
-
isMandatory
public boolean isMandatory()- Specified by:
isMandatory
in interfacenet.minecraftforge.forgespi.language.IModInfo.ModVersion
-
getOrdering
public net.minecraftforge.forgespi.language.IModInfo.Ordering getOrdering()- Specified by:
getOrdering
in interfacenet.minecraftforge.forgespi.language.IModInfo.ModVersion
-
getSide
public net.minecraftforge.forgespi.language.IModInfo.DependencySide getSide()- Specified by:
getSide
in interfacenet.minecraftforge.forgespi.language.IModInfo.ModVersion
-
setOwner
public void setOwner(net.minecraftforge.forgespi.language.IModInfo owner) - Specified by:
setOwner
in interfacenet.minecraftforge.forgespi.language.IModInfo.ModVersion
-
getOwner
public net.minecraftforge.forgespi.language.IModInfo getOwner()- Specified by:
getOwner
in interfacenet.minecraftforge.forgespi.language.IModInfo.ModVersion
-
getReferralURL
- Specified by:
getReferralURL
in interfacenet.minecraftforge.forgespi.language.IModInfo.ModVersion
-