Uses of Interface
net.minecraft.resource.ResourcePack
Packages that use ResourcePack
Package
Description
Provides resources to Minecraft, including resource access, provision, and reloading.
-
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 TypeClassDescriptionclassclassclassclassclassFields in net.minecraft.resource declared as ResourcePackModifier and TypeFieldDescriptionprivate final ResourcePackOverlayResourcePack.baseprivate 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> OverlayResourcePack.overlaysAndBaseprivate final List<ResourcePack> LifecycledResourceManagerImpl.packsMethods in net.minecraft.resource that return ResourcePackModifier and TypeMethodDescriptionResourcePackProfile.createResourcePack()Resource.getPack()DirectoryResourcePack.DirectoryBackedFactory.open(ResourcePackInfo info) ResourcePackProfile.PackFactory.open(ResourcePackInfo info) ZipResourcePack.ZipBackedFactory.open(ResourcePackInfo info) DirectoryResourcePack.DirectoryBackedFactory.openWithOverlays(ResourcePackInfo info, ResourcePackProfile.Metadata metadata) ResourcePackProfile.PackFactory.openWithOverlays(ResourcePackInfo info, ResourcePackProfile.Metadata metadata) ZipResourcePack.ZipBackedFactory.openWithOverlays(ResourcePackInfo info, 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 id, @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) protected static ResourcePackProfile.PackFactoryVanillaResourcePackProvider.createPackFactory(ResourcePack pack) private static ResourceNamespaceResourceManager.createResource(ResourcePack pack, Identifier id, InputSupplier<InputStream> supplier, InputSupplier<ResourceMetadata> metadataSupplier) 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) OverlayResourcePack(ResourcePack base, List<ResourcePack> overlays) 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) OverlayResourcePack(ResourcePack base, List<ResourcePack> overlays)