Package net.minecraftforge.fml.packs
Class ResourcePackLoader
java.lang.Object
net.minecraftforge.fml.packs.ResourcePackLoader
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
private static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static Map<ModFile,
ModFileResourcePack> private static ResourcePackList
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<ModFileResourcePack>
getResourcePackFor
(String modId) static <V> Comparator<Map.Entry<String,
V>> static void
loadResourcePacks
(ResourcePackList resourcePacks, BiFunction<Map<ModFile, ? extends ModFileResourcePack>, BiConsumer<? super ModFileResourcePack, ResourcePackInfo>, ResourcePackLoader.IPackInfoFinder> packFinder)
-
Field Details
-
modResourcePacks
-
resourcePackList
-
-
Constructor Details
-
ResourcePackLoader
public ResourcePackLoader()
-
-
Method Details
-
getResourcePackFor
-
loadResourcePacks
public static void loadResourcePacks(ResourcePackList resourcePacks, BiFunction<Map<ModFile, ? extends ModFileResourcePack>, BiConsumer<? super ModFileResourcePack, ResourcePackInfo>, ResourcePackLoader.IPackInfoFinder> packFinder) -
getPackNames
-
getSorter
-