类 ResourceTexture.TextureData
- java.lang.Object
-
- net.minecraft.client.texture.ResourceTexture.TextureData
-
- 所有已实现的接口:
Closeable,AutoCloseable
- 封闭类:
- ResourceTexture
@Environment(CLIENT) public static class ResourceTexture.TextureData extends Object implements Closeable
- Mappings:
Namespace Name official evz$aintermediary net/minecraft/class_1049$class_4006named net/minecraft/client/texture/ResourceTexture$TextureData
-
-
字段概要
字段 修饰符和类型 字段 说明 private @Nullable IOExceptionexceptionprivate @Nullable NativeImageimageprivate @Nullable TextureResourceMetadatametadata
-
构造器概要
构造器 构造器 说明 TextureData(@Nullable TextureResourceMetadata metadata, NativeImage image)TextureData(IOException exception)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 voidcheckException()voidclose()NativeImagegetImage()@Nullable TextureResourceMetadatagetMetadata()static ResourceTexture.TextureDataload(ResourceManager resourceManager, Identifier identifier)
-
-
-
字段详细资料
-
metadata
@Nullable private final @Nullable TextureResourceMetadata metadata
- Mappings:
Namespace Name Mixin selector official aLevz$a;a:Lexm;intermediary field_17895Lnet/minecraft/class_1049$class_4006;field_17895:Lnet/minecraft/class_1084;named metadataLnet/minecraft/client/texture/ResourceTexture$TextureData;metadata:Lnet/minecraft/client/resource/metadata/TextureResourceMetadata;
-
image
@Nullable private final @Nullable NativeImage image
- Mappings:
Namespace Name Mixin selector official bLevz$a;b:Ldoj;intermediary field_17896Lnet/minecraft/class_1049$class_4006;field_17896:Lnet/minecraft/class_1011;named imageLnet/minecraft/client/texture/ResourceTexture$TextureData;image:Lnet/minecraft/client/texture/NativeImage;
-
exception
@Nullable private final @Nullable IOException exception
- Mappings:
Namespace Name Mixin selector official cLevz$a;c:Ljava/io/IOException;intermediary field_17897Lnet/minecraft/class_1049$class_4006;field_17897:Ljava/io/IOException;named exceptionLnet/minecraft/client/texture/ResourceTexture$TextureData;exception:Ljava/io/IOException;
-
-
构造器详细资料
-
TextureData
public TextureData(IOException exception)
- Mappings:
Namespace Name Mixin selector official <init>Levz$a;<init>(Ljava/io/IOException;)Vintermediary <init>Lnet/minecraft/class_1049$class_4006;<init>(Ljava/io/IOException;)Vnamed <init>Lnet/minecraft/client/texture/ResourceTexture$TextureData;<init>(Ljava/io/IOException;)V
-
TextureData
public TextureData(@Nullable @Nullable TextureResourceMetadata metadata, NativeImage image)
- Mappings:
Namespace Name Mixin selector official <init>Levz$a;<init>(Lexm;Ldoj;)Vintermediary <init>Lnet/minecraft/class_1049$class_4006;<init>(Lnet/minecraft/class_1084;Lnet/minecraft/class_1011;)Vnamed <init>Lnet/minecraft/client/texture/ResourceTexture$TextureData;<init>(Lnet/minecraft/client/resource/metadata/TextureResourceMetadata;Lnet/minecraft/client/texture/NativeImage;)V
-
-
方法详细资料
-
load
public static ResourceTexture.TextureData load(ResourceManager resourceManager, Identifier identifier)
- Mappings:
Namespace Name Mixin selector official aLevz$a;a(Ladl;Lwp;)Levz$a;intermediary method_18156Lnet/minecraft/class_1049$class_4006;method_18156(Lnet/minecraft/class_3300;Lnet/minecraft/class_2960;)Lnet/minecraft/class_1049$class_4006;named loadLnet/minecraft/client/texture/ResourceTexture$TextureData;load(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/texture/ResourceTexture$TextureData;
-
getMetadata
@Nullable public @Nullable TextureResourceMetadata getMetadata()
- Mappings:
Namespace Name Mixin selector official aLevz$a;a()Lexm;intermediary method_18155Lnet/minecraft/class_1049$class_4006;method_18155()Lnet/minecraft/class_1084;named getMetadataLnet/minecraft/client/texture/ResourceTexture$TextureData;getMetadata()Lnet/minecraft/client/resource/metadata/TextureResourceMetadata;
-
getImage
public NativeImage getImage() throws IOException
- 抛出:
IOException- Mappings:
Namespace Name Mixin selector official bLevz$a;b()Ldoj;intermediary method_18157Lnet/minecraft/class_1049$class_4006;method_18157()Lnet/minecraft/class_1011;named getImageLnet/minecraft/client/texture/ResourceTexture$TextureData;getImage()Lnet/minecraft/client/texture/NativeImage;
-
close
public void close()
- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Closeable- Mappings:
Namespace Name Mixin selector official closeLevz$a;close()Vintermediary closeLnet/minecraft/class_1049$class_4006;close()Vnamed closeLnet/minecraft/client/texture/ResourceTexture$TextureData;close()V
-
checkException
public void checkException() throws IOException- 抛出:
IOException- Mappings:
Namespace Name Mixin selector official cLevz$a;c()Vintermediary method_18158Lnet/minecraft/class_1049$class_4006;method_18158()Vnamed checkExceptionLnet/minecraft/client/texture/ResourceTexture$TextureData;checkException()V
-
-