Uses of Interface
net.minecraft.resource.ResourcePack
| Package | Description |
|---|---|
| net.minecraft.client | |
| net.minecraft.client.resource | |
| net.minecraft.client.resource.language | |
| net.minecraft.resource |
Provides resources to Minecraft, including resource access and provision.
|
-
Uses of ResourcePack in net.minecraft.client
Methods in net.minecraft.client that return types with arguments of type ResourcePack Modifier and Type Method Description private static Supplier<ResourcePack>MinecraftClient. createV3ResourcePackFactory(Supplier<ResourcePack> packFactory)private static Supplier<ResourcePack>MinecraftClient. createV4ResourcePackFactory(Supplier<ResourcePack> packFactory)Method parameters in net.minecraft.client with type arguments of type ResourcePack Modifier and Type Method Description private static ResourcePackProfileMinecraftClient. createResourcePackProfile(String name, Text displayName, boolean alwaysEnabled, Supplier<ResourcePack> supplier, PackResourceMetadata metadata, ResourcePackProfile.InsertionPosition insertionPosition, ResourcePackSource source)private static Supplier<ResourcePack>MinecraftClient. createV3ResourcePackFactory(Supplier<ResourcePack> packFactory)private static Supplier<ResourcePack>MinecraftClient. createV4ResourcePackFactory(Supplier<ResourcePack> packFactory) -
Uses of ResourcePack in net.minecraft.client.resource
Classes in net.minecraft.client.resource that implement ResourcePack Modifier and Type Class Description classDefaultClientResourcePackclassFormat3ResourcePackclassFormat4ResourcePackFields in net.minecraft.client.resource declared as ResourcePack Modifier and Type Field Description private ResourcePackFormat3ResourcePack. parentprivate ResourcePackFormat4ResourcePack. parentMethods in net.minecraft.client.resource that return ResourcePack Modifier and Type Method Description private static ResourcePackClientBuiltinResourcePackProvider. getProgrammerArtResourcePackFromZipFile(File zipFile)Method parameters in net.minecraft.client.resource with type arguments of type ResourcePack Modifier and Type Method Description private static @Nullable ResourcePackProfileClientBuiltinResourcePackProvider. getProgrammerArtResourcePackProfile(ResourcePackProfile.Factory factory, Supplier<ResourcePack> packSupplier)Constructors in net.minecraft.client.resource with parameters of type ResourcePack Constructor Description Format3ResourcePack(ResourcePack parent, Map<Identifier,Identifier> idMap)Format4ResourcePack(ResourcePack parent) -
Uses of ResourcePack in net.minecraft.client.resource.language
Method parameters in net.minecraft.client.resource.language with type arguments of type ResourcePack Modifier and Type Method Description private static Map<String,LanguageDefinition>LanguageManager. loadAvailableLanguages(Stream<ResourcePack> packs) -
Uses of ResourcePack in net.minecraft.resource
Classes in net.minecraft.resource that implement ResourcePack Modifier and Type Class Description classAbstractFileResourcePackclassDefaultResourcePackclassDirectoryResourcePackclassZipResourcePackFields in net.minecraft.resource declared as ResourcePack Modifier and Type Field Description private ResourcePackReloadableResourceManagerImpl.PackAdditionFailedException. packFields in net.minecraft.resource with type parameters of type ResourcePack Modifier and Type Field Description private Supplier<ResourcePack>ResourcePackProfile. packFactoryprotected List<ResourcePack>NamespaceResourceManager. packListprivate List<ResourcePack>ReloadableResourceManagerImpl. packsMethods in net.minecraft.resource that return ResourcePack Modifier and Type Method Description ResourcePackResourcePackProfile. createResourcePack()ResourcePackReloadableResourceManagerImpl.PackAdditionFailedException. getPack()Methods in net.minecraft.resource that return types with arguments of type ResourcePack Modifier and Type Method Description private Supplier<ResourcePack>FileResourcePackProvider. createResourcePack(File file)List<ResourcePack>ResourcePackManager. createResourcePacks()Stream<ResourcePack>NamespaceResourceManager. streamResourcePacks()Gets a stream of loaded resource packs in increasing order of priority.Stream<ResourcePack>ReloadableResourceManagerImpl. streamResourcePacks()Gets a stream of loaded resource packs in increasing order of priority.Stream<ResourcePack>ResourceManager.Empty. streamResourcePacks()Gets a stream of loaded resource packs in increasing order of priority.Stream<ResourcePack>ResourceManager. streamResourcePacks()Gets a stream of loaded resource packs in increasing order of priority.Methods in net.minecraft.resource with parameters of type ResourcePack Modifier and Type Method Description voidNamespaceResourceManager. addPack(ResourcePack pack)voidReloadableResourceManagerImpl. addPack(ResourcePack pack)protected InputStreamNamespaceResourceManager. open(Identifier id, ResourcePack pack)Method parameters in net.minecraft.resource with type arguments of type ResourcePack Modifier and Type Method Description @Nullable ResourcePackProfileResourcePackProfile.Factory. create(String name, Text displayName, boolean alwaysEnabled, Supplier<ResourcePack> packFactory, PackResourceMetadata metadata, ResourcePackProfile.InsertionPosition initialPosition, ResourcePackSource source)Creates a proper resource pack profile from the given parameters.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.ResourceReloadReloadableResourceManager. reload(Executor prepareExecutor, Executor applyExecutor, CompletableFuture<Unit> initialStage, List<ResourcePack> packs)Performs a reload.default CompletableFuture<Unit>ReloadableResourceManager. reload(Executor prepareExecutor, Executor applyExecutor, List<ResourcePack> packs, CompletableFuture<Unit> initialStage)Performs a reload.ResourceReloadReloadableResourceManagerImpl. reload(Executor prepareExecutor, Executor applyExecutor, CompletableFuture<Unit> initialStage, List<ResourcePack> packs)Performs a reload.static CompletableFuture<ServerResourceManager>ServerResourceManager. reload(List<ResourcePack> packs, DynamicRegistryManager registryManager, CommandManager.RegistrationEnvironment commandEnvironment, int functionPermissionLevel, Executor prepareExecutor, Executor applyExecutor)Constructors in net.minecraft.resource with parameters of type ResourcePack Constructor Description PackAdditionFailedException(ResourcePack pack, Throwable cause)Constructor parameters in net.minecraft.resource with type arguments of type ResourcePack Constructor Description ResourcePackProfile(String name, boolean alwaysEnabled, Supplier<ResourcePack> packFactory, Text displayName, Text description, ResourcePackCompatibility compatibility, ResourcePackProfile.InsertionPosition direction, boolean pinned, ResourcePackSource source)ResourcePackProfile(String name, Text displayName, boolean alwaysEnabled, Supplier<ResourcePack> packFactory, PackResourceMetadata metadata, ResourceType type, ResourcePackProfile.InsertionPosition direction, ResourcePackSource source)