Uses of Interface
net.minecraft.resource.ResourcePack
Package
Description
Provides resources to Minecraft, including resource access, provision, and reloading.
-
Uses of ResourcePack in net.minecraft.client.resource
Modifier and TypeMethodDescriptionprotected @Nullable ResourcePackProfile
DefaultClientResourcePackProvider.createDefault
(ResourcePack pack) Modifier and TypeMethodDescriptionvoid
ResourceReloadLogger.reload
(ResourceReloadLogger.ReloadReason reason, List<ResourcePack> packs) -
Uses of ResourcePack in net.minecraft.client.resource.language
Modifier and TypeMethodDescriptionprivate static Map
<String, LanguageDefinition> LanguageManager.loadAvailableLanguages
(Stream<ResourcePack> packs) -
Uses of ResourcePack in net.minecraft.client.util
Modifier and TypeMethodDescriptionprivate InputSupplier
<InputStream> Icons.getIcon
(ResourcePack resourcePack, String fileName) Icons.getIcons
(ResourcePack resourcePack) Icons.getMacIcon
(ResourcePack resourcePack) void
Window.setIcon
(ResourcePack resourcePack, Icons icons) -
Uses of ResourcePack in net.minecraft.resource
Modifier and TypeClassDescriptionclass
class
class
class
class
Modifier and TypeFieldDescriptionprivate final ResourcePack
OverlayResourcePack.base
private final ResourcePack
Resource.pack
private final ResourcePack
NamespaceResourceManager.FileSource.sourcePack
The field for thesourcePack
record component.private final @Nullable ResourcePack
NamespaceResourceManager.FilterablePack.underlying
The field for theunderlying
record component.Modifier and TypeFieldDescriptionprivate final Map
<ResourcePack, InputSupplier<InputStream>> NamespaceResourceManager.EntryList.metaSources
The field for themetaSources
record component.private final List
<ResourcePack> OverlayResourcePack.overlaysAndBase
private final List
<ResourcePack> LifecycledResourceManagerImpl.packs
Modifier 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 thesourcePack
record component.NamespaceResourceManager.FilterablePack.underlying()
Returns the value of theunderlying
record component.Modifier and TypeMethodDescriptionResourcePackManager.createResourcePacks()
NamespaceResourceManager.EntryList.metaSources()
Returns the value of themetaSources
record 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.Modifier and TypeMethodDescriptionprivate void
NamespaceResourceManager.addPack
(String id, @Nullable ResourcePack underlyingPack, @Nullable Predicate<Identifier> filter) void
NamespaceResourceManager.addPack
(ResourcePack pack) void
NamespaceResourceManager.addPack
(ResourcePack pack, Predicate<Identifier> filter) protected @Nullable ResourcePackProfile
VanillaDataPackProvider.createDefault
(ResourcePack pack) protected abstract @Nullable ResourcePackProfile
VanillaResourcePackProvider.createDefault
(ResourcePack pack) protected static ResourcePackProfile.PackFactory
VanillaResourcePackProvider.createPackFactory
(ResourcePack pack) private static Resource
NamespaceResourceManager.createResource
(ResourcePack pack, Identifier id, InputSupplier<InputStream> supplier, InputSupplier<ResourceMetadata> metadataSupplier) private @Nullable ResourceFilter
LifecycledResourceManagerImpl.parseResourceFilter
(ResourcePack pack) private static InputSupplier
<InputStream> NamespaceResourceManager.wrapForDebug
(Identifier id, ResourcePack pack, InputSupplier<InputStream> supplier) Modifier and TypeMethodDescriptionReloadableResourceManagerImpl.reload
(Executor prepareExecutor, Executor applyExecutor, CompletableFuture<Unit> initialStage, List<ResourcePack> packs) Swaps the active resource manager with another one backed by the givenpacks
and start a reload.ModifierConstructorDescription(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) ModifierConstructorDescriptionprivate
EntryList
(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)