Uses of Interface
net.minecraft.resource.ResourcePackProfile.PackFactory
Package
Description
Provides resources to Minecraft, including resource access, provision, and reloading.
-
Uses of ResourcePackProfile.PackFactory in net.minecraft.client.resource
Modifier and TypeMethodDescriptionprotected @Nullable ResourcePackProfile
DefaultClientResourcePackProvider.create
(String name, ResourcePackProfile.PackFactory packFactory, Text displayName) -
Uses of ResourcePackProfile.PackFactory in net.minecraft.resource
Modifier and TypeClassDescriptionstatic class
static class
Modifier and TypeFieldDescriptionprivate final ResourcePackProfile.PackFactory
ResourcePackProfile.packFactory
Modifier and TypeMethodDescriptionprotected static ResourcePackProfile.PackFactory
VanillaResourcePackProvider.createPackFactory
(ResourcePack pack) protected ResourcePackProfile.PackFactory
FileResourcePackProvider.PackOpenerImpl.openDirectory
(Path path) protected ResourcePackProfile.PackFactory
Modifier and TypeMethodDescriptionstatic @Nullable ResourcePackProfile
ResourcePackProfile.create
(String name, Text displayName, boolean alwaysEnabled, ResourcePackProfile.PackFactory packFactory, ResourceType type, ResourcePackProfile.InsertionPosition position, ResourcePackSource source) protected @Nullable ResourcePackProfile
VanillaDataPackProvider.create
(String name, ResourcePackProfile.PackFactory packFactory, Text displayName) protected abstract @Nullable ResourcePackProfile
VanillaResourcePackProvider.create
(String name, ResourcePackProfile.PackFactory packFactory, Text displayName) static @Nullable ResourcePackProfile.Metadata
ResourcePackProfile.loadMetadata
(String name, ResourcePackProfile.PackFactory packFactory, int currentPackFormat) static ResourcePackProfile
ResourcePackProfile.of
(String name, Text displayName, boolean alwaysEnabled, ResourcePackProfile.PackFactory packFactory, ResourcePackProfile.Metadata metadata, ResourcePackProfile.InsertionPosition position, boolean pinned, ResourcePackSource source) Creates a resource pack profile from the given parameters.Modifier and TypeMethodDescriptionstatic void
FileResourcePackProvider.forEachProfile
(Path path, SymlinkFinder symlinkFinder, boolean alwaysStable, BiConsumer<Path, ResourcePackProfile.PackFactory> consumer) ModifierConstructorDescriptionprivate
ResourcePackProfile
(String name, boolean alwaysEnabled, ResourcePackProfile.PackFactory packFactory, Text displayName, ResourcePackProfile.Metadata metadata, ResourcePackProfile.InsertionPosition position, boolean pinned, ResourcePackSource source)