Class ModInfo
java.lang.Object
net.minecraftforge.fml.loading.moddiscovery.ModInfo
- All Implemented Interfaces:
net.minecraftforge.forgespi.language.IConfigurable
,net.minecraftforge.forgespi.language.IModInfo
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 net.minecraftforge.forgespi.language.IConfigurable
private static org.apache.maven.artifact.versioning.DefaultArtifactVersion
private List<? extends net.minecraftforge.forgespi.language.IModInfo.ModVersion>
private String
private String
private static org.apache.logging.log4j.Logger
private boolean
private String
private String
private ModFileInfo
private static Pattern
private 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>
boolean
getModId()
org.apache.maven.artifact.versioning.ArtifactVersion
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
DEFAULT_VERSION
private static final org.apache.maven.artifact.versioning.DefaultArtifactVersion DEFAULT_VERSION -
VALID_LABEL
-
owningFile
-
modId
-
namespace
-
version
private final org.apache.maven.artifact.versioning.ArtifactVersion version -
displayName
-
description
-
logoFile
-
logoBlur
private final boolean logoBlur -
updateJSONURL
-
dependencies
-
properties
-
config
private final net.minecraftforge.forgespi.language.IConfigurable config
-
-
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
-
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
-