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
Modifier and TypeMethodDescriptionprivate InputSupplier<InputStream>
MinecraftClient.getDefaultResourceSupplier
(String[] segments) -
Uses of InputSupplier in net.minecraft.client.util
Modifier and TypeMethodDescriptionprivate @Nullable ByteBuffer
Window.readImage
(InputSupplier<InputStream> imageSupplier, IntBuffer x, IntBuffer y, IntBuffer channels) static void
MacWindowUtil.setApplicationIconImage
(InputSupplier<InputStream> iconSupplier) void
Window.setIcon
(InputSupplier<InputStream> smallIconSupplier, InputSupplier<InputStream> bigIconSupplier) -
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) 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