Class MinecraftModLanguageProvider

java.lang.Object
net.neoforged.fml.loading.BuiltInLanguageLoader
net.neoforged.fml.mclanguageprovider.MinecraftModLanguageProvider
All Implemented Interfaces:
IModLanguageLoader

public class MinecraftModLanguageProvider extends BuiltInLanguageLoader
  • Constructor Details

    • MinecraftModLanguageProvider

      public MinecraftModLanguageProvider()
  • Method Details

    • name

      public String 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

      public ModContainer loadMod(IModInfo info, ModFileScanData modFileScanResults, ModuleLayer layer)
      Description copied from interface: IModLanguageLoader
      Load and build a container from the given mod information.
      Parameters:
      info - the mod information
      modFileScanResults - the mod scan data
      layer - the module layer of the mod
      Returns:
      the built mod container