net.minecraft.server.packs.resources

public class SimpleResource

implements Resource

acl
net.minecraft.server.packs.resources.SimpleResource
net.minecraft.class_3306
net.minecraft.resource.ResourceImpl
net.minecraft.resources.SimpleResource
net.minecraft.server.v1_16_R2.Resource

Field summary

Modifier and TypeField
private final String
a
sourceName
field_14296
packName
field_199032_b
private final ResourceLocation
b
location
field_14299
id
field_199033_c
private final InputStream
c
resourceStream
field_14298
inputStream
field_199034_d
private final InputStream
d
metadataStream
field_14300
metaInputStream
field_199035_e
private boolean
e
triedMetadata
field_14297
readMetadata
field_199036_f
private com.google.gson.JsonObject
f
metadata
field_14302
metadata
field_199037_g

Constructor summary

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

Method summary

Modifier and TypeMethod
public InputStream
b()
getInputStream()
method_14482()
getInputStream()
func_199027_b()
public String
d()
getSourceName()
method_14480()
getResourcePackName()
func_199026_d()
public void
close()
close()
close()
close()
close()
public ResourceLocation
a()
getLocation()
method_14483()
getId()
func_199029_a()
public boolean
c()
hasMetadata()
method_14484()
hasMetadata()
func_199030_c()
public <T> T
a(abl<T> arg0)
getMetadata(MetadataSectionSerializer<T> arg0)
method_14481(class_3270<T> arg0)
getMetadata(ResourceMetadataReader<T> arg0)
func_199028_a(IMetadataSectionSerializer<T> arg0)