net.minecraft.server.packs.resources

public class Resource

aik
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 String
a
packId
field_38684
resourcePackName
f_215495_
private final Resource$IoSupplier<InputStream>
b
streamSupplier
field_38685
inputSupplier
f_215496_
private final Resource$IoSupplier<ResourceMetadata>
c
metadataSupplier
field_38686
metadataSupplier
f_215497_
private ResourceMetadata
d
cachedMetadata
field_38687
metadata
f_215498_

Constructor summary

ModifierConstructor
public (String resourcePackName, Resource$IoSupplier<InputStream> inputSupplier, Resource$IoSupplier<ResourceMetadata> metadataSupplier)
public (String resourcePackName, Resource$IoSupplier<InputStream> inputSupplier)

Method summary

Modifier and TypeMethod
public String
a()
sourcePackId()
method_14480()
getResourcePackName()
m_215506_()
public InputStream
b()
open()
method_14482()
getInputStream()
m_215507_()
public BufferedReader
c()
openAsReader()
method_43039()
getReader()
m_215508_()
public ResourceMetadata
d()
metadata()
method_14481()
getMetadata()
m_215509_()