Package net.minecraft.src
Class TexturePackImplementation
java.lang.Object
net.minecraft.src.TexturePackImplementation
- Direct Known Subclasses:
TexturePackCustom
Deprecated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringDeprecated.First line of texture pack description (from /pack.txt) displayed in the GUIprotected StringDeprecated.Second line of texture pack description (from /pack.txt) displayed in the GUIfinal FileDeprecated.File object for the texture pack's zip file in TexturePackCustom or the directory in TexturePackFolder.protected BufferedImageDeprecated.The texture pack's thumbnail image loaded from the /pack.png file. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTexturePackImplementation(String par1, File par2File, String par3Str, ITexturePack par4ITexturePack) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidbindThumbnailTexture(RenderEngine par1RenderEngine) Deprecated.Bind the texture id of the pack's thumbnail image, loading it if necessary.voiddeleteTexturePack(RenderEngine par1RenderEngine) Deprecated.Delete the OpenGL texture id of the pack's thumbnail image, and close the zip file in case of TexturePackCustom.func_98137_a(String par1Str, boolean par2) Deprecated.booleanfunc_98138_b(String par1Str, boolean par2) Deprecated.protected abstract InputStreamfunc_98139_b(String var1) Deprecated.abstract booleanfunc_98140_c(String var1) Deprecated.Deprecated.Get the first line of the texture pack description (read from the pack.txt file)getResourceAsStream(String par1Str) Deprecated.Gives a texture resource as InputStream.Deprecated.Get the second line of the texture pack description (read from the pack.txt file)Deprecated.Get the file name of the texture pack, or Default if not from a custom texture packDeprecated.Get the texture pack IDprotected voidDeprecated.Load texture pack description from /pack.txt file in the texture pack
-
Field Details
-
texturePackFile
Deprecated.File object for the texture pack's zip file in TexturePackCustom or the directory in TexturePackFolder. -
firstDescriptionLine
Deprecated.First line of texture pack description (from /pack.txt) displayed in the GUI -
secondDescriptionLine
Deprecated.Second line of texture pack description (from /pack.txt) displayed in the GUI -
thumbnailImage
Deprecated.The texture pack's thumbnail image loaded from the /pack.png file.
-
-
Constructor Details
-
TexturePackImplementation
protected TexturePackImplementation(String par1, File par2File, String par3Str, ITexturePack par4ITexturePack) Deprecated.
-
-
Method Details
-
loadDescription
protected void loadDescription()Deprecated.Load texture pack description from /pack.txt file in the texture pack -
func_98137_a
Deprecated. -
getResourceAsStream
Deprecated.Gives a texture resource as InputStream. -
func_98139_b
Deprecated.- Throws:
IOException
-
deleteTexturePack
Deprecated.Delete the OpenGL texture id of the pack's thumbnail image, and close the zip file in case of TexturePackCustom. -
bindThumbnailTexture
Deprecated.Bind the texture id of the pack's thumbnail image, loading it if necessary. -
func_98138_b
Deprecated. -
func_98140_c
Deprecated. -
getTexturePackID
Deprecated.Get the texture pack ID -
getTexturePackFileName
Deprecated.Get the file name of the texture pack, or Default if not from a custom texture pack -
getFirstDescriptionLine
Deprecated.Get the first line of the texture pack description (read from the pack.txt file) -
getSecondDescriptionLine
Deprecated.Get the second line of the texture pack description (read from the pack.txt file)
-