Class ModValidator

java.lang.Object
net.minecraftforge.fml.loading.moddiscovery.ModValidator

public class ModValidator extends Object
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • candidatePlugins

      private final List<ModFile> candidatePlugins
    • candidateMods

      private final List<ModFile> candidateMods
    • gameLibraries

      private final List<ModFile> gameLibraries
    • loadingModList

      private LoadingModList loadingModList
    • brokenFiles

      private final List<net.minecraftforge.forgespi.locating.IModFile> brokenFiles
    • discoveryErrorData

      private final List<EarlyLoadingException.ExceptionData> discoveryErrorData
    • modFileLoadingExceptions

      private final List<net.minecraftforge.forgespi.locating.ModFileLoadingException> modFileLoadingExceptions
  • Constructor Details

    • ModValidator

      public ModValidator(Map<net.minecraftforge.forgespi.locating.IModFile.Type,List<ModFile>> modFiles, List<net.minecraftforge.forgespi.language.IModFileInfo> brokenFiles, List<EarlyLoadingException.ExceptionData> discoveryErrorData, List<net.minecraftforge.forgespi.locating.ModFileLoadingException> modFileLoadingExceptions)
    • ModValidator

      public ModValidator(Map<net.minecraftforge.forgespi.locating.IModFile.Type,List<ModFile>> modFiles, List<net.minecraftforge.forgespi.language.IModFileInfo> brokenFiles, List<EarlyLoadingException.ExceptionData> discoveryErrorData)
  • Method Details

    • lst

      private static List<ModFile> lst(List<ModFile> files)
    • stage1Validation

      public void stage1Validation()
    • validateFiles

      @NotNull private @NotNull List<ModFile> validateFiles(List<ModFile> mods)
    • getPluginResources

      public cpw.mods.modlauncher.api.ITransformationService.Resource getPluginResources()
    • getModResources

      public cpw.mods.modlauncher.api.ITransformationService.Resource getModResources()
    • validateLanguages

      private List<EarlyLoadingException.ExceptionData> validateLanguages()
    • stage2Validation

      public BackgroundScanHandler stage2Validation()