Uses of Interface
net.minecraft.resource.InputSupplier
Package
Description
Provides resources to Minecraft, including resource access, provision, and reloading.
-
Uses of InputSupplier in net.minecraft.client.util
Modifier and TypeMethodDescriptionprivate InputSupplier<InputStream>
Icons.getIcon
(ResourcePack resourcePack, String fileName) Icons.getMacIcon
(ResourcePack resourcePack) Modifier and TypeMethodDescriptionstatic void
MacWindowUtil.setApplicationIconImage
(InputSupplier<InputStream> iconSupplier) -
Uses of InputSupplier in net.minecraft.resource
Modifier and TypeFieldDescriptionprivate final InputSupplier<InputStream>
Resource.inputSupplier
private final InputSupplier<ResourceMetadata>
Resource.metadataSupplier
private final InputSupplier<InputStream>
NamespaceResourceManager.FileSource.supplier
The field for thesupplier
record component.Modifier and TypeFieldDescriptionprivate final Map<ResourcePack,
InputSupplier<InputStream>> NamespaceResourceManager.EntryList.metaSources
The field for themetaSources
record component.Modifier and TypeMethodDescriptionstatic InputSupplier<InputStream>
static InputSupplier<InputStream>
private InputSupplier<ResourceMetadata>
NamespaceResourceManager.createMetadataSupplier
(Identifier id, int index) private static InputSupplier<ResourceMetadata>
NamespaceResourceManager.getMetadataSupplier
(InputSupplier<InputStream> supplier) DefaultResourcePack.open
(ResourceType type, Identifier id) private static @Nullable InputSupplier<InputStream>
DirectoryResourcePack.open
(ResourceType type, Identifier id) static InputSupplier<InputStream>
DirectoryResourcePack.open
(Identifier id, Path path) OverlayResourcePack.open
(ResourceType type, Identifier id) ResourcePack.open
(ResourceType type, Identifier id) ZipResourcePack.open
(ResourceType type, Identifier id) private @Nullable InputSupplier<InputStream>
NamespaceResourceManager.FileSource.supplier()
Returns the value of thesupplier
record component.private static InputSupplier<InputStream>
NamespaceResourceManager.wrapForDebug
(Identifier id, ResourcePack pack, InputSupplier<InputStream> supplier) Modifier and TypeMethodDescriptionNamespaceResourceManager.EntryList.metaSources()
Returns the value of themetaSources
record component.Modifier and TypeMethodDescriptionprivate static Resource
NamespaceResourceManager.createResource
(ResourcePack pack, Identifier id, InputSupplier<InputStream> supplier, InputSupplier<ResourceMetadata> metadataSupplier) private static InputSupplier<ResourceMetadata>
NamespaceResourceManager.getMetadataSupplier
(InputSupplier<InputStream> supplier) private static ResourceMetadata
NamespaceResourceManager.loadMetadata
(InputSupplier<InputStream> supplier) private static InputSupplier<InputStream>
NamespaceResourceManager.wrapForDebug
(Identifier id, ResourcePack pack, InputSupplier<InputStream> supplier) ModifierConstructorDescription(package private)
FileSource
(ResourcePack resourcePack, InputSupplier<InputStream> inputSupplier) 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) -
Uses of InputSupplier in net.minecraft.resource.metadata
Modifier and TypeFieldDescriptionstatic final InputSupplier<ResourceMetadata>
ResourceMetadata.NONE_SUPPLIER