Uses of Interface
net.minecraft.resource.ResourcePackProfile.Factory
Package | Description |
---|---|
net.minecraft.client.resource | |
net.minecraft.resource |
Provides resources to Minecraft, including resource access and provision.
|
-
Uses of ResourcePackProfile.Factory in net.minecraft.client.resource
Methods in net.minecraft.client.resource with parameters of type ResourcePackProfile.Factory Modifier and Type Method Description private @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
Fields in net.minecraft.resource declared as ResourcePackProfile.Factory Modifier and Type Field Description private ResourcePackProfile.Factory
ResourcePackManager. profileFactory
Methods in net.minecraft.resource with parameters of type ResourcePackProfile.Factory Modifier and Type Method Description static @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
.Constructors in net.minecraft.resource with parameters of type ResourcePackProfile.Factory Constructor Description ResourcePackManager(ResourcePackProfile.Factory profileFactory, ResourcePackProvider[] providers)