net.minecraft.server.packs.resources

public class Resource

auc
net.minecraft.server.packs.resources.Resource
net.minecraft.class_3298
net.minecraft.unmapped.C_tuynegco
net.minecraft.resource.Resource
net.minecraft.resource.Resource
net.minecraft.src.C_76_
net.minecraft.server.packs.resources.IResource

Field summary

Modifier and TypeField
private final PackResources
a
source
field_40054
f_hxyciisv
pack
resourcePack
f_244326_
private final IoSupplier<InputStream>
b
streamSupplier
field_38685
f_lxmdqylr
inputSupplier
readSupplier
f_215496_
private final IoSupplier<ResourceMetadata>
c
metadataSupplier
field_38686
f_uqkymrej
metadataSupplier
metadataSupplier
f_215497_
private ResourceMetadata
d
cachedMetadata
field_38687
f_amvvzssa
metadata
cachedMetadata
f_215498_

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()
m_jzvjphjj()
getPack()
getResourcePack()
m_247173_()
public String
b()
sourcePackId()
method_14480()
m_dzfzltqe()
getPackId()
getSourceName()
m_215506_()
public Optional<KnownPack>
c()
knownPackInfo()
method_56936()
m_kocutmye()
getKnownPackInfo()
getKnownPackInfo()
m_322763_()
public InputStream
d()
open()
method_14482()
m_urezrran()
getInputStream()
open()
m_215507_()
public BufferedReader
e()
openAsReader()
method_43039()
m_cdfzshua()
getReader()
openBufferedReader()
m_215508_()
public ResourceMetadata
f()
metadata()
method_14481()
m_ynwyuood()
getMetadata()
getMetadata()
m_215509_()