Package | Description |
---|---|
net.minecraftforge.fml.common | |
net.minecraftforge.fml.common.network.internal | |
net.minecraftforge.fml.common.versioning |
Modifier and Type | Field and Description |
---|---|
private VersionRange |
FMLModContainer.minecraftAccepted |
private VersionRange |
MinecraftDummyContainer.staticRange |
Modifier and Type | Method and Description |
---|---|
VersionRange |
FMLModContainer.acceptableMinecraftVersionRange() |
VersionRange |
InjectedModContainer.acceptableMinecraftVersionRange() |
VersionRange |
ModContainer.acceptableMinecraftVersionRange() |
VersionRange |
DummyModContainer.acceptableMinecraftVersionRange() |
VersionRange |
MinecraftDummyContainer.getStaticVersionRange() |
Modifier and Type | Field and Description |
---|---|
private VersionRange |
NetworkModHolder.acceptableRange |
Modifier and Type | Field and Description |
---|---|
private VersionRange |
DefaultArtifactVersion.range |
Modifier and Type | Method and Description |
---|---|
VersionRange |
VersionRange.cloneOf() |
static VersionRange |
VersionRange.createFromVersion(java.lang.String version,
ArtifactVersion existing) |
static VersionRange |
VersionRange.createFromVersionSpec(java.lang.String spec)
Create a version range from a string representation
Some spec examples are
1.0 Version 1.0
[1.0,2.0) Versions 1.0 (included) to 2.0 (not included)
[1.0,2.0] Versions 1.0 to 2.0 (both included)
[1.5,) Versions 1.5 and higher
(,1.0],[1.2,) Versions up to 1.0 (included) and 1.2 or higher
|
VersionRange |
DefaultArtifactVersion.getRange() |
static VersionRange |
VersionRange.newRange(ArtifactVersion version,
java.util.List<Restriction> restrictions)
Factory method, for custom versioning schemes
|
static VersionRange |
VersionParser.parseRange(java.lang.String range) |
VersionRange |
VersionRange.restrict(VersionRange restriction)
Creates and returns a new
VersionRange that is a restriction of this
version range and the specified version range. |
Modifier and Type | Method and Description |
---|---|
VersionRange |
VersionRange.restrict(VersionRange restriction)
Creates and returns a new
VersionRange that is a restriction of this
version range and the specified version range. |
Constructor and Description |
---|
DefaultArtifactVersion(java.lang.String label,
VersionRange range) |