Package net.minecraft.client.texture
Class ResourceTexture.TextureData
java.lang.Object
net.minecraft.client.texture.ResourceTexture.TextureData
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
ResourceTexture
@Environment(CLIENT)
protected static class ResourceTexture.TextureData
extends Object
implements Closeable
- Mappings:
Namespace Name named net/minecraft/client/texture/ResourceTexture$TextureData
intermediary net/minecraft/class_1049$class_4006
official gou$a
-
Field Summary
Modifier and TypeFieldDescriptionprivate final @Nullable IOException
private final @Nullable NativeImage
private final @Nullable TextureResourceMetadata
-
Constructor Summary
ConstructorDescriptionTextureData
(IOException exception) TextureData
(@Nullable TextureResourceMetadata metadata, NativeImage image) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
close()
getImage()
static ResourceTexture.TextureData
load
(ResourceManager resourceManager, Identifier id)
-
Field Details
-
metadata
- Mappings:
Namespace Name Mixin selector named metadata
Lnet/minecraft/client/texture/ResourceTexture$TextureData;metadata:Lnet/minecraft/client/resource/metadata/TextureResourceMetadata;
intermediary field_17895
Lnet/minecraft/class_1049$class_4006;field_17895:Lnet/minecraft/class_1084;
official a
Lgou$a;a:Lgqy;
-
image
- Mappings:
Namespace Name Mixin selector named image
Lnet/minecraft/client/texture/ResourceTexture$TextureData;image:Lnet/minecraft/client/texture/NativeImage;
intermediary field_17896
Lnet/minecraft/class_1049$class_4006;field_17896:Lnet/minecraft/class_1011;
official b
Lgou$a;b:Lezb;
-
exception
- Mappings:
Namespace Name Mixin selector named exception
Lnet/minecraft/client/texture/ResourceTexture$TextureData;exception:Ljava/io/IOException;
intermediary field_17897
Lnet/minecraft/class_1049$class_4006;field_17897:Ljava/io/IOException;
official c
Lgou$a;c:Ljava/io/IOException;
-
-
Constructor Details
-
TextureData
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/texture/ResourceTexture$TextureData;<init>(Ljava/io/IOException;)V
intermediary <init>
Lnet/minecraft/class_1049$class_4006;<init>(Ljava/io/IOException;)V
official <init>
Lgou$a;<init>(Ljava/io/IOException;)V
-
TextureData
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/texture/ResourceTexture$TextureData;<init>(Lnet/minecraft/client/resource/metadata/TextureResourceMetadata;Lnet/minecraft/client/texture/NativeImage;)V
intermediary <init>
Lnet/minecraft/class_1049$class_4006;<init>(Lnet/minecraft/class_1084;Lnet/minecraft/class_1011;)V
official <init>
Lgou$a;<init>(Lgqy;Lezb;)V
-
-
Method Details
-
load
- Mappings:
Namespace Name Mixin selector named load
Lnet/minecraft/client/texture/ResourceTexture$TextureData;load(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/texture/ResourceTexture$TextureData;
intermediary method_18156
Lnet/minecraft/class_1049$class_4006;method_18156(Lnet/minecraft/class_3300;Lnet/minecraft/class_2960;)Lnet/minecraft/class_1049$class_4006;
official a
Lgou$a;a(Laup;Lalf;)Lgou$a;
-
getMetadata
- Mappings:
Namespace Name Mixin selector named getMetadata
Lnet/minecraft/client/texture/ResourceTexture$TextureData;getMetadata()Lnet/minecraft/client/resource/metadata/TextureResourceMetadata;
intermediary method_18155
Lnet/minecraft/class_1049$class_4006;method_18155()Lnet/minecraft/class_1084;
official a
Lgou$a;a()Lgqy;
-
getImage
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector named getImage
Lnet/minecraft/client/texture/ResourceTexture$TextureData;getImage()Lnet/minecraft/client/texture/NativeImage;
intermediary method_18157
Lnet/minecraft/class_1049$class_4006;method_18157()Lnet/minecraft/class_1011;
official b
Lgou$a;b()Lezb;
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
checkException
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector named checkException
Lnet/minecraft/client/texture/ResourceTexture$TextureData;checkException()V
intermediary method_18158
Lnet/minecraft/class_1049$class_4006;method_18158()V
official c
Lgou$a;c()V
-