net.minecraft.client.resources

public class LegacyPackResourcesAdapter

implements PackResources

fkp
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(abb arg0)
toMetaLocation(ResourceLocation arg0)
method_4660(class_2960 arg0)
getMetadataLocation(Identifier id)
m_118715_(C_5265_ p_118716_)
private ResourceLocation
b(abb 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(ahm arg0, abb 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(ahm arg0, String arg1, String arg2, Predicate<abb> 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_235025_, String p_235026_, String p_235027_, Predicate<C_5265_> arg3)
public boolean
b(ahm arg0, abb 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(ahm arg0)
getNamespaces(PackType arg0)
method_14406(class_3264 arg0)
getNamespaces(ResourceType arg0)
m_5698_(C_51_ arg0)
public <T> T
a(ahp<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()