net.minecraft.server.packs

public class VanillaPackResources

implements PackResources

abk
net.minecraft.server.packs.VanillaPackResources
net.minecraft.class_3268
net.minecraft.resource.DefaultResourcePack
net.minecraft.resources.VanillaPack
net.minecraft.server.v1_16_R2.ResourcePackVanilla

Field summary

Modifier and TypeField
public static Path
a
generatedDir
field_14196
resourcePath
field_199754_a
private static final org.apache.logging.log4j.Logger
d
LOGGER
field_14195
LOGGER
field_195784_b
public static Class<?>
b
clientObject
field_14194
resourceClass
field_211688_b
private static final Map<PackType, FileSystem>
e
JAR_FILESYSTEM_BY_TYPE
field_17917
typeToFileSystem
field_217810_e
public final Set<String>
c
namespaces
field_14193
namespaces
field_195783_a

Constructor summary

ModifierConstructor
public (String... namespaces)

Method summary

Modifier and TypeMethod
public InputStream
b(String arg0)
getRootResource(String arg0)
method_14410(String arg0)
openRoot(String arg0)
func_195763_b(String arg0)
public InputStream
a(abi 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 Collection<ResourceLocation>
a(abi arg0, String arg1, String arg2, int arg3, Predicate<String> arg4)
getResources(PackType arg0, String arg1, String arg2, int arg3, Predicate<String> arg4)
method_14408(class_3264 arg0, String arg1, String arg2, int arg3, Predicate<String> arg4)
findResources(ResourceType arg0, String arg1, String arg2, int arg3, Predicate<String> arg4)
func_225637_a_(ResourcePackType arg0, String arg1, String arg2, int arg3, Predicate<String> arg4)
private static void
a(Collection<vk> arg0, int arg1, String arg2, Path arg3, String arg4, Predicate<String> arg5)
getResources(Collection<ResourceLocation> arg0, int arg1, String arg2, Path arg3, String arg4, Predicate<String> arg5)
method_14418(Collection<class_2960> arg0, int arg1, String arg2, Path arg3, String arg4, Predicate<String> arg5)
getIdentifiers(Collection<Identifier> arg0, int maxDepth, String namespace, Path arg3, String searchLocation, Predicate<String> arg5)
func_229867_a_(Collection<ResourceLocation> arg0, int arg1, String arg2, Path arg3, String arg4, Predicate<String> arg5)
protected InputStream
c(abi arg0, vk arg1)
getResourceAsStream(PackType arg0, ResourceLocation arg1)
method_14416(class_3264 arg0, class_2960 arg1)
findInputStream(ResourceType type, Identifier id)
func_195782_c(ResourcePackType arg0, ResourceLocation arg1)
private static String
d(abi arg0, vk arg1)
createPath(PackType arg0, ResourceLocation arg1)
method_20729(class_3264 arg0, class_2960 arg1)
getPath(ResourceType type, Identifier id)
func_223458_d(ResourcePackType arg0, ResourceLocation arg1)
private static boolean
a(String arg0, URL arg1)
isResourceUrlValid(String arg0, URL arg1)
method_20728(String arg0, URL arg1)
isValidUrl(String fileName, URL url)
func_223459_a(String arg0, URL arg1)
protected InputStream
a(String arg0)
getResourceAsStream(String arg0)
method_14417(String arg0)
getInputStream(String path)
func_200010_a(String arg0)
public boolean
b(abi 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)
public Set<String>
a(abi arg0)
getNamespaces(PackType arg0)
method_14406(class_3264 arg0)
getNamespaces(ResourceType arg0)
func_195759_a(ResourcePackType arg0)
public <T> T
a(abl<T> arg0)
getMetadataSection(MetadataSectionSerializer<T> arg0)
method_14407(class_3270<T> arg0)
parseMetadata(ResourceMetadataReader<T> arg0)
func_195760_a(IMetadataSectionSerializer<T> arg0)
public String
a()
getName()
method_14409()
getName()
func_195762_a()
public void
close()
close()
close()
close()
close()