Package net.minecraftforge.resource
Class ResourcePackLoader
java.lang.Object
net.minecraftforge.resource.ResourcePackLoader
-
Field Summary
Modifier and TypeFieldDescriptionprivate static Map<net.minecraftforge.forgespi.locating.IModFile,
PathResourcePack> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull PathResourcePack
createPackForMod
(net.minecraftforge.forgespi.language.IModFileInfo mf) static Optional<PathResourcePack>
getPackFor
(String modId) static <V> Comparator<Map.Entry<String,
V>> static void
loadResourcePacks
(PackRepository resourcePacks, BiFunction<Map<net.minecraftforge.forgespi.locating.IModFile, ? extends PathResourcePack>, BiConsumer<? super PathResourcePack, Pack>, ? extends RepositorySource> packFinder) Deprecated.static void
loadResourcePacks
(PackRepository resourcePacks, Function<Map<net.minecraftforge.forgespi.locating.IModFile, ? extends PathResourcePack>, ? extends RepositorySource> packFinder)
-
Field Details
-
modResourcePacks
-
-
Constructor Details
-
ResourcePackLoader
public ResourcePackLoader()
-
-
Method Details
-
getPackFor
-
loadResourcePacks
@Deprecated public static void loadResourcePacks(PackRepository resourcePacks, BiFunction<Map<net.minecraftforge.forgespi.locating.IModFile, ? extends PathResourcePack>, BiConsumer<? super PathResourcePack, Pack>, ? extends RepositorySource> packFinder) Deprecated. -
loadResourcePacks
public static void loadResourcePacks(PackRepository resourcePacks, Function<Map<net.minecraftforge.forgespi.locating.IModFile, ? extends PathResourcePack>, ? extends RepositorySource> packFinder) -
createPackForMod
@NotNull public static @NotNull PathResourcePack createPackForMod(net.minecraftforge.forgespi.language.IModFileInfo mf) -
getPackNames
-
getSorter
-