net.minecraft.client.resources

public class LegacyPackResourcesAdapter

implements PackResources

fbj
net.minecraft.client.resources.LegacyPackResourcesAdapter
net.minecraft.class_1073
net.minecraft.client.resource.Format3ResourcePack
net.minecraft.src.C_4501_

Field summary

Modifier and TypeField
private final PackResources
b
source
field_5316
parent
f_118691_
private final Map<ResourceLocation, ResourceLocation>
e
patches
field_5318
idMap
f_118692_
public static final Map<ResourceLocation, ResourceLocation>
a
V3
field_5317
NEW_TO_OLD_MAP
f_118690_

Constructor summary

ModifierConstructor
public (PackResources parent, Map<ResourceLocation, ResourceLocation> idMap)

Method summary

Modifier and TypeMethod
private static ResourceLocation
a(yt arg0)
toMetaLocation(ResourceLocation arg0)
method_4660(class_2960 arg0)
getMetadataLocation(Identifier id)
m_118715_(C_5265_ p_118716_)
private ResourceLocation
b(yt arg0)
map(ResourceLocation arg0)
method_4658(class_2960 arg0)
getRedirectedId(Identifier id)
m_118723_(C_5265_ arg0)
public InputStream
b(String arg0)
getRootResource(String arg0)
method_14410(String arg0)
openRoot(String arg0)
m_5542_(String arg0)
public InputStream
a(afb arg0, yt arg1)
getResource(PackType arg0, ResourceLocation arg1)
method_14405(class_3264 arg0, class_2960 arg1)
open(ResourceType arg0, Identifier arg1)
m_8031_(C_51_ p_118708_, C_5265_ arg1)
public Collection<ResourceLocation>
a(afb 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)
m_7466_(C_51_ p_118702_, String p_118703_, String p_118704_, int p_118705_, Predicate<String> arg4)
public boolean
b(afb arg0, yt arg1)
hasResource(PackType arg0, ResourceLocation arg1)
method_14411(class_3264 arg0, class_2960 arg1)
contains(ResourceType arg0, Identifier arg1)
m_7211_(C_51_ p_118720_, C_5265_ arg1)
public Set<String>
a(afb arg0)
getNamespaces(PackType arg0)
method_14406(class_3264 arg0)
getNamespaces(ResourceType arg0)
m_5698_(C_51_ arg0)
public <T> T
a(afe<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()