Class ModFileInfo
java.lang.Object
net.minecraftforge.fml.loading.moddiscovery.ModFileInfo
- All Implemented Interfaces:
net.minecraftforge.forgespi.language.IConfigurable
,net.minecraftforge.forgespi.language.IModFileInfo
public class ModFileInfo
extends Object
implements net.minecraftforge.forgespi.language.IModFileInfo, net.minecraftforge.forgespi.language.IConfigurable
-
Field Summary
Modifier and TypeFieldDescriptionprivate final net.minecraftforge.forgespi.language.IConfigurable
private final URL
private final String
private static final org.apache.logging.log4j.Logger
private final ModFile
private final String
private final org.apache.maven.artifact.versioning.VersionRange
private final List<net.minecraftforge.forgespi.language.IModInfo>
private final boolean
private final Optional<CodeSigner[]>
-
Constructor Summary
ConstructorDescriptionModFileInfo
(ModFile modFile, net.minecraftforge.forgespi.language.IConfigurable config) -
Method Summary
Modifier and TypeMethodDescription<T> Optional<T>
getConfigElement
(String... key) List<? extends net.minecraftforge.forgespi.language.IConfigurable>
getConfigList
(String... key) getFile()
org.apache.maven.artifact.versioning.VersionRange
List<net.minecraftforge.forgespi.language.IModInfo>
getMods()
boolean
boolean
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
config
private final net.minecraftforge.forgespi.language.IConfigurable config -
modFile
-
issueURL
-
modLoader
-
modLoaderVersion
private final org.apache.maven.artifact.versioning.VersionRange modLoaderVersion -
showAsResourcePack
private final boolean showAsResourcePack -
mods
-
properties
-
license
-
manifest
-
signers
-
-
Constructor Details
-
ModFileInfo
ModFileInfo(ModFile modFile, net.minecraftforge.forgespi.language.IConfigurable config)
-
-
Method Details
-
getMods
- Specified by:
getMods
in interfacenet.minecraftforge.forgespi.language.IModFileInfo
-
getFile
-
getModLoader
- Specified by:
getModLoader
in interfacenet.minecraftforge.forgespi.language.IModFileInfo
-
getModLoaderVersion
public org.apache.maven.artifact.versioning.VersionRange getModLoaderVersion()- Specified by:
getModLoaderVersion
in interfacenet.minecraftforge.forgespi.language.IModFileInfo
-
getFileProperties
- Specified by:
getFileProperties
in interfacenet.minecraftforge.forgespi.language.IModFileInfo
-
getManifest
-
showAsResourcePack
public boolean showAsResourcePack()- Specified by:
showAsResourcePack
in interfacenet.minecraftforge.forgespi.language.IModFileInfo
-
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
-
getLicense
- Specified by:
getLicense
in interfacenet.minecraftforge.forgespi.language.IModFileInfo
-
getIssueURL
-
missingLicense
public boolean missingLicense() -
getCodeSigners
-
getCodeSigningFingerprint
-
getTrustData
-