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 IoSupplier -
Uses of IoSupplier in net.minecraft.server.packs
Subinterfaces with type arguments of type IoSupplier in net.minecraft.server.packsMethods in net.minecraft.server.packs that return IoSupplierModifier and TypeMethodDescription@Nullable IoSupplier<InputStream> CompositePackResources.getResource(PackType type, Identifier location) private @Nullable IoSupplier<InputStream> FilePackResources.getResource(String path) FilePackResources.getResource(PackType type, Identifier location) @Nullable IoSupplier<InputStream> PackResources.getResource(PackType type, Identifier location) static @Nullable IoSupplier<InputStream> PathPackResources.getResource(Path topDir, Identifier location) @Nullable IoSupplier<InputStream> PathPackResources.getResource(PackType type, Identifier location) @Nullable IoSupplier<InputStream> VanillaPackResources.getResource(PackType type, Identifier location) @Nullable IoSupplier<InputStream> CompositePackResources.getRootResource(String... path) @Nullable IoSupplier<InputStream> FilePackResources.getRootResource(String... path) @Nullable IoSupplier<InputStream> PackResources.getRootResource(String... path) @Nullable IoSupplier<InputStream> PathPackResources.getRootResource(String... path) @Nullable IoSupplier<InputStream> VanillaPackResources.getRootResource(String... path) private static @Nullable IoSupplier<InputStream> PathPackResources.returnFileIfExists(Path resolvedPath) -
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> input) static IoSupplier<InputStream> static IoSupplier<InputStream> private IoSupplier<ResourceMetadata> FallbackResourceManager.createStackMetadataFinder(Identifier location, int finalPackIndex) FallbackResourceManager.ResourceWithSource.resource()Returns the value of theresourcerecord component.private static IoSupplier<InputStream> FallbackResourceManager.wrapForDebug(Identifier location, PackResources source, IoSupplier<InputStream> resource) 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> input) private static ResourceFallbackResourceManager.createResource(PackResources source, Identifier location, IoSupplier<InputStream> resource, IoSupplier<ResourceMetadata> metadata) private static ResourceMetadataFallbackResourceManager.parseMetadata(IoSupplier<InputStream> input) private static IoSupplier<InputStream> FallbackResourceManager.wrapForDebug(Identifier location, PackResources source, IoSupplier<InputStream> resource) 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) privateResourceWithSource(PackResources source, IoSupplier<InputStream> resource) Creates an instance of aResourceWithSourcerecord class.Constructor parameters in net.minecraft.server.packs.resources with type arguments of type IoSupplierModifierConstructorDescriptionprivateEntryStack(Identifier fileLocation, Identifier metadataLocation, List<FallbackResourceManager.ResourceWithSource> fileSources, Map<PackResources, IoSupplier<InputStream>> metaSources) Creates an instance of aEntryStackrecord class. -
Uses of IoSupplier in net.minecraft.world.level.levelgen.structure.templatesystem.loader
Methods in net.minecraft.world.level.levelgen.structure.templatesystem.loader with parameters of type IoSupplierModifier and TypeMethodDescriptionprotected Optional<StructureTemplate> TemplateSource.load(IoSupplier<InputStream> opener, boolean asText, Consumer<Throwable> onError) -
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)