Uses of Interface
net.minecraft.resource.ResourcePackProfile.Factory
Package
Description
Provides resources to Minecraft, including resource access, provision, and reloading.
-
Uses of ResourcePackProfile.Factory in net.minecraft.client.resource
Modifier and TypeMethodDescriptionprivate @Nullable ResourcePackProfile
ClientBuiltinResourcePackProvider.getProgrammerArtResourcePackProfile
(ResourcePackProfile.Factory factory) private static @Nullable ResourcePackProfile
ClientBuiltinResourcePackProvider.getProgrammerArtResourcePackProfile
(ResourcePackProfile.Factory factory, Supplier<ResourcePack> packSupplier) void
ClientBuiltinResourcePackProvider.register
(Consumer<ResourcePackProfile> profileAdder, ResourcePackProfile.Factory factory) Register resource pack profiles created with thefactory
to theprofileAdder
. -
Uses of ResourcePackProfile.Factory in net.minecraft.resource
Modifier and TypeFieldDescriptionprivate final ResourcePackProfile.Factory
ResourcePackManager.profileFactory
Modifier and TypeMethodDescriptionstatic @Nullable ResourcePackProfile
ResourcePackProfile.of
(String name, boolean alwaysEnabled, Supplier<ResourcePack> packFactory, ResourcePackProfile.Factory profileFactory, ResourcePackProfile.InsertionPosition insertionPosition, ResourcePackSource packSource) Creates a resource pack profile from the given parameters.void
FileResourcePackProvider.register
(Consumer<ResourcePackProfile> profileAdder, ResourcePackProfile.Factory factory) Register resource pack profiles created with thefactory
to theprofileAdder
.void
ResourcePackProvider.register
(Consumer<ResourcePackProfile> profileAdder, ResourcePackProfile.Factory factory) Register resource pack profiles created with thefactory
to theprofileAdder
.void
VanillaDataPackProvider.register
(Consumer<ResourcePackProfile> profileAdder, ResourcePackProfile.Factory factory) Register resource pack profiles created with thefactory
to theprofileAdder
.ModifierConstructorDescriptionResourcePackManager
(ResourcePackProfile.Factory profileFactory, ResourcePackProvider[] providers)