Class SimpleTexture.TextureData
java.lang.Object
net.minecraft.client.renderer.texture.SimpleTexture.TextureData
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
- SimpleTexture
-
Field Summary
Modifier and TypeFieldDescriptionprivate final IOException
private final NativeImage
private final TextureMetadataSection
-
Constructor Summary
ConstructorDescriptionTextureData
(IOException p_i50473_1_) TextureData
(TextureMetadataSection p_i50474_1_, NativeImage p_i50474_2_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
getImage()
static SimpleTexture.TextureData
load
(IResourceManager p_217799_0_, ResourceLocation p_217799_1_) void
-
Field Details
-
metadata
-
image
-
exception
-
-
Constructor Details
-
TextureData
-
TextureData
-
-
Method Details
-
load
public static SimpleTexture.TextureData load(IResourceManager p_217799_0_, ResourceLocation p_217799_1_) -
getTextureMetadata
-
getImage
- Throws:
IOException
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
throwIfError
- Throws:
IOException
-