Class ModInfo
java.lang.Object
net.minecraftforge.fml.loading.moddiscovery.ModInfo
- All Implemented Interfaces:
net.minecraftforge.forgespi.language.IConfigurable
,net.minecraftforge.forgespi.language.IModInfo
@Internal
public class ModInfo
extends Object
implements net.minecraftforge.forgespi.language.IModInfo, net.minecraftforge.forgespi.language.IConfigurable
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraftforge.forgespi.language.IModInfo
net.minecraftforge.forgespi.language.IModInfo.DependencySide, net.minecraftforge.forgespi.language.IModInfo.Ordering
-
Field Summary
Modifier and TypeFieldDescriptionprivate final net.minecraftforge.forgespi.language.IConfigurable
private static final org.apache.maven.artifact.versioning.DefaultArtifactVersion
private final List
<? extends net.minecraftforge.forgespi.language.IModInfo.ModVersion> private final String
private final String
private final List
<net.minecraftforge.forgespi.locating.ForgeFeature.Bound> private static final org.slf4j.Logger
private final boolean
private final String
private final String
private final ModFileInfo
private static final Pattern
private static final Pattern
private static final Pattern
private final org.apache.maven.artifact.versioning.ArtifactVersion
Fields inherited from interface net.minecraftforge.forgespi.language.IModInfo
UNBOUNDED
-
Constructor Summary
ConstructorDescriptionModInfo
(ModFileInfo owningFile, net.minecraftforge.forgespi.language.IConfigurable config) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraftforge.forgespi.language.IConfigurable
<T> Optional
<T> getConfigElement
(String... key) List
<? extends net.minecraftforge.forgespi.language.IConfigurable> getConfigList
(String... key) List
<? extends net.minecraftforge.forgespi.language.IModInfo.ModVersion> List
<? extends net.minecraftforge.forgespi.locating.ForgeFeature.Bound> boolean
getModId()
org.apache.maven.artifact.versioning.ArtifactVersion
private net.minecraftforge.forgespi.locating.ForgeFeature.Bound
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
DEFAULT_VERSION
private static final org.apache.maven.artifact.versioning.DefaultArtifactVersion DEFAULT_VERSION -
VALID_MODID
-
VALID_NAMESPACE
-
VALID_VERSION
-
owningFile
-
modId
-
namespace
-
version
private final org.apache.maven.artifact.versioning.ArtifactVersion version -
displayName
-
description
-
logoFile
-
logoBlur
private final boolean logoBlur -
updateJSONURL
-
dependencies
-
features
-
properties
-
config
private final net.minecraftforge.forgespi.language.IConfigurable config -
modUrl
-
-
Constructor Details
-
ModInfo
-
-
Method Details
-
getOwningFile
- Specified by:
getOwningFile
in interfacenet.minecraftforge.forgespi.language.IModInfo
-
getModId
- Specified by:
getModId
in interfacenet.minecraftforge.forgespi.language.IModInfo
-
getDisplayName
- Specified by:
getDisplayName
in interfacenet.minecraftforge.forgespi.language.IModInfo
-
getDescription
- Specified by:
getDescription
in interfacenet.minecraftforge.forgespi.language.IModInfo
-
getVersion
public org.apache.maven.artifact.versioning.ArtifactVersion getVersion()- Specified by:
getVersion
in interfacenet.minecraftforge.forgespi.language.IModInfo
-
getDependencies
- Specified by:
getDependencies
in interfacenet.minecraftforge.forgespi.language.IModInfo
-
getNamespace
- Specified by:
getNamespace
in interfacenet.minecraftforge.forgespi.language.IModInfo
-
getModProperties
- Specified by:
getModProperties
in interfacenet.minecraftforge.forgespi.language.IModInfo
-
getUpdateURL
- Specified by:
getUpdateURL
in interfacenet.minecraftforge.forgespi.language.IModInfo
-
getLogoFile
- Specified by:
getLogoFile
in interfacenet.minecraftforge.forgespi.language.IModInfo
-
getLogoBlur
public boolean getLogoBlur()- Specified by:
getLogoBlur
in interfacenet.minecraftforge.forgespi.language.IModInfo
-
getConfig
public net.minecraftforge.forgespi.language.IConfigurable getConfig()- Specified by:
getConfig
in interfacenet.minecraftforge.forgespi.language.IModInfo
-
getForgeFeatures
- Specified by:
getForgeFeatures
in interfacenet.minecraftforge.forgespi.language.IModInfo
-
getConfigElement
- Specified by:
getConfigElement
in interfacenet.minecraftforge.forgespi.language.IConfigurable
-
getConfigList
public List<? extends net.minecraftforge.forgespi.language.IConfigurable> getConfigList(String... key) - Specified by:
getConfigList
in interfacenet.minecraftforge.forgespi.language.IConfigurable
-
getModURL
- Specified by:
getModURL
in interfacenet.minecraftforge.forgespi.language.IModInfo
-
makeBound
-