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
Methods in net.minecraft with parameters of type ResourcePackModifier and TypeMethodDescriptionprotected abstract @Nullable ResourcePackProfileclass_7678.method_45257(ResourcePack resourcePack) -
Uses of ResourcePack in net.minecraft.client.resource
Methods in net.minecraft.client.resource with parameters of type ResourcePackModifier and TypeMethodDescriptionprotected @Nullable ResourcePackProfileDefaultClientResourcePack.method_45257(ResourcePack resourcePack) 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.resource
Classes in net.minecraft.resource that implement ResourcePackModifier and TypeClassDescriptionclassclassclassclassFields in net.minecraft.resource declared as ResourcePackModifier and TypeFieldDescriptionprivate final ResourcePackResource.field_40054private final ResourcePackNamespaceResourceManager.class_7682.sourceThe field for thesourcerecord 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.method_45304()NamespaceResourceManager.class_7682.source()Returns the value of thesourcerecord 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.method_45257(ResourcePack resourcePack) private static InputSupplier<InputStream>NamespaceResourceManager.method_45288(Identifier identifier, ResourcePack resourcePack, InputSupplier<InputStream> inputSupplier) private static ResourceNamespaceResourceManager.method_45290(ResourcePack resourcePack, Identifier identifier, InputSupplier<InputStream> inputSupplier, InputSupplier<ResourceMetadata> inputSupplier2) private @Nullable ResourceFilterLifecycledResourceManagerImpl.parseResourceFilter(ResourcePack pack) 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)class_7682(ResourcePack resourcePack, InputSupplier<InputStream> inputSupplier) (package private)FilterablePack(String string, @Nullable ResourcePack resourcePack, @Nullable Predicate<Identifier> predicate) Resource(ResourcePack resourcePack, InputSupplier<InputStream> inputSupplier) Resource(ResourcePack resourcePack, InputSupplier<InputStream> inputSupplier, InputSupplier<ResourceMetadata> metadataSupplier) Constructor parameters in net.minecraft.resource with type arguments of type ResourcePackModifierConstructorDescriptionprivateEntryList(Identifier identifier, Identifier identifier2, List<NamespaceResourceManager.class_7682> list, Map<ResourcePack, InputSupplier<InputStream>> map) LifecycledResourceManagerImpl(ResourceType type, List<ResourcePack> packs)