net.minecraft.server.packs.resources

public class SimpleResource

implements Resource

afr
net.minecraft.server.packs.resources.SimpleResource
net.minecraft.class_3306
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
packName
f_10922_
private final ResourceLocation
b
location
field_14299
id
f_10923_
private final InputStream
c
resourceStream
field_14298
inputStream
f_10924_
private final InputStream
d
metadataStream
field_14300
metaInputStream
f_10925_
private boolean
e
triedMetadata
field_14297
readMetadata
f_10926_
private com.google.gson.JsonObject
f
metadata
field_14302
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()
getId()
m_7843_()
public InputStream
b()
getInputStream()
method_14482()
getInputStream()
m_6679_()
public boolean
c()
hasMetadata()
method_14484()
hasMetadata()
m_142564_()
public <T> T
a(aeq<T> arg0)
getMetadata(MetadataSectionSerializer<T> arg0)
method_14481(class_3270<T> arg0)
getMetadata(ResourceMetadataReader<T> arg0)
m_5507_(C_54_<T> arg0)
public String
d()
getSourceName()
method_14480()
getResourcePackName()
m_7816_()
public void
close()
close()
close()