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.src.C_76_
net.minecraft.server.packs.resources.IResource

Field summary

Modifier and TypeField
private final PackResources
a
source
field_40054
pack
f_244326_
private final IoSupplier<InputStream>
b
streamSupplier
field_38685
inputSupplier
f_215496_
private final IoSupplier<ResourceMetadata>
c
metadataSupplier
field_38686
metadataSupplier
f_215497_
private ResourceMetadata
d
cachedMetadata
field_38687
metadata
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()
getPack()
m_247173_()
public String
b()
sourcePackId()
method_14480()
getPackId()
m_215506_()
public Optional<KnownPack>
c()
knownPackInfo()
method_56936()
getKnownPackInfo()
m_322763_()
public InputStream
d()
open()
method_14482()
getInputStream()
m_215507_()
public BufferedReader
e()
openAsReader()
method_43039()
getReader()
m_215508_()
public ResourceMetadata
f()
metadata()
method_14481()
getMetadata()
m_215509_()