Uses of Interface
net.minecraft.resource.ResourcePack
Packages that use ResourcePack
Package
Description
The base package for all Minecraft classes.
Provides resources to Minecraft, including resource access, provision, and reloading.
-
Uses of ResourcePack in net.minecraft
Classes in net.minecraft that implement ResourcePackFields in net.minecraft declared as ResourcePackFields in net.minecraft with type parameters of type ResourcePackConstructors in net.minecraft with parameters of type ResourcePackConstructor parameters in net.minecraft with type arguments of type ResourcePack -
Uses of ResourcePack in net.minecraft.client.resource
Methods in net.minecraft.client.resource with parameters of type ResourcePackModifier and TypeMethodDescriptionprotected @Nullable ResourcePackProfileDefaultClientResourcePackProvider.createDefault(ResourcePack pack) Method parameters in net.minecraft.client.resource with type arguments of type ResourcePackModifier and TypeMethodDescriptionvoidResourceReloadLogger.reload(ResourceReloadLogger.ReloadReason reason, List<ResourcePack> packs) -
Uses of ResourcePack in net.minecraft.client.resource.language
Method parameters in net.minecraft.client.resource.language with type arguments of type ResourcePackModifier and TypeMethodDescriptionprivate static Map<String,LanguageDefinition> LanguageManager.loadAvailableLanguages(Stream<ResourcePack> packs) -
Uses of ResourcePack in net.minecraft.client.util
Methods in net.minecraft.client.util with parameters of type ResourcePackModifier and TypeMethodDescriptionprivate InputSupplier<InputStream>Icons.getIcon(ResourcePack resourcePack, String fileName) Icons.getIcons(ResourcePack resourcePack) Icons.getMacIcon(ResourcePack resourcePack) voidWindow.setIcon(ResourcePack resourcePack, Icons icons) -
Uses of ResourcePack in net.minecraft.resource
Classes in net.minecraft.resource that implement ResourcePackModifier and TypeClassDescriptionclassclassclassclassFields in net.minecraft.resource declared as ResourcePackModifier and TypeFieldDescriptionprivate final ResourcePackResource.packprivate final ResourcePackNamespaceResourceManager.FileSource.sourcePackThe field for thesourcePackrecord component.private final @Nullable ResourcePackNamespaceResourceManager.FilterablePack.underlyingThe field for theunderlyingrecord component.Fields in net.minecraft.resource with type parameters of type ResourcePackModifier and TypeFieldDescriptionprivate final Map<ResourcePack,InputSupplier<InputStream>> NamespaceResourceManager.EntryList.metaSourcesThe field for themetaSourcesrecord component.private final List<ResourcePack>LifecycledResourceManagerImpl.packsMethods in net.minecraft.resource that return ResourcePackModifier and TypeMethodDescriptionResourcePackProfile.createResourcePack()Resource.getPack()DirectoryResourcePack.class_8619.method_52425(String string, ResourcePackProfile.Metadata metadata) ResourcePackProfile.PackFactory.method_52425(String string, ResourcePackProfile.Metadata metadata) ZipResourcePack.class_8615.method_52425(String string, ResourcePackProfile.Metadata metadata) NamespaceResourceManager.FileSource.sourcePack()Returns the value of thesourcePackrecord component.NamespaceResourceManager.FilterablePack.underlying()Returns the value of theunderlyingrecord component.Methods in net.minecraft.resource that return types with arguments of type ResourcePackModifier and TypeMethodDescriptionResourcePackManager.createResourcePacks()NamespaceResourceManager.EntryList.metaSources()Returns the value of themetaSourcesrecord component.LifecycledResourceManagerImpl.streamResourcePacks()Gets a stream of loaded resource packs in increasing order of priority.NamespaceResourceManager.streamResourcePacks()Gets a stream of loaded resource packs in increasing order of priority.ReloadableResourceManagerImpl.streamResourcePacks()Gets a stream of loaded resource packs in increasing order of priority.ResourceManager.Empty.streamResourcePacks()Gets a stream of loaded resource packs in increasing order of priority.ResourceManager.streamResourcePacks()Gets a stream of loaded resource packs in increasing order of priority.Methods in net.minecraft.resource with parameters of type ResourcePackModifier and TypeMethodDescriptionprivate voidNamespaceResourceManager.addPack(String name, @Nullable ResourcePack underlyingPack, @Nullable Predicate<Identifier> filter) voidNamespaceResourceManager.addPack(ResourcePack pack) voidNamespaceResourceManager.addPack(ResourcePack pack, Predicate<Identifier> filter) protected @Nullable ResourcePackProfileVanillaDataPackProvider.createDefault(ResourcePack pack) protected abstract @Nullable ResourcePackProfileVanillaResourcePackProvider.createDefault(ResourcePack pack) private static ResourceNamespaceResourceManager.createResource(ResourcePack pack, Identifier id, InputSupplier<InputStream> supplier, InputSupplier<ResourceMetadata> metadataSupplier) protected static ResourcePackProfile.PackFactoryVanillaResourcePackProvider.method_52435(ResourcePack resourcePack) private @Nullable ResourceFilterLifecycledResourceManagerImpl.parseResourceFilter(ResourcePack pack) private static InputSupplier<InputStream>NamespaceResourceManager.wrapForDebug(Identifier id, ResourcePack pack, InputSupplier<InputStream> supplier) Method parameters in net.minecraft.resource with type arguments of type ResourcePackModifier and TypeMethodDescriptionReloadableResourceManagerImpl.reload(Executor prepareExecutor, Executor applyExecutor, CompletableFuture<Unit> initialStage, List<ResourcePack> packs) Swaps the active resource manager with another one backed by the givenpacksand start a reload.Constructors in net.minecraft.resource with parameters of type ResourcePackModifierConstructorDescription(package private)FileSource(ResourcePack resourcePack, InputSupplier<InputStream> inputSupplier) (package private)FilterablePack(String string, @Nullable ResourcePack resourcePack, @Nullable Predicate<Identifier> predicate) Resource(ResourcePack pack, InputSupplier<InputStream> inputSupplier) Resource(ResourcePack pack, InputSupplier<InputStream> inputSupplier, InputSupplier<ResourceMetadata> metadataSupplier) Constructor parameters in net.minecraft.resource with type arguments of type ResourcePackModifierConstructorDescriptionprivateEntryList(Identifier identifier, Identifier identifier2, List<NamespaceResourceManager.FileSource> list, Map<ResourcePack, InputSupplier<InputStream>> map) LifecycledResourceManagerImpl(ResourceType type, List<ResourcePack> packs)