Uses of Interface
net.minecraft.server.packs.repository.Pack.ResourcesSupplier
Package
Description
-
Uses of Pack.ResourcesSupplier in net.minecraft.client.resources
Modifier and TypeMethodDescriptionprotected Pack
ClientPackSource.createBuiltinPack
(String p_250992_, Pack.ResourcesSupplier p_250814_, Component p_249835_) -
Uses of Pack.ResourcesSupplier in net.minecraft.server.packs
Modifier and TypeClassDescriptionstatic class
static class
-
Uses of Pack.ResourcesSupplier in net.minecraft.server.packs.repository
Modifier and TypeMethodDescriptionprotected Pack.ResourcesSupplier
FolderRepositorySource.FolderPackDetector.createDirectoryPack
(Path p_295493_) protected Pack.ResourcesSupplier
FolderRepositorySource.FolderPackDetector.createZipPack
(Path p_294522_) static Pack.ResourcesSupplier
BuiltInPackSource.fixedResources
(PackResources p_295971_) static Pack.ResourcesSupplier
BuiltInPackSource.fromName
(Function<String, PackResources> onName) Modifier and TypeMethodDescriptionstatic Pack
Pack.create
(String p_252257_, Component p_248717_, boolean p_248811_, Pack.ResourcesSupplier p_248969_, Pack.Info p_251314_, Pack.Position p_252110_, boolean p_250237_, PackSource p_248524_) protected abstract Pack
BuiltInPackSource.createBuiltinPack
(String p_249992_, Pack.ResourcesSupplier p_248670_, Component p_252197_) protected Pack
ServerPacksSource.createBuiltinPack
(String p_250596_, Pack.ResourcesSupplier p_249625_, Component p_249043_) static Pack
Pack.readMetaAndCreate
(String p_249649_, Component p_248632_, boolean p_251594_, Pack.ResourcesSupplier p_252210_, PackType p_250595_, Pack.Position p_248706_, PackSource p_251233_) static Pack.Info
Pack.readPackInfo
(String p_250591_, Pack.ResourcesSupplier p_250739_, int p_294759_) Modifier and TypeMethodDescriptionstatic void
FolderRepositorySource.discoverPacks
(Path p_248794_, DirectoryValidator p_294483_, boolean p_255987_, BiConsumer<Path, Pack.ResourcesSupplier> p_248580_) ModifierConstructorDescriptionprivate
Pack
(String p_252218_, boolean p_248829_, Pack.ResourcesSupplier p_249377_, Component p_251718_, Pack.Info p_250162_, Pack.Position p_251298_, boolean p_249753_, PackSource p_251608_) private
Pack
(String p_252218_, boolean p_248829_, Pack.ResourcesSupplier p_249377_, Component p_251718_, Pack.Info p_250162_, Pack.Position p_251298_, boolean p_249753_, PackSource p_251608_, List<Pack> children) -
Uses of Pack.ResourcesSupplier in net.neoforged.neoforge.resource
Modifier and TypeFieldDescriptionprivate static Map<net.neoforged.neoforgespi.locating.IModFile,
Pack.ResourcesSupplier> ResourcePackLoader.modResourcePacks
Modifier and TypeMethodDescriptionstatic Pack.ResourcesSupplier
ResourcePackLoader.createPackForMod
(net.neoforged.neoforgespi.language.IModFileInfo mf) Modifier and TypeMethodDescriptionstatic Optional<Pack.ResourcesSupplier>
ResourcePackLoader.getPackFor
(String modId) Modifier and TypeMethodDescriptionprivate static Pack.Info
ResourcePackLoader.readInfo
(PackType type, Pack.ResourcesSupplier resources, String id, Component title) static Pack
ResourcePackLoader.readWithOptionalMeta
(String id, Component title, boolean required, Pack.ResourcesSupplier resources, PackType type, Pack.Position position, PackSource source) Modifier and TypeMethodDescriptionstatic RepositorySource
ResourcePackLoader.buildPackFinder
(Map<net.neoforged.neoforgespi.locating.IModFile, Pack.ResourcesSupplier> modResourcePacks, PackType packType) static void
ResourcePackLoader.loadResourcePacks
(PackRepository resourcePacks, Function<Map<net.neoforged.neoforgespi.locating.IModFile, Pack.ResourcesSupplier>, RepositorySource> packFinder) private static void
ResourcePackLoader.packFinder
(Map<net.neoforged.neoforgespi.locating.IModFile, Pack.ResourcesSupplier> modResourcePacks, Consumer<Pack> packAcceptor, PackType packType)