net.minecraft.resource.pack

public abstract class CustomPack

implements Pack

ui
net.minecraft.class_1644
net.minecraft.resource.pack.CustomPack
net.minecraft.resources.AbstractResourcePack
net.minecraft.resources.AbstractResourcePack

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
b
field_8105
LOGGER
field_195772_b
LOGGER
protected final File
a
field_6605
file
field_195771_a
file

Constructor summary

ModifierConstructor
public (File file)

Method summary

Modifier and TypeMethod
private static String
c(um arg0, pc arg1)
method_21325(class_4455 arg0, class_1653 arg1)
getPathToResource(PackType type, Identifier id)
func_195765_c(ResourcePackType arg0, ResourceLocation arg1)
getFullPath(ResourcePackType type, ResourceLocation location)
protected static String
a(File arg0, File arg1)
method_5874(File arg0, File arg1)
relativize(File dir, File file)
func_195767_a(File arg0, File arg1)
getRelativeString(File file1, File file2)
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 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)
protected abstract InputStream
a(String arg0)
method_5875(String arg0)
openResource(String path)
func_195766_a(String arg0)
getInputStream(String resourcePath)
protected abstract boolean
c(String arg0)
method_5876(String arg0)
hasResource(String path)
func_195768_c(String arg0)
resourceExists(String resourcePath)
protected void
d(String arg0)
method_5878(String arg0)
warnNonLowercaseNamespace(String namespace)
func_195769_d(String arg0)
onIgnoreNonLowercaseNamespace(String namespace)
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 static <T> T
a(up<T> arg0, InputStream arg1)
method_21324(class_4457<T> arg0, InputStream arg1)
getMetadataSection(ResourceMetadataSerializer<T> serializer, InputStream input)
func_195770_a(IMetadataSectionSerializer<T> arg0, InputStream arg1)
getResourceMetadata(IMetadataSectionSerializer<T> deserializer, InputStream inputStream)
public String
a()
method_5899()
getName()
func_195762_a()
getName()
public InputStream
b(String arg0)
method_21330(String arg0)
getRootResource(String arg0)
func_195763_b(String arg0)
getRootResourceStream(String arg0)