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
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraftforge.forgespi.language.IModFileInfo
net.minecraftforge.forgespi.language.IModFileInfo.LanguageSpec
-
Field Summary
Modifier and TypeFieldDescriptionprivate final net.minecraftforge.forgespi.language.IConfigurable
private final URL
private final List<net.minecraftforge.forgespi.language.IModFileInfo.LanguageSpec>
private final String
private static final org.slf4j.Logger
private final ModFile
private final List<net.minecraftforge.forgespi.language.IModInfo>
private final boolean
-
Constructor Summary
ConstructorDescriptionModFileInfo
(ModFile modFile, net.minecraftforge.forgespi.language.IConfigurable config, Consumer<net.minecraftforge.forgespi.language.IModFileInfo> configFileConsumer) ModFileInfo
(ModFile file, net.minecraftforge.forgespi.language.IConfigurable config, Consumer<net.minecraftforge.forgespi.language.IModFileInfo> configFileConsumer, List<net.minecraftforge.forgespi.language.IModFileInfo.LanguageSpec> languageSpecs) -
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) getFile()
List<net.minecraftforge.forgespi.language.IModInfo>
getMods()
boolean
List<net.minecraftforge.forgespi.language.IModFileInfo.LanguageSpec>
boolean
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
config
private final net.minecraftforge.forgespi.language.IConfigurable config -
modFile
-
issueURL
-
languageSpecs
-
showAsResourcePack
private final boolean showAsResourcePack -
mods
-
properties
-
license
-
usesServices
-
-
Constructor Details
-
ModFileInfo
-
ModFileInfo
-
-
Method Details
-
getMods
- Specified by:
getMods
in interfacenet.minecraftforge.forgespi.language.IModFileInfo
-
getFile
- Specified by:
getFile
in interfacenet.minecraftforge.forgespi.language.IModFileInfo
-
requiredLanguageLoaders
public List<net.minecraftforge.forgespi.language.IModFileInfo.LanguageSpec> requiredLanguageLoaders()- Specified by:
requiredLanguageLoaders
in interfacenet.minecraftforge.forgespi.language.IModFileInfo
-
getFileProperties
- Specified by:
getFileProperties
in interfacenet.minecraftforge.forgespi.language.IModFileInfo
-
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
-
getConfig
public net.minecraftforge.forgespi.language.IConfigurable getConfig()- Specified by:
getConfig
in interfacenet.minecraftforge.forgespi.language.IModFileInfo
-
getIssueURL
-
missingLicense
public boolean missingLicense() -
getCodeSigningFingerprint
-
getTrustData
-
moduleName
- Specified by:
moduleName
in interfacenet.minecraftforge.forgespi.language.IModFileInfo
-
versionString
- Specified by:
versionString
in interfacenet.minecraftforge.forgespi.language.IModFileInfo
-
usesServices
- Specified by:
usesServices
in interfacenet.minecraftforge.forgespi.language.IModFileInfo
-