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