net.minecraft.server.packs

public class VanillaPackResources

implements PackResources

agw
net.minecraft.server.packs.VanillaPackResources
net.minecraft.class_3268
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
resourcePath
f_10312_
private static final org.slf4j.Logger
g
LOGGER
field_14195
LOGGER
f_10315_
public static Class<?>
b
clientObject
field_14194
resourceClass
f_10313_
private static final Map<PackType, Path>
h
ROOT_DIR_BY_TYPE
field_17917
TYPE_TO_FILE_SYSTEM
f_182296_
public final PackMetadataSection
e
packMetadata
field_26938
metadata
f_143759_
public final Set<String>
f
namespaces
field_14193
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)
getPath(URI uri)
m_182297_(URI p_182298_)
public InputStream
b(String arg0)
getRootResource(String arg0)
method_14410(String arg0)
openRoot(String arg0)
m_5542_(String arg0)
public InputStream
a(agu arg0, aaj arg1)
getResource(PackType arg0, ResourceLocation arg1)
method_14405(class_3264 arg0, class_2960 arg1)
open(ResourceType arg0, Identifier arg1)
m_8031_(C_51_ p_10331_, C_5265_ arg1)
public Collection<ResourceLocation>
a(agu arg0, String arg1, String arg2, Predicate<aaj> arg3)
getResources(PackType arg0, String arg1, String arg2, Predicate<ResourceLocation> arg3)
method_14408(class_3264 arg0, String arg1, String arg2, Predicate<class_2960> arg3)
findResources(ResourceType arg0, String arg1, String arg2, Predicate<Identifier> arg3)
m_214146_(C_51_ p_215347_, String p_215348_, String p_215349_, Predicate<C_5265_> arg3)
private static void
a(Collection<aaj> arg0, String arg1, Path arg2, String arg3, Predicate<aaj> arg4)
getResources(Collection<ResourceLocation> arg0, String arg1, Path arg2, String arg3, Predicate<ResourceLocation> arg4)
method_14418(Collection<class_2960> arg0, String arg1, Path arg2, String arg3, Predicate<class_2960> arg4)
collectIdentifiers(Collection<Identifier> results, String namespace, Path root, String prefix, Predicate<Identifier> allowedPathPredicate)
m_215357_(Collection<C_5265_> p_215358_, String p_215359_, Path p_215360_, String p_215361_, Predicate<C_5265_> p_215362_)
protected InputStream
c(agu arg0, aaj arg1)
getResourceAsStream(PackType arg0, ResourceLocation arg1)
method_14416(class_3264 arg0, class_2960 arg1)
findInputStream(ResourceType type, Identifier id)
m_8033_(C_51_ p_10360_, C_5265_ arg1)
private static String
d(agu arg0, aaj arg1)
createPath(PackType arg0, ResourceLocation arg1)
method_20729(class_3264 arg0, class_2960 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)
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)
getInputStream(String path)
m_5539_(String arg0)
public boolean
b(agu arg0, aaj arg1)
hasResource(PackType arg0, ResourceLocation arg1)
method_14411(class_3264 arg0, class_2960 arg1)
contains(ResourceType arg0, Identifier arg1)
m_7211_(C_51_ p_10356_, C_5265_ arg1)
public Set<String>
a(agu arg0)
getNamespaces(PackType arg0)
method_14406(class_3264 arg0)
getNamespaces(ResourceType arg0)
m_5698_(C_51_ arg0)
public <T> T
a(agx<T> arg0)
getMetadataSection(MetadataSectionSerializer<T> arg0)
method_14407(class_3270<T> arg0)
parseMetadata(ResourceMetadataReader<T> arg0)
m_5550_(C_54_<T> arg0)
public String
a()
getName()
method_14409()
getName()
m_8017_()
public void
close()
close()
close()
public ResourceProvider
b()
asProvider()
method_43032()
getFactory()
m_215363_()