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$TextureDataintermediary net/minecraft/class_1049$class_4006official gqe$a
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @Nullable IOExceptionprivate final @Nullable NativeImageprivate final @Nullable TextureResourceMetadata -
Constructor Summary
ConstructorsConstructorDescriptionTextureData(IOException exception) TextureData(@Nullable TextureResourceMetadata metadata, NativeImage image) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclose()getImage()static ResourceTexture.TextureDataload(ResourceManager resourceManager, Identifier id)
-
Field Details
-
metadata
- Mappings:
Namespace Name Mixin selector named metadataLnet/minecraft/client/texture/ResourceTexture$TextureData;metadata:Lnet/minecraft/client/resource/metadata/TextureResourceMetadata;intermediary field_17895Lnet/minecraft/class_1049$class_4006;field_17895:Lnet/minecraft/class_1084;official aLgqe$a;a:Lgsi;
-
image
- Mappings:
Namespace Name Mixin selector named imageLnet/minecraft/client/texture/ResourceTexture$TextureData;image:Lnet/minecraft/client/texture/NativeImage;intermediary field_17896Lnet/minecraft/class_1049$class_4006;field_17896:Lnet/minecraft/class_1011;official bLgqe$a;b:Lfaj;
-
exception
- Mappings:
Namespace Name Mixin selector named exceptionLnet/minecraft/client/texture/ResourceTexture$TextureData;exception:Ljava/io/IOException;intermediary field_17897Lnet/minecraft/class_1049$class_4006;field_17897:Ljava/io/IOException;official cLgqe$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;)Vintermediary <init>Lnet/minecraft/class_1049$class_4006;<init>(Ljava/io/IOException;)Vofficial <init>Lgqe$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;)Vintermediary <init>Lnet/minecraft/class_1049$class_4006;<init>(Lnet/minecraft/class_1084;Lnet/minecraft/class_1011;)Vofficial <init>Lgqe$a;<init>(Lgsi;Lfaj;)V
-
-
Method Details
-
load
- Mappings:
Namespace Name Mixin selector named loadLnet/minecraft/client/texture/ResourceTexture$TextureData;load(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/texture/ResourceTexture$TextureData;intermediary method_18156Lnet/minecraft/class_1049$class_4006;method_18156(Lnet/minecraft/class_3300;Lnet/minecraft/class_2960;)Lnet/minecraft/class_1049$class_4006;official aLgqe$a;a(Laue;Lakr;)Lgqe$a;
-
getMetadata
- Mappings:
Namespace Name Mixin selector named getMetadataLnet/minecraft/client/texture/ResourceTexture$TextureData;getMetadata()Lnet/minecraft/client/resource/metadata/TextureResourceMetadata;intermediary method_18155Lnet/minecraft/class_1049$class_4006;method_18155()Lnet/minecraft/class_1084;official aLgqe$a;a()Lgsi;
-
getImage
- Throws:
IOException- Mappings:
Namespace Name Mixin selector named getImageLnet/minecraft/client/texture/ResourceTexture$TextureData;getImage()Lnet/minecraft/client/texture/NativeImage;intermediary method_18157Lnet/minecraft/class_1049$class_4006;method_18157()Lnet/minecraft/class_1011;official bLgqe$a;b()Lfaj;
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
checkException
- Throws:
IOException- Mappings:
Namespace Name Mixin selector named checkExceptionLnet/minecraft/client/texture/ResourceTexture$TextureData;checkException()Vintermediary method_18158Lnet/minecraft/class_1049$class_4006;method_18158()Vofficial cLgqe$a;c()V
-