net.minecraft.client.resource.pack

public class LegacyResourcePackAdapter

implements Pack

deg
net.minecraft.class_1645
net.minecraft.client.resource.pack.LegacyResourcePackAdapter
net.minecraft.client.resources.LegacyResourcePackWrapper
net.minecraft.client.resources.LegacyResourcePackWrapper

Field summary

Modifier and TypeField
private final Pack
b
field_21042
source
field_211854_b
locationMap
private final Map<Identifier, Identifier>
c
field_21043
patches
field_211855_c
field_211855_c
public static final Map<Identifier, Identifier>
a
field_21041
PATCHES
field_211853_a
NEW_TO_LEGACY_MAP

Constructor summary

ModifierConstructor
public (Pack source, Map<Identifier, Identifier> patches)

Method summary

Modifier and TypeMethod
private static Identifier
a(pc arg0)
method_19551(class_1653 arg0)
toMetaLocation(Identifier location)
func_211850_a(ResourceLocation arg0)
getMetaFileLocation(ResourceLocation arg0)
private Identifier
b(pc arg0)
method_19553(class_1653 arg0)
map(Identifier location)
func_211851_b(ResourceLocation arg0)
toLegacyLocation(ResourceLocation arg0)
public InputStream
b(String arg0)
method_21330(String arg0)
getRootResource(String arg0)
func_195763_b(String arg0)
getRootResourceStream(String arg0)
public InputStream
a(um arg0, pc arg1)
method_5897(class_4455 arg0, class_1653 arg1)
getResource(PackType arg0, Identifier arg1)
func_195761_a(ResourcePackType arg0, ResourceLocation arg1)
getResourceStream(ResourcePackType arg0, ResourceLocation arg1)
public Collection<Identifier>
a(um arg0, String arg1, int arg2, Predicate<String> arg3)
method_21328(class_4455 arg0, String arg1, int arg2, Predicate<String> arg3)
findResources(PackType arg0, String arg1, int arg2, Predicate<String> arg3)
func_195758_a(ResourcePackType arg0, String arg1, int arg2, Predicate<String> arg3)
getAllResourceLocations(ResourcePackType arg0, String arg1, int arg2, Predicate<String> arg3)
public boolean
b(um arg0, pc arg1)
method_5900(class_4455 arg0, class_1653 arg1)
hasResource(PackType arg0, Identifier arg1)
func_195764_b(ResourcePackType arg0, ResourceLocation arg1)
resourceExists(ResourcePackType arg0, ResourceLocation arg1)
public Set<String>
a(um arg0)
method_21327(class_4455 arg0)
getNamespaces(PackType arg0)
func_195759_a(ResourcePackType arg0)
getResourceNamespaces(ResourcePackType arg0)
public <T> T
a(up<T> arg0)
method_21329(class_4457<T> arg0)
getMetadataSection(ResourceMetadataSerializer<T> arg0)
func_195760_a(IMetadataSectionSerializer<T> arg0)
getMetadata(IMetadataSectionSerializer<T> arg0)
public String
a()
method_5899()
getName()
func_195762_a()
getName()
public void
close()
close()
close()
close()