Class SimpleTexture.TextureImage
java.lang.Object
net.minecraft.client.renderer.texture.SimpleTexture.TextureImage
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
SimpleTexture
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final IOExceptionprivate final NativeImageprivate final TextureMetadataSection -
Constructor Summary
ConstructorsConstructorDescriptionTextureImage(IOException pException) TextureImage(TextureMetadataSection pMetadata, NativeImage pImage) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()getImage()static SimpleTexture.TextureImageload(ResourceManager pResourceManager, ResourceLocation pLocation) void
-
Field Details
-
metadata
-
image
-
exception
-
-
Constructor Details
-
TextureImage
-
TextureImage
-
-
Method Details
-
load
public static SimpleTexture.TextureImage load(ResourceManager pResourceManager, ResourceLocation pLocation) -
getTextureMetadata
-
getImage
- Throws:
IOException
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
throwIfError
- Throws:
IOException
-