net.minecraft.server.packs

public class VanillaPackResources

implements PackResources

atg
net.minecraft.server.packs.VanillaPackResources
net.minecraft.class_3268
net.minecraft.resource.DefaultResourcePack
net.minecraft.server.packs.ResourcePackVanilla

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
c
LOGGER
field_14195
LOGGER
private final PackLocationInfo
d
location
field_49032
info
private final BuiltInMetadata
e
metadata
field_26938
metadata
private final Set<String>
f
namespaces
field_14193
namespaces
private final List<Path>
g
rootPaths
field_40002
rootPaths
private final Map<PackType, List<Path>>
h
pathsForType
field_40003
namespacePaths

Constructor summary

ModifierConstructor
(PackLocationInfo info, BuiltInMetadata metadata, Set<String> namespaces, List<Path> rootPaths, Map<PackType, List<Path>> namespacePaths)

Method summary

Modifier and TypeMethod
public IoSupplier<InputStream>
a(String... arg0)
getRootResource(String... arg0)
method_14410(String... arg0)
openRoot(String... arg0)
public void
a(ate arg0, akv arg1, Consumer<Path> arg2)
listRawPaths(PackType arg0, ResourceLocation arg1, Consumer<Path> arg2)
method_45192(class_3264 arg0, class_2960 arg1, Consumer<Path> arg2)
forEachNamespacedPath(ResourceType type, Identifier path, Consumer<Path> consumer)
public void
a(ate arg0, String arg1, String arg2, atc$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)
private static void
a(atc$a arg0, String arg1, Path arg2, List<String> arg3)
getResources(PackResources$ResourceOutput arg0, String arg1, Path arg2, List<String> arg3)
method_14418(class_3262$class_7664 arg0, String arg1, Path arg2, List<String> arg3)
collectIdentifiers(ResourcePack$ResultConsumer consumer, String namespace, Path root, List<String> prefixSegments)
public IoSupplier<InputStream>
a(ate arg0, akv arg1)
getResource(PackType arg0, ResourceLocation arg1)
method_14405(class_3264 arg0, class_2960 arg1)
open(ResourceType arg0, Identifier arg1)
public Set<String>
a(ate arg0)
getNamespaces(PackType arg0)
method_14406(class_3264 arg0)
getNamespaces(ResourceType arg0)
public <T> T
a(atp<T> arg0)
getMetadataSection(MetadataSectionType<T> arg0)
method_14407(class_7677<T> arg0)
parseMetadata(ResourceMetadataSerializer<T> arg0)
public PackLocationInfo
a()
location()
method_56926()
getInfo()
public void
close()
close()
public ResourceProvider
d()
asProvider()
method_43032()
getFactory()