net.minecraft.server.packs.resources

public class SimpleResource

implements Resource

aea
net.minecraft.server.packs.resources.SimpleResource
net.minecraft.class_3306
net.minecraft.unmapped.C_alkulkvp
net.minecraft.resource.ResourceImpl
net.minecraft.src.C_88_
net.minecraft.server.packs.resources.Resource

Field summary

Modifier and TypeField
private final String
a
sourceName
field_14296
f_vyfblsiu
packName
f_10922_
private final ResourceLocation
b
location
field_14299
f_mnggjhjm
id
f_10923_
private final InputStream
c
resourceStream
field_14298
f_ricqfmgm
inputStream
f_10924_
private final InputStream
d
metadataStream
field_14300
f_ldrglbco
metaInputStream
f_10925_
private boolean
e
triedMetadata
field_14297
f_xdhmjcur
readMetadata
f_10926_
private com.google.gson.JsonObject
f
metadata
field_14302
f_bfcszcot
metadata
f_10927_

Constructor summary

ModifierConstructor
public (String packName, ResourceLocation id, InputStream inputStream, InputStream metaInputStream)

Method summary

Modifier and TypeMethod
public ResourceLocation
a()
getLocation()
method_14483()
m_kmatiwba()
getId()
m_7843_()
public InputStream
b()
getInputStream()
method_14482()
m_uxubpjtq()
getInputStream()
m_6679_()
public boolean
c()
hasMetadata()
method_14484()
m_tkhutfyp()
hasMetadata()
m_142564_()
public <T> T
a(acz<T> arg0)
getMetadata(MetadataSectionSerializer<T> arg0)
method_14481(class_3270<T> arg0)
m_statmifi(C_azwofart<T> arg0)
getMetadata(ResourceMetadataReader<T> arg0)
m_5507_(C_54_<T> arg0)
public String
d()
getSourceName()
method_14480()
m_tvgxspeu()
getResourcePackName()
m_7816_()
public void
close()
close()
close()