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 ResourcePackProfileClientBuiltinResourcePackProvider. getProgrammerArtResourcePackProfile(ResourcePackProfile.Factory factory)private static @Nullable ResourcePackProfileClientBuiltinResourcePackProvider. getProgrammerArtResourcePackProfile(ResourcePackProfile.Factory factory, Supplier<ResourcePack> packSupplier)voidClientBuiltinResourcePackProvider. register(Consumer<ResourcePackProfile> profileAdder, ResourcePackProfile.Factory factory)Register resource pack profiles created with thefactoryto 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.FactoryResourcePackManager. profileFactoryMethods in net.minecraft.resource with parameters of type ResourcePackProfile.Factory Modifier and Type Method Description static @Nullable ResourcePackProfileResourcePackProfile. 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.voidFileResourcePackProvider. register(Consumer<ResourcePackProfile> profileAdder, ResourcePackProfile.Factory factory)Register resource pack profiles created with thefactoryto theprofileAdder.voidResourcePackProvider. register(Consumer<ResourcePackProfile> profileAdder, ResourcePackProfile.Factory factory)Register resource pack profiles created with thefactoryto theprofileAdder.voidVanillaDataPackProvider. register(Consumer<ResourcePackProfile> profileAdder, ResourcePackProfile.Factory factory)Register resource pack profiles created with thefactoryto theprofileAdder.Constructors in net.minecraft.resource with parameters of type ResourcePackProfile.Factory Constructor Description ResourcePackManager(ResourcePackProfile.Factory profileFactory, ResourcePackProvider[] providers)