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 official fka$a
intermediary net/minecraft/class_1049$class_4006
named net/minecraft/client/texture/ResourceTexture$TextureData
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @Nullable IOException
private final @Nullable NativeImage
private final @Nullable TextureResourceMetadata
-
Constructor Summary
ConstructorsConstructorDescriptionTextureData
(@Nullable TextureResourceMetadata metadata, NativeImage image) TextureData
(IOException exception) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
close()
getImage()
static ResourceTexture.TextureData
load
(ResourceManager resourceManager, Identifier id)
-
Field Details
-
metadata
- Mappings:
Namespace Name Mixin selector official a
Lfka$a;a:Lfln;
intermediary field_17895
Lnet/minecraft/class_1049$class_4006;field_17895:Lnet/minecraft/class_1084;
named metadata
Lnet/minecraft/client/texture/ResourceTexture$TextureData;metadata:Lnet/minecraft/client/resource/metadata/TextureResourceMetadata;
-
image
- Mappings:
Namespace Name Mixin selector official b
Lfka$a;b:Ldzq;
intermediary field_17896
Lnet/minecraft/class_1049$class_4006;field_17896:Lnet/minecraft/class_1011;
named image
Lnet/minecraft/client/texture/ResourceTexture$TextureData;image:Lnet/minecraft/client/texture/NativeImage;
-
exception
- Mappings:
Namespace Name Mixin selector official c
Lfka$a;c:Ljava/io/IOException;
intermediary field_17897
Lnet/minecraft/class_1049$class_4006;field_17897:Ljava/io/IOException;
named exception
Lnet/minecraft/client/texture/ResourceTexture$TextureData;exception:Ljava/io/IOException;
-
-
Constructor Details
-
TextureData
- Mappings:
Namespace Name Mixin selector official <init>
Lfka$a;<init>(Ljava/io/IOException;)V
intermediary <init>
Lnet/minecraft/class_1049$class_4006;<init>(Ljava/io/IOException;)V
named <init>
Lnet/minecraft/client/texture/ResourceTexture$TextureData;<init>(Ljava/io/IOException;)V
-
TextureData
- Mappings:
Namespace Name Mixin selector official <init>
Lfka$a;<init>(Lfln;Ldzq;)V
intermediary <init>
Lnet/minecraft/class_1049$class_4006;<init>(Lnet/minecraft/class_1084;Lnet/minecraft/class_1011;)V
named <init>
Lnet/minecraft/client/texture/ResourceTexture$TextureData;<init>(Lnet/minecraft/client/resource/metadata/TextureResourceMetadata;Lnet/minecraft/client/texture/NativeImage;)V
-
-
Method Details
-
load
- Mappings:
Namespace Name Mixin selector official a
Lfka$a;a(Laim;Labb;)Lfka$a;
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;
named load
Lnet/minecraft/client/texture/ResourceTexture$TextureData;load(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/texture/ResourceTexture$TextureData;
-
getMetadata
- Mappings:
Namespace Name Mixin selector official a
Lfka$a;a()Lfln;
intermediary method_18155
Lnet/minecraft/class_1049$class_4006;method_18155()Lnet/minecraft/class_1084;
named getMetadata
Lnet/minecraft/client/texture/ResourceTexture$TextureData;getMetadata()Lnet/minecraft/client/resource/metadata/TextureResourceMetadata;
-
getImage
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lfka$a;b()Ldzq;
intermediary method_18157
Lnet/minecraft/class_1049$class_4006;method_18157()Lnet/minecraft/class_1011;
named getImage
Lnet/minecraft/client/texture/ResourceTexture$TextureData;getImage()Lnet/minecraft/client/texture/NativeImage;
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
checkException
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official c
Lfka$a;c()V
intermediary method_18158
Lnet/minecraft/class_1049$class_4006;method_18158()V
named checkException
Lnet/minecraft/client/texture/ResourceTexture$TextureData;checkException()V
-