net.minecraft.server.packs.resources

public class Resource

aun
net.minecraft.server.packs.resources.Resource
net.minecraft.class_3298
net.minecraft.resource.Resource
net.minecraft.server.packs.resources.IResource

Field summary

Modifier and TypeField
private final PackResources
a
source
field_40054
pack
private final IoSupplier<InputStream>
b
streamSupplier
field_38685
inputSupplier
private final IoSupplier<ResourceMetadata>
c
metadataSupplier
field_38686
metadataSupplier
private ResourceMetadata
d
cachedMetadata
field_38687
metadata

Constructor summary

ModifierConstructor
public (PackResources pack, IoSupplier<InputStream> inputSupplier, IoSupplier<ResourceMetadata> metadataSupplier)
public (PackResources pack, IoSupplier<InputStream> inputSupplier)

Method summary

Modifier and TypeMethod
public PackResources
a()
source()
method_45304()
getPack()
public String
b()
sourcePackId()
method_14480()
getPackId()
public Optional<KnownPack>
c()
knownPackInfo()
method_56936()
getKnownPackInfo()
public InputStream
d()
open()
method_14482()
getInputStream()
public BufferedReader
e()
openAsReader()
method_43039()
getReader()
public ResourceMetadata
f()
metadata()
method_14481()
getMetadata()