Class MinecraftModLanguageProvider
java.lang.Object
net.neoforged.fml.loading.BuiltInLanguageLoader
net.neoforged.fml.mclanguageprovider.MinecraftModLanguageProvider
- All Implemented Interfaces:
IModLanguageLoader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionloadMod
(IModInfo info, ModFileScanData modFileScanResults, ModuleLayer layer) Load and build a container from the given mod information.name()
Returns the name of this loader, used to decide what loader should load a mod.Methods inherited from class net.neoforged.fml.loading.BuiltInLanguageLoader
version
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.neoforged.neoforgespi.language.IModLanguageLoader
validate
-
Constructor Details
-
MinecraftModLanguageProvider
public MinecraftModLanguageProvider()
-
-
Method Details
-
name
Description copied from interface:IModLanguageLoader
Returns the name of this loader, used to decide what loader should load a mod.- Returns:
- the name of this loader, used to decide what loader should load a mod
-
loadMod
Description copied from interface:IModLanguageLoader
Load and build a container from the given mod information.- Parameters:
info
- the mod informationmodFileScanResults
- the mod scan datalayer
- the module layer of the mod- Returns:
- the built mod container
-