net.minecraft.server.packs

public class PathPackResources

extends AbstractPackResources

All mapped superinterfaces:

PackResources

auj
net.minecraft.server.packs.PathPackResources
net.minecraft.class_3259
net.minecraft.resource.DirectoryResourcePack
net.minecraft.server.packs.PathPackResources

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
c
LOGGER
field_14187
LOGGER
private static final com.google.common.base.Joiner
d
PATH_JOINER
field_40000
SEPARATOR_JOINER
private final Path
e
root
field_40001
root

Constructor summary

ModifierConstructor
public (PackLocationInfo info, Path root)

Method summary

Modifier and TypeMethod
public IoSupplier<InputStream>
a(String... arg0)
getRootResource(String... arg0)
method_14410(String... arg0)
openRoot(String... arg0)
public static boolean
a(Path arg0)
validatePath(Path arg0)
method_14402(Path arg0)
isValidPath(Path path)
public IoSupplier<InputStream>
a(aui arg0, alz arg1)
getResource(PackType arg0, ResourceLocation arg1)
method_14405(class_3264 arg0, class_2960 arg1)
open(ResourceType arg0, Identifier arg1)
public static IoSupplier<InputStream>
a(alz arg0, Path arg1)
getResource(ResourceLocation arg0, Path arg1)
method_45180(class_2960 arg0, Path arg1)
open(Identifier id, Path path)
private static IoSupplier<InputStream>
b(Path arg0)
returnFileIfExists(Path arg0)
method_45187(Path arg0)
open(Path path)
public void
a(aui arg0, String arg1, String arg2, aug$a arg3)
listResources(PackType arg0, String arg1, String arg2, PackResources$ResourceOutput arg3)
method_14408(class_3264 arg0, String arg1, String arg2, class_3262$class_7664 arg3)
findResources(ResourceType arg0, String arg1, String arg2, ResourcePack$ResultConsumer arg3)
public static void
a(String arg0, Path arg1, List<String> arg2, aug$a arg3)
listPath(String arg0, Path arg1, List<String> arg2, PackResources$ResourceOutput arg3)
method_45183(String arg0, Path arg1, List<String> arg2, class_3262$class_7664 arg3)
findResources(String namespace, Path path, List<String> prefixSegments, ResourcePack$ResultConsumer consumer)
public Set<String>
a(aui arg0)
getNamespaces(PackType arg0)
method_14406(class_3264 arg0)
getNamespaces(ResourceType arg0)
public void
close()
close()