net.minecraft.server.packs

public abstract class AbstractPackResources

implements PackResources

agq
net.minecraft.server.packs.AbstractPackResources
net.minecraft.class_3255
net.minecraft.resource.AbstractFileResourcePack
net.minecraft.src.C_47_
net.minecraft.server.packs.ResourcePackAbstract

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
b
LOGGER
field_14182
LOGGER
f_10204_
protected final File
a
file
field_14181
base
f_10203_

Constructor summary

ModifierConstructor
public (File base)

Method summary

Modifier and TypeMethod
private static String
c(agu arg0, aaj arg1)
getPathFromLocation(PackType arg0, ResourceLocation arg1)
method_14395(class_3264 arg0, class_2960 arg1)
getFilename(ResourceType type, Identifier id)
m_10226_(C_51_ p_10227_, C_5265_ p_10228_)
protected static String
a(File arg0, File arg1)
getRelativePath(File arg0, File arg1)
method_14396(File arg0, File arg1)
relativize(File base, File target)
m_10217_(File p_10218_, File p_10219_)
public InputStream
a(agu arg0, aaj arg1)
getResource(PackType arg0, ResourceLocation arg1)
method_14405(class_3264 arg0, class_2960 arg1)
open(ResourceType arg0, Identifier arg1)
m_8031_(C_51_ p_10211_, C_5265_ arg1)
public boolean
b(agu arg0, aaj arg1)
hasResource(PackType arg0, ResourceLocation arg1)
method_14411(class_3264 arg0, class_2960 arg1)
contains(ResourceType arg0, Identifier arg1)
m_7211_(C_51_ p_10223_, C_5265_ arg1)
protected abstract InputStream
a(String arg0)
getResource(String arg0)
method_14391(String arg0)
openFile(String name)
m_5541_(String arg0)
public InputStream
b(String arg0)
getRootResource(String arg0)
method_14410(String arg0)
openRoot(String arg0)
m_5542_(String arg0)
protected abstract boolean
c(String arg0)
hasResource(String arg0)
method_14393(String arg0)
containsFile(String name)
m_6105_(String arg0)
protected void
d(String arg0)
logWarning(String arg0)
method_14394(String arg0)
warnNonLowerCaseNamespace(String namespace)
m_10230_(String arg0)
public <T> T
a(agx<T> arg0)
getMetadataSection(MetadataSectionSerializer<T> arg0)
method_14407(class_3270<T> arg0)
parseMetadata(ResourceMetadataReader<T> arg0)
m_5550_(C_54_<T> arg0)
public static <T> T
a(agx<T> arg0, InputStream arg1)
getMetadataFromStream(MetadataSectionSerializer<T> arg0, InputStream arg1)
method_14392(class_3270<T> arg0, InputStream arg1)
parseMetadata(ResourceMetadataReader<T> metaReader, InputStream inputStream)
m_10214_(C_54_<T> p_10215_, InputStream p_10216_)
public String
a()
getName()
method_14409()
getName()
m_8017_()