Class LanguageLoadingProvider

java.lang.Object
net.minecraftforge.fml.loading.LanguageLoadingProvider

public class LanguageLoadingProvider extends Object
  • Field Details

  • Constructor Details

    • LanguageLoadingProvider

      LanguageLoadingProvider()
  • Method Details

    • forEach

      public void forEach(Consumer<net.minecraftforge.forgespi.language.IModLanguageProvider> consumer)
    • applyForEach

      public <T> Stream<T> applyForEach(Function<net.minecraftforge.forgespi.language.IModLanguageProvider,T> function)
    • loadLanguageProviders

      private void loadLanguageProviders()
    • addForgeLanguage

      void addForgeLanguage(Path forgePath)
    • addLanguagePaths

      private void addLanguagePaths(Stream<Path> langPaths)
    • addAdditionalLanguages

      public void addAdditionalLanguages(List<ModFile> modFiles)
    • getLibraries

      Stream<Path> getLibraries()
    • findLanguage

      public net.minecraftforge.forgespi.language.IModLanguageProvider findLanguage(ModFile mf, String modLoader, org.apache.maven.artifact.versioning.VersionRange modLoaderVersion)