类 ResourceTexture.TextureData

    • 字段详细资料

      • metadata

        @Nullable
        private final @Nullable TextureResourceMetadata metadata
        Mappings:
        Namespace Name Mixin selector
        official a Levz$a;a:Lexm;
        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

        @Nullable
        private final @Nullable NativeImage image
        Mappings:
        Namespace Name Mixin selector
        official b Levz$a;b:Ldoj;
        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

        @Nullable
        private final @Nullable IOException exception
        Mappings:
        Namespace Name Mixin selector
        official c Levz$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;
    • 构造器详细资料

      • TextureData

        public TextureData​(IOException exception)
        Mappings:
        Namespace Name Mixin selector
        official <init> Levz$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

        public TextureData​(@Nullable
                           @Nullable TextureResourceMetadata metadata,
                           NativeImage image)
        Mappings:
        Namespace Name Mixin selector
        official <init> Levz$a;<init>(Lexm;Ldoj;)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
    • 方法详细资料

      • load

        public static ResourceTexture.TextureData load​(ResourceManager resourceManager,
                                                       Identifier identifier)
        Mappings:
        Namespace Name Mixin selector
        official a Levz$a;a(Ladl;Lwp;)Levz$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

        @Nullable
        public @Nullable TextureResourceMetadata getMetadata()
        Mappings:
        Namespace Name Mixin selector
        official a Levz$a;a()Lexm;
        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

        public NativeImage getImage()
                             throws IOException
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official b Levz$a;b()Ldoj;
        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()
        指定者:
        close 在接口中 AutoCloseable
        指定者:
        close 在接口中 Closeable
        Mappings:
        Namespace Name Mixin selector
        official close Levz$a;close()V
        intermediary close Lnet/minecraft/class_1049$class_4006;close()V
        named close Lnet/minecraft/client/texture/ResourceTexture$TextureData;close()V
      • checkException

        public void checkException()
                            throws IOException
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official c Levz$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