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 IOException
private final NativeImage
private final TextureMetadataSection
-
Constructor Summary
ConstructorsConstructorDescriptionTextureImage
(IOException pException) TextureImage
(TextureMetadataSection pMetadata, NativeImage pImage) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
getImage()
static SimpleTexture.TextureImage
load
(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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
throwIfError
- Throws:
IOException
-