net.minecraft.server.packs

public class VanillaPackResources

implements PackResources, ResourceProvider

aep
net.minecraft.server.packs.VanillaPackResources
net.minecraft.class_3268
net.minecraft.unmapped.C_qauewsos
net.minecraft.resource.DefaultResourcePack
net.minecraft.src.C_53_
net.minecraft.server.packs.ResourcePackVanilla

Field summary

Modifier and TypeField
public static Path
a
generatedDir
field_14196
f_lypngnde
resourcePath
f_10312_
private static final org.apache.logging.log4j.Logger
g
LOGGER
field_14195
f_lihnkqbc
LOGGER
f_10315_
public static Class<?>
b
clientObject
field_14194
f_xmmxrifk
resourceClass
f_10313_
private static final Map<PackType, Path>
h
ROOT_DIR_BY_TYPE
field_17917
f_kmttdjoy
TYPE_TO_FILE_SYSTEM
f_182296_
public final PackMetadataSection
e
packMetadata
field_26938
f_kqtsybvu
metadata
f_143759_
public final Set<String>
f
namespaces
field_14193
f_yrgjhsmn
namespaces
f_10314_

Constructor summary

ModifierConstructor
public (PackMetadataSection metadata, String... namespaces)

Method summary

Modifier and TypeMethod
private static Path
a(URI arg0)
safeGetPath(URI arg0)
method_37454(URI arg0)
m_ylobstcc(URI arg0)
getPath(URI uri)
m_182297_(URI p_182298_)
public InputStream
b(String arg0)
getRootResource(String arg0)
method_14410(String arg0)
m_kqrdnqgt(String arg0)
openRoot(String arg0)
m_5542_(String arg0)
public InputStream
a(aen arg0, yh arg1)
getResource(PackType arg0, ResourceLocation arg1)
method_14405(class_3264 arg0, class_2960 arg1)
m_dadqakbf(C_abwutbbk arg0, C_ncpywfca arg1)
open(ResourceType arg0, Identifier arg1)
m_8031_(C_51_ p_10331_, C_5265_ arg1)
public Collection<ResourceLocation>
a(aen 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)
m_uzwfvuqk(C_abwutbbk arg0, String arg1, String arg2, int arg3, Predicate<String> arg4)
findResources(ResourceType arg0, String arg1, String arg2, int arg3, Predicate<String> arg4)
m_7466_(C_51_ p_10325_, String p_10326_, String p_10327_, int p_10328_, Predicate<String> arg4)
private static void
a(Collection<yh> 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)
m_ebwgghay(Collection<C_ncpywfca> arg0, int arg1, String arg2, Path arg3, String arg4, Predicate<String> arg5)
getIdentifiers(Collection<Identifier> results, int maxDepth, String namespace, Path root, String prefix, Predicate<String> pathFilter)
m_10342_(Collection<C_5265_> p_10343_, int p_10344_, String p_10345_, Path p_10346_, String p_10347_, Predicate<String> p_10348_)
protected InputStream
c(aen arg0, yh arg1)
getResourceAsStream(PackType arg0, ResourceLocation arg1)
method_14416(class_3264 arg0, class_2960 arg1)
m_jtldmnfe(C_abwutbbk arg0, C_ncpywfca arg1)
findInputStream(ResourceType type, Identifier id)
m_8033_(C_51_ p_10360_, C_5265_ arg1)
private static String
d(aen arg0, yh arg1)
createPath(PackType arg0, ResourceLocation arg1)
method_20729(class_3264 arg0, class_2960 arg1)
m_vcsltvii(C_abwutbbk arg0, C_ncpywfca arg1)
getPath(ResourceType type, Identifier id)
m_10362_(C_51_ p_10363_, C_5265_ p_10364_)
private static boolean
a(String arg0, URL arg1)
isResourceUrlValid(String arg0, URL arg1)
method_20728(String arg0, URL arg1)
m_lrcifmjx(String arg0, URL arg1)
isValidUrl(String fileName, URL url)
m_10335_(String p_10336_, URL p_10337_)
protected InputStream
a(String arg0)
getResourceAsStream(String arg0)
method_14417(String arg0)
m_zwxhqsuf(String arg0)
getInputStream(String path)
m_5539_(String arg0)
public boolean
b(aen arg0, yh arg1)
hasResource(PackType arg0, ResourceLocation arg1)
method_14411(class_3264 arg0, class_2960 arg1)
m_wohdyygw(C_abwutbbk arg0, C_ncpywfca arg1)
contains(ResourceType arg0, Identifier arg1)
m_7211_(C_51_ p_10356_, C_5265_ arg1)
public Set<String>
a(aen arg0)
getNamespaces(PackType arg0)
method_14406(class_3264 arg0)
m_zxvjnykg(C_abwutbbk arg0)
getNamespaces(ResourceType arg0)
m_5698_(C_51_ arg0)
public <T> T
a(aeq<T> arg0)
getMetadataSection(MetadataSectionSerializer<T> arg0)
method_14407(class_3270<T> arg0)
m_qccksbjd(C_azwofart<T> arg0)
parseMetadata(ResourceMetadataReader<T> arg0)
m_5550_(C_54_<T> arg0)
public String
a()
getName()
method_14409()
m_bddrdapu()
getName()
m_8017_()
public void
close()
close()
close()
public Resource
a(yh arg0)
getResource(ResourceLocation arg0)
method_14486(class_2960 arg0)
m_imwkfrgn(C_ncpywfca arg0)
getResource(Identifier arg0)
m_142591_(C_5265_ arg0)