Uses of Interface
net.minecraft.server.packs.resources.IoSupplier
Package
Description
-
Uses of IoSupplier in com.mojang.blaze3d.platform
Modifier and TypeMethodDescriptionprivate IoSupplier
<InputStream> IconSet.getFile
(PackResources p_281570_, String p_281345_) IconSet.getMacIcon
(PackResources p_281289_) Modifier and TypeMethodDescriptionstatic void
MacosUtil.loadIcon
(IoSupplier<InputStream> p_250929_) -
Uses of IoSupplier in net.minecraft.server.packs
Modifier and TypeMethodDescriptionCompositePackResources.getResource
(PackType p_295406_, ResourceLocation p_296382_) private IoSupplier
<InputStream> FilePackResources.getResource
(String p_251795_) FilePackResources.getResource
(PackType p_249605_, ResourceLocation p_252147_) PackResources.getResource
(PackType p_215339_, ResourceLocation p_249034_) static IoSupplier
<InputStream> PathPackResources.getResource
(ResourceLocation p_250145_, Path p_251046_) PathPackResources.getResource
(PackType p_249352_, ResourceLocation p_251715_) VanillaPackResources.getResource
(PackType p_250512_, ResourceLocation p_251554_) CompositePackResources.getRootResource
(String... p_295316_) FilePackResources.getRootResource
(String... p_248514_) PackResources.getRootResource
(String... p_252049_) PathPackResources.getRootResource
(String... p_249041_) VanillaPackResources.getRootResource
(String... p_250530_) private static IoSupplier
<InputStream> PathPackResources.returnFileIfExists
(Path p_250506_) -
Uses of IoSupplier in net.minecraft.server.packs.resources
Modifier and TypeFieldDescriptionstatic final IoSupplier
<ResourceMetadata> ResourceMetadata.EMPTY_SUPPLIER
private final IoSupplier
<ResourceMetadata> Resource.metadataSupplier
private final IoSupplier
<InputStream> FallbackResourceManager.ResourceWithSource.resource
The field for theresource
record component.private final IoSupplier
<InputStream> Resource.streamSupplier
Modifier and TypeFieldDescriptionprivate final Map
<PackResources, IoSupplier<InputStream>> FallbackResourceManager.EntryStack.metaSources
The field for themetaSources
record component.Modifier and TypeMethodDescriptionprivate static IoSupplier
<ResourceMetadata> FallbackResourceManager.convertToMetadata
(IoSupplier<InputStream> p_250827_) static IoSupplier
<InputStream> static IoSupplier
<InputStream> private IoSupplier
<ResourceMetadata> FallbackResourceManager.createStackMetadataFinder
(ResourceLocation p_215369_, int p_215370_) FallbackResourceManager.ResourceWithSource.resource()
Returns the value of theresource
record component.private static IoSupplier
<InputStream> FallbackResourceManager.wrapForDebug
(ResourceLocation p_248639_, PackResources p_251740_, IoSupplier<InputStream> p_249116_) Modifier and TypeMethodDescriptionFallbackResourceManager.EntryStack.metaSources()
Returns the value of themetaSources
record component.Modifier and TypeMethodDescriptionprivate static IoSupplier
<ResourceMetadata> FallbackResourceManager.convertToMetadata
(IoSupplier<InputStream> p_250827_) private static Resource
FallbackResourceManager.createResource
(PackResources p_249946_, ResourceLocation p_250632_, IoSupplier<InputStream> p_250514_, IoSupplier<ResourceMetadata> p_251676_) private static ResourceMetadata
FallbackResourceManager.parseMetadata
(IoSupplier<InputStream> p_250103_) private static IoSupplier
<InputStream> FallbackResourceManager.wrapForDebug
(ResourceLocation p_248639_, PackResources p_251740_, IoSupplier<InputStream> p_249116_) ModifierConstructorDescriptionResource
(PackResources p_250372_, IoSupplier<InputStream> p_248749_) Resource
(PackResources p_250802_, IoSupplier<InputStream> p_248585_, IoSupplier<ResourceMetadata> p_250094_) (package private)
ResourceWithSource
(PackResources source, IoSupplier<InputStream> resource) Creates an instance of aResourceWithSource
record class.ModifierConstructorDescription(package private)
EntryStack
(ResourceLocation fileLocation, ResourceLocation metadataLocation, List<FallbackResourceManager.ResourceWithSource> fileSources, Map<PackResources, IoSupplier<InputStream>> metaSources) Creates an instance of aEntryStack
record class. -
Uses of IoSupplier in net.neoforged.neoforge.oldtest.world
Modifier and TypeMethodDescription@Nullable IoSupplier
<InputStream> LoginPacketSplitTest.InMemoryResourcePack.getResource
(PackType type, ResourceLocation loc) @Nullable IoSupplier
<InputStream> LoginPacketSplitTest.InMemoryResourcePack.getRootResource
(String... loc) private <T> @Nullable IoSupplier
<InputStream> LoginPacketSplitTest.InMemoryResourcePack.openResource
(Map<T, Supplier<byte[]>> map, T key) -
Uses of IoSupplier in net.neoforged.neoforge.resource
Modifier and TypeMethodDescription@Nullable IoSupplier
<InputStream> EmptyPackResources.getResource
(PackType type, ResourceLocation location) @Nullable IoSupplier
<InputStream> EmptyPackResources.getRootResource
(String... paths)