Package net.minecraftforge.fml.loading
Class LoadingModList
java.lang.Object
net.minecraftforge.fml.loading.LoadingModList
Master list of all mods in the loading context. This class cannot refer outside the
loading package
-
Field Summary
Modifier and TypeFieldDescriptionprivate List<net.minecraftforge.forgespi.locating.IModFile>
private final Map<String,
ModFileInfo> private static LoadingModList
private final List<ModFileInfo>
private final List<EarlyLoadingException>
-
Constructor Summary
ModifierConstructorDescriptionprivate
LoadingModList
(List<ModFile> modFiles, List<ModInfo> sortedList) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
addForScanning
(BackgroundScanHandler backgroundScanHandler) findAllURLsForResource
(String resName) findResource
(String className) static LoadingModList
get()
List<net.minecraftforge.forgespi.locating.IModFile>
getModFileById
(String modid) getMods()
static LoadingModList
void
setBrokenFiles
(List<net.minecraftforge.forgespi.locating.IModFile> brokenFiles)
-
Field Details
-
INSTANCE
-
modFiles
-
sortedList
-
fileById
-
preLoadErrors
-
brokenFiles
-
-
Constructor Details
-
LoadingModList
-
-
Method Details
-
of
public static LoadingModList of(List<ModFile> modFiles, List<ModInfo> sortedList, EarlyLoadingException earlyLoadingException) -
get
-
addCoreMods
public void addCoreMods() -
addAccessTransformers
public void addAccessTransformers() -
addForScanning
-
getModFiles
-
findResource
-
findAllURLsForResource
-
getModFileById
-
getMods
-
getErrors
-
setBrokenFiles
-
getBrokenFiles
-