类 ResourcePackLoader
java.lang.Object
net.minecraftforge.resource.ResourcePackLoader
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static @NotNull PathPackResources
createPackForMod
(net.minecraftforge.forgespi.language.IModFileInfo mf) static Optional<PathPackResources>
getPackFor
(String modId) static <V> Comparator<Map.Entry<String,
V>> static void
loadResourcePacks
(PackRepository resourcePacks, BiFunction<Map<net.minecraftforge.forgespi.locating.IModFile, ? extends PathPackResources>, BiConsumer<? super PathPackResources, Pack>, ? extends RepositorySource> packFinder) 已过时。static void
loadResourcePacks
(PackRepository resourcePacks, Function<Map<net.minecraftforge.forgespi.locating.IModFile, ? extends PathPackResources>, ? extends RepositorySource> packFinder)
-
字段详细资料
-
modResourcePacks
private static Map<net.minecraftforge.forgespi.locating.IModFile,PathPackResources> modResourcePacks
-
-
构造器详细资料
-
ResourcePackLoader
public ResourcePackLoader()
-
-
方法详细资料
-
getPackFor
-
loadResourcePacks
@Deprecated public static void loadResourcePacks(PackRepository resourcePacks, BiFunction<Map<net.minecraftforge.forgespi.locating.IModFile, ? extends PathPackResources>, BiConsumer<? super PathPackResources, Pack>, ? extends RepositorySource> packFinder) 已过时。 -
loadResourcePacks
public static void loadResourcePacks(PackRepository resourcePacks, Function<Map<net.minecraftforge.forgespi.locating.IModFile, ? extends PathPackResources>, ? extends RepositorySource> packFinder) -
createPackForMod
@NotNull public static @NotNull PathPackResources createPackForMod(net.minecraftforge.forgespi.language.IModFileInfo mf) -
getPackNames
-
getSorter
-