Uses of Interface
net.minecraft.server.packs.resources.IoSupplier
Packages that use IoSupplier
Package
Description
-
Uses of IoSupplier in com.mojang.blaze3d.platform
Methods in com.mojang.blaze3d.platform that return IoSupplierModifier and TypeMethodDescriptionprivate IoSupplier<InputStream> IconSet.getFile(PackResources resources, String filename) IconSet.getMacIcon(PackResources resources) Methods in com.mojang.blaze3d.platform that return types with arguments of type IoSupplierMethods in com.mojang.blaze3d.platform with parameters of type IoSupplierModifier and TypeMethodDescriptionstatic voidMacosUtil.loadIcon(IoSupplier<InputStream> iconStreamSupplier) -
Uses of IoSupplier in net.minecraft.server.packs
Methods in net.minecraft.server.packs that return IoSupplierModifier and TypeMethodDescription@Nullable IoSupplier<InputStream> CompositePackResources.getResource(PackType p_295406_, Identifier p_466893_) private @Nullable IoSupplier<InputStream> FilePackResources.getResource(String resourcePath) FilePackResources.getResource(PackType p_249605_, Identifier p_467407_) @Nullable IoSupplier<InputStream> PackResources.getResource(PackType packType, Identifier location) static @Nullable IoSupplier<InputStream> PathPackResources.getResource(Identifier location, Path path) @Nullable IoSupplier<InputStream> PathPackResources.getResource(PackType p_249352_, Identifier p_468733_) @Nullable IoSupplier<InputStream> VanillaPackResources.getResource(PackType p_250512_, Identifier p_466991_) @Nullable IoSupplier<InputStream> CompositePackResources.getRootResource(String... p_295316_) @Nullable IoSupplier<InputStream> FilePackResources.getRootResource(String... p_248514_) @Nullable IoSupplier<InputStream> PackResources.getRootResource(String... elements) @Nullable IoSupplier<InputStream> PathPackResources.getRootResource(String... p_249041_) @Nullable IoSupplier<InputStream> VanillaPackResources.getRootResource(String... p_250530_) private static @Nullable IoSupplier<InputStream> PathPackResources.returnFileIfExists(Path path) -
Uses of IoSupplier in net.minecraft.server.packs.resources
Fields in net.minecraft.server.packs.resources declared as IoSupplierModifier and TypeFieldDescriptionstatic final IoSupplier<ResourceMetadata> ResourceMetadata.EMPTY_SUPPLIERprivate final IoSupplier<ResourceMetadata> Resource.metadataSupplierprivate final IoSupplier<InputStream> FallbackResourceManager.ResourceWithSource.resourceThe field for theresourcerecord component.private final IoSupplier<InputStream> Resource.streamSupplierFields in net.minecraft.server.packs.resources with type parameters of type IoSupplierModifier and TypeFieldDescriptionprivate final Map<PackResources, IoSupplier<InputStream>> FallbackResourceManager.EntryStack.metaSourcesThe field for themetaSourcesrecord component.Methods in net.minecraft.server.packs.resources that return IoSupplierModifier and TypeMethodDescriptionprivate static IoSupplier<ResourceMetadata> FallbackResourceManager.convertToMetadata(IoSupplier<InputStream> streamSupplier) static IoSupplier<InputStream> static IoSupplier<InputStream> private IoSupplier<ResourceMetadata> FallbackResourceManager.createStackMetadataFinder(Identifier location, int fallbackIndex) FallbackResourceManager.ResourceWithSource.resource()Returns the value of theresourcerecord component.private static IoSupplier<InputStream> FallbackResourceManager.wrapForDebug(Identifier location, PackResources packResources, IoSupplier<InputStream> stream) Methods in net.minecraft.server.packs.resources that return types with arguments of type IoSupplierModifier and TypeMethodDescriptionFallbackResourceManager.EntryStack.metaSources()Returns the value of themetaSourcesrecord component.Methods in net.minecraft.server.packs.resources with parameters of type IoSupplierModifier and TypeMethodDescriptionprivate static IoSupplier<ResourceMetadata> FallbackResourceManager.convertToMetadata(IoSupplier<InputStream> streamSupplier) private static ResourceFallbackResourceManager.createResource(PackResources source, Identifier location, IoSupplier<InputStream> streamSupplier, IoSupplier<ResourceMetadata> metadataSupplier) private static ResourceMetadataFallbackResourceManager.parseMetadata(IoSupplier<InputStream> streamSupplier) private static IoSupplier<InputStream> FallbackResourceManager.wrapForDebug(Identifier location, PackResources packResources, IoSupplier<InputStream> stream) Constructors in net.minecraft.server.packs.resources with parameters of type IoSupplierModifierConstructorDescriptionResource(PackResources source, IoSupplier<InputStream> streamSupplier) Resource(PackResources source, IoSupplier<InputStream> streamSupplier, IoSupplier<ResourceMetadata> metadataSupplier) (package private)ResourceWithSource(PackResources source, IoSupplier<InputStream> resource) Creates an instance of aResourceWithSourcerecord class.Constructor parameters in net.minecraft.server.packs.resources with type arguments of type IoSupplierModifierConstructorDescription(package private)EntryStack(Identifier fileLocation, Identifier metadataLocation, List<FallbackResourceManager.ResourceWithSource> fileSources, Map<PackResources, IoSupplier<InputStream>> metaSources) Creates an instance of aEntryStackrecord class. -
Uses of IoSupplier in net.neoforged.neoforge.resource
Methods in net.neoforged.neoforge.resource that return IoSupplierModifier and TypeMethodDescription@Nullable IoSupplier<InputStream> EmptyPackResources.getResource(PackType type, Identifier location) private @Nullable IoSupplier<InputStream> JarContentsPackResources.getResource(String relativePath) JarContentsPackResources.getResource(PackType packType, Identifier location) @Nullable IoSupplier<InputStream> EmptyPackResources.getRootResource(String... paths) @Nullable IoSupplier<InputStream> JarContentsPackResources.getRootResource(String... pathSegments)