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 TypeFieldDescriptionprivate final ResourcePackProfile.PackFactory
ResourcePackProfile.packFactory
Modifier and TypeMethodDescriptionFileResourcePackProvider.getFactory
(Path path, boolean alwaysStable) 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) ResourcePackProfile.loadMetadata
(String name, ResourcePackProfile.PackFactory packFactory) static ResourcePackProfile
ResourcePackProfile.of
(String name, Text displayName, boolean alwaysEnabled, ResourcePackProfile.PackFactory packFactory, ResourcePackProfile.Metadata metadata, ResourceType type, ResourcePackProfile.InsertionPosition position, boolean pinned, ResourcePackSource source) Creates a resource pack profile from the given parameters.Modifier and TypeMethodDescriptionstatic void
FileResourcePackProvider.forEachProfile
(Path packsDir, boolean alwaysStable, BiConsumer<Path, ResourcePackProfile.PackFactory> consumer) ModifierConstructorDescriptionprivate
ResourcePackProfile
(String name, boolean alwaysEnabled, ResourcePackProfile.PackFactory packFactory, Text displayName, ResourcePackProfile.Metadata metadata, ResourcePackCompatibility compatibility, ResourcePackProfile.InsertionPosition position, boolean pinned, ResourcePackSource source)