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 java.lang.Object implements net.minecraftforge.forgespi.language.IModInfo.ModVersion
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
mandatory
private java.lang.String
modId
private net.minecraftforge.forgespi.language.IModInfo.Ordering
ordering
private net.minecraftforge.forgespi.language.IModInfo
owner
private net.minecraftforge.forgespi.language.IModInfo.DependencySide
side
private org.apache.maven.artifact.versioning.VersionRange
versionRange
-
Constructor Summary
Constructors Constructor Description ModVersion(net.minecraftforge.forgespi.language.IModInfo owner, net.minecraftforge.forgespi.language.IConfigurable config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getModId()
net.minecraftforge.forgespi.language.IModInfo.Ordering
getOrdering()
net.minecraftforge.forgespi.language.IModInfo
getOwner()
net.minecraftforge.forgespi.language.IModInfo.DependencySide
getSide()
org.apache.maven.artifact.versioning.VersionRange
getVersionRange()
boolean
isMandatory()
void
setOwner(net.minecraftforge.forgespi.language.IModInfo owner)
-
-
-
Field Detail
-
owner
private net.minecraftforge.forgespi.language.IModInfo owner
-
modId
private final java.lang.String 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
-
-
Method Detail
-
getModId
public java.lang.String 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
-
-