Package net.minecraft.src
Class DefaultResourcePack
java.lang.Object
net.minecraft.src.DefaultResourcePack
- All Implemented Interfaces:
ResourcePack
- Direct Known Subclasses:
ProgrammerArtResourcePack
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddResourceFile(String par1Str, File par2File) getInputStream(ResourceLocation par1ResourceLocation) getPackMetadata(MetadataSerializer par1MetadataSerializer, String par2Str) protected InputStreamgetResourceStream(ResourceLocation par1ResourceLocation) voidreadAssetsDir(File par1File) booleanresourceExists(ResourceLocation par1ResourceLocation)
-
Field Details
-
defaultResourceDomains
-
mapResourceFiles
-
-
Constructor Details
-
DefaultResourcePack
-
-
Method Details
-
getInputStream
- Specified by:
getInputStreamin interfaceResourcePack- Throws:
IOException
-
getResourceStream
-
addResourceFile
-
resourceExists
- Specified by:
resourceExistsin interfaceResourcePack
-
getResourceDomains
- Specified by:
getResourceDomainsin interfaceResourcePack
-
readAssetsDir
-
getPackMetadata
public MetadataSection getPackMetadata(MetadataSerializer par1MetadataSerializer, String par2Str) throws IOException - Specified by:
getPackMetadatain interfaceResourcePack- Throws:
IOException
-
getPackImage
- Specified by:
getPackImagein interfaceResourcePack- Throws:
IOException
-
getPackName
- Specified by:
getPackNamein interfaceResourcePack
-