Class SimpleTexture.TextureImage
java.lang.Object
net.minecraft.client.renderer.texture.SimpleTexture.TextureImage
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
- SimpleTexture
-
Field Summary
Modifier and TypeFieldDescriptionprivate IOException
private NativeImage
private TextureMetadataSection
-
Constructor Summary
ConstructorDescriptionTextureImage(IOException p_118153_)
TextureImage(TextureMetadataSection p_118150_, NativeImage p_118151_)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
getImage()
static SimpleTexture.TextureImage
load(ResourceManager p_118156_, ResourceLocation p_118157_)
void
-
Field Details
-
metadata
-
image
-
exception
-
-
Constructor Details
-
TextureImage
-
TextureImage
-
-
Method Details
-
load
public static SimpleTexture.TextureImage load(ResourceManager p_118156_, ResourceLocation p_118157_) -
getTextureMetadata
-
getImage
- Throws:
IOException
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
throwIfError
- Throws:
IOException
-