net.minecraft.server.packs

public abstract class AbstractPackResources

implements PackResources

abg
net.minecraft.server.packs.AbstractPackResources
net.minecraft.class_3255
net.minecraft.resource.AbstractFileResourcePack
net.minecraft.resources.ResourcePack
net.minecraft.server.v1_16_R3.ResourcePackAbstract

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
b
LOGGER
field_14182
LOGGER
field_195772_b
protected final File
a
file
field_14181
base
field_195771_a

Constructor summary

ModifierConstructor
public (File base)

Method summary

Modifier and TypeMethod
private static String
c(abk arg0, vk arg1)
getPathFromLocation(PackType arg0, ResourceLocation arg1)
method_14395(class_3264 arg0, class_2960 arg1)
getFilename(ResourceType type, Identifier id)
func_195765_c(ResourcePackType arg0, ResourceLocation arg1)
protected static String
a(File arg0, File arg1)
getRelativePath(File arg0, File arg1)
method_14396(File arg0, File arg1)
relativize(File base, File target)
func_195767_a(File arg0, File arg1)
public InputStream
a(abk arg0, vk arg1)
getResource(PackType arg0, ResourceLocation arg1)
method_14405(class_3264 arg0, class_2960 arg1)
open(ResourceType arg0, Identifier arg1)
func_195761_a(ResourcePackType arg0, ResourceLocation arg1)
public boolean
b(abk arg0, vk arg1)
hasResource(PackType arg0, ResourceLocation arg1)
method_14411(class_3264 arg0, class_2960 arg1)
contains(ResourceType arg0, Identifier arg1)
func_195764_b(ResourcePackType arg0, ResourceLocation arg1)
protected abstract InputStream
a(String arg0)
getResource(String arg0)
method_14391(String arg0)
openFile(String name)
func_195766_a(String arg0)
protected abstract boolean
c(String arg0)
hasResource(String arg0)
method_14393(String arg0)
containsFile(String name)
func_195768_c(String arg0)
protected void
d(String arg0)
logWarning(String arg0)
method_14394(String arg0)
warnNonLowerCaseNamespace(String namespace)
func_195769_d(String arg0)
public <T> T
a(abn<T> arg0)
getMetadataSection(MetadataSectionSerializer<T> arg0)
method_14407(class_3270<T> arg0)
parseMetadata(ResourceMetadataReader<T> arg0)
func_195760_a(IMetadataSectionSerializer<T> arg0)
public static <T> T
a(abn<T> arg0, InputStream arg1)
getMetadataFromStream(MetadataSectionSerializer<T> arg0, InputStream arg1)
method_14392(class_3270<T> arg0, InputStream arg1)
parseMetadata(ResourceMetadataReader<T> metaReader, InputStream inputStream)
func_195770_a(IMetadataSectionSerializer<T> arg0, InputStream arg1)
public String
a()
getName()
method_14409()
getName()
func_195762_a()
public InputStream
b(String arg0)
getRootResource(String arg0)
method_14410(String arg0)
openRoot(String arg0)
func_195763_b(String arg0)