Modifier and Type | Method and Description |
---|---|
private ModContainer |
ModLoader.buildModContainerFromTOML(ModFile modFile,
cpw.mods.modlauncher.TransformingClassLoader modClassLoader,
java.util.Map<java.lang.String,net.minecraftforge.forgespi.language.IModInfo> modInfoMap,
java.util.Map.Entry<java.lang.String,? extends net.minecraftforge.forgespi.language.IModLanguageProvider.IModLanguageLoader> idToProviderEntry) |
private java.util.List<ModContainer> |
ModLoader.buildMods(ModFile modFile,
cpw.mods.modlauncher.TransformingClassLoader modClassLoader) |
private java.lang.String |
ModList.fileToLine(ModFile mf) |
Modifier and Type | Method and Description |
---|---|
<T> java.util.stream.Stream<T> |
ModList.applyForEachModFile(java.util.function.Function<ModFile,T> function) |
void |
ModList.forEachModFile(java.util.function.Consumer<ModFile> fileConsumer) |
static ModList |
ModList.of(java.util.List<ModFile> modFiles,
java.util.List<ModInfo> sortedList) |
Constructor and Description |
---|
ModList(java.util.List<ModFile> modFiles,
java.util.List<ModInfo> sortedList) |
Modifier and Type | Method and Description |
---|---|
private static <T extends ResourcePackInfo> |
ClientModLoader.buildPackFinder(java.util.Map<ModFile,? extends ModFileResourcePack> modResourcePacks,
java.util.function.BiConsumer<? super ModFileResourcePack,? super T> packSetter) |
private static <T extends ResourcePackInfo> |
ClientModLoader.clientPackFinder(java.util.Map<ModFile,? extends ModFileResourcePack> modResourcePacks,
java.util.function.BiConsumer<? super ModFileResourcePack,? super T> packSetter,
java.util.Map<java.lang.String,T> packList,
ResourcePackInfo.IFactory<? extends T> factory) |
Modifier and Type | Field and Description |
---|---|
private java.util.List<ModFile> |
LoadingModList.brokenFiles |
private java.util.List<ModFile> |
ModSorter.modFiles |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<net.minecraftforge.forgespi.locating.IModFile.Type,java.util.List<ModFile>> |
FMLLoader.beginModScan(java.util.Map<java.lang.String,?> arguments) |
java.util.List<ModFile> |
LoadingModList.getBrokenFiles() |
Modifier and Type | Method and Description |
---|---|
static void |
FMLLoader.addAccessTransformer(java.nio.file.Path atPath,
ModFile modName) |
net.minecraftforge.forgespi.language.IModLanguageProvider |
LanguageLoadingProvider.findLanguage(ModFile mf,
java.lang.String modLoader,
org.apache.maven.artifact.versioning.VersionRange modLoaderVersion) |
private static org.apache.commons.lang3.text.StrLookup<java.lang.String> |
StringSubstitutor.getStringLookup(ModFile file) |
static java.lang.String |
StringSubstitutor.replace(java.lang.String in,
ModFile file) |
Modifier and Type | Method and Description |
---|---|
void |
LanguageLoadingProvider.addAdditionalLanguages(java.util.List<ModFile> modFiles) |
(package private) void |
FMLCommonLaunchHandler.addLibraries(java.util.List<ModFile> libraries) |
static LoadingModList |
LoadingModList.of(java.util.List<ModFile> modFiles,
java.util.List<ModInfo> sortedList,
EarlyLoadingException earlyLoadingException) |
void |
LoadingModList.setBrokenFiles(java.util.List<ModFile> brokenFiles) |
static LoadingModList |
ModSorter.sort(java.util.List<ModFile> mods) |
Constructor and Description |
---|
LoadingModList(java.util.List<ModFile> modFiles,
java.util.List<ModInfo> sortedList) |
ModSorter(java.util.List<ModFile> modFiles) |
Modifier and Type | Field and Description |
---|---|
private ModFile |
CoreModFile.file |
private ModFile |
Scanner.fileToScan |
private ModFile |
ModFileInfo.modFile |
Modifier and Type | Field and Description |
---|---|
private java.util.List<ModFile> |
BackgroundScanHandler.allFiles |
private java.util.Map<net.minecraftforge.forgespi.locating.IModFile.Type,java.util.List<ModFile>> |
BackgroundScanHandler.modFiles |
private java.util.List<ModFile> |
BackgroundScanHandler.pendingFiles |
private java.util.List<ModFile> |
BackgroundScanHandler.scannedFiles |
Modifier and Type | Method and Description |
---|---|
ModFile |
ModFileInfo.getFile() |
static ModFile |
ModFile.newFMLInstance(java.nio.file.Path path,
net.minecraftforge.forgespi.locating.IModLocator locator) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<net.minecraftforge.forgespi.locating.IModFile.Type,java.util.List<ModFile>> |
BackgroundScanHandler.getModFiles() |
Modifier and Type | Method and Description |
---|---|
private void |
BackgroundScanHandler.addCompletedFile(ModFile file,
net.minecraftforge.forgespi.language.ModFileScanData modFileScanData,
java.lang.Throwable throwable) |
protected static java.util.List<CoreModFile> |
ModFileParser.getCoreMods(ModFile modFile) |
static net.minecraftforge.forgespi.language.IModFileInfo |
ModFileParser.readModList(ModFile modFile,
net.minecraftforge.forgespi.locating.ModFileFactory.ModFileInfoParser parser) |
void |
BackgroundScanHandler.submitForScanning(ModFile file) |
Constructor and Description |
---|
CoreModFile(java.lang.String name,
java.nio.file.Path path,
ModFile file) |
ModFileInfo(ModFile modFile,
net.minecraftforge.forgespi.language.IConfigurable config) |
Scanner(ModFile fileToScan) |
Constructor and Description |
---|
BackgroundScanHandler(java.util.Map<net.minecraftforge.forgespi.locating.IModFile.Type,java.util.List<ModFile>> modFiles) |
Modifier and Type | Field and Description |
---|---|
private ModFile |
ModFileResourcePack.modFile |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<ModFile,ModFileResourcePack> |
ResourcePackLoader.modResourcePacks |
Modifier and Type | Method and Description |
---|---|
ModFile |
ModFileResourcePack.getModFile() |
Modifier and Type | Method and Description |
---|---|
static <T extends ResourcePackInfo> |
ResourcePackLoader.loadResourcePacks(ResourcePackList<T> resourcePacks,
java.util.function.BiFunction<java.util.Map<ModFile,? extends ModFileResourcePack>,java.util.function.BiConsumer<? super ModFileResourcePack,T>,ResourcePackLoader.IPackInfoFinder> packFinder) |
Constructor and Description |
---|
ModFileResourcePack(ModFile modFile) |
Modifier and Type | Method and Description |
---|---|
private static <T extends ResourcePackInfo> |
ServerLifecycleHooks.buildPackFinder(java.util.Map<ModFile,? extends ModFileResourcePack> modResourcePacks,
java.util.function.BiConsumer<? super ModFileResourcePack,? super T> packSetter) |
private static <T extends ResourcePackInfo> |
ServerLifecycleHooks.serverPackFinder(java.util.Map<ModFile,? extends ModFileResourcePack> modResourcePacks,
java.util.function.BiConsumer<? super ModFileResourcePack,? super T> packSetter,
java.util.Map<java.lang.String,T> packList,
ResourcePackInfo.IFactory<? extends T> factory) |