Class PlayerSkinTextureDownloader

java.lang.Object
net.minecraft.client.texture.PlayerSkinTextureDownloader

@Environment(CLIENT) public class PlayerSkinTextureDownloader extends Object
Mappings:
Namespace Name
named net/minecraft/client/texture/PlayerSkinTextureDownloader
intermediary net/minecraft/class_10538
official hem
  • Field Details Link icon

    • LOGGER Link icon

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/client/texture/PlayerSkinTextureDownloader;LOGGER:Lorg/slf4j/Logger;
      intermediary field_55530 Lnet/minecraft/class_10538;field_55530:Lorg/slf4j/Logger;
      official a Lhem;a:Lorg/slf4j/Logger;
    • SKIN_WIDTH Link icon

      private static final int SKIN_WIDTH
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named SKIN_WIDTH Lnet/minecraft/client/texture/PlayerSkinTextureDownloader;SKIN_WIDTH:I
      intermediary field_55531 Lnet/minecraft/class_10538;field_55531:I
      official b Lhem;b:I
    • SKIN_HEIGHT Link icon

      private static final int SKIN_HEIGHT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named SKIN_HEIGHT Lnet/minecraft/client/texture/PlayerSkinTextureDownloader;SKIN_HEIGHT:I
      intermediary field_55532 Lnet/minecraft/class_10538;field_55532:I
      official c Lhem;c:I
    • OLD_SKIN_HEIGHT Link icon

      private static final int OLD_SKIN_HEIGHT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named OLD_SKIN_HEIGHT Lnet/minecraft/client/texture/PlayerSkinTextureDownloader;OLD_SKIN_HEIGHT:I
      intermediary field_55533 Lnet/minecraft/class_10538;field_55533:I
      official d Lhem;d:I
  • Constructor Details Link icon

    • PlayerSkinTextureDownloader Link icon

      public PlayerSkinTextureDownloader()
  • Method Details Link icon

    • downloadAndRegisterTexture Link icon

      public static CompletableFuture<Identifier> downloadAndRegisterTexture(Identifier textureId, Path path, String uri, boolean remap)
      Mappings:
      Namespace Name Mixin selector
      named downloadAndRegisterTexture Lnet/minecraft/client/texture/PlayerSkinTextureDownloader;downloadAndRegisterTexture(Lnet/minecraft/util/Identifier;Ljava/nio/file/Path;Ljava/lang/String;Z)Ljava/util/concurrent/CompletableFuture;
      intermediary method_65861 Lnet/minecraft/class_10538;method_65861(Lnet/minecraft/class_2960;Ljava/nio/file/Path;Ljava/lang/String;Z)Ljava/util/concurrent/CompletableFuture;
      official a Lhem;a(Lakv;Ljava/nio/file/Path;Ljava/lang/String;Z)Ljava/util/concurrent/CompletableFuture;
    • download Link icon

      private static NativeImage download(Path path, String uri) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named download Lnet/minecraft/client/texture/PlayerSkinTextureDownloader;download(Ljava/nio/file/Path;Ljava/lang/String;)Lnet/minecraft/client/texture/NativeImage;
      intermediary method_65865 Lnet/minecraft/class_10538;method_65865(Ljava/nio/file/Path;Ljava/lang/String;)Lnet/minecraft/class_1011;
      official a Lhem;a(Ljava/nio/file/Path;Ljava/lang/String;)Lfev;
    • registerTexture Link icon

      private static CompletableFuture<Identifier> registerTexture(Identifier textureId, NativeImage image)
      Mappings:
      Namespace Name Mixin selector
      named registerTexture Lnet/minecraft/client/texture/PlayerSkinTextureDownloader;registerTexture(Lnet/minecraft/util/Identifier;Lnet/minecraft/client/texture/NativeImage;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_65860 Lnet/minecraft/class_10538;method_65860(Lnet/minecraft/class_2960;Lnet/minecraft/class_1011;)Ljava/util/concurrent/CompletableFuture;
      official a Lhem;a(Lakv;Lfev;)Ljava/util/concurrent/CompletableFuture;
    • remapTexture Link icon

      private static NativeImage remapTexture(NativeImage image, String uri)
      Mappings:
      Namespace Name Mixin selector
      named remapTexture Lnet/minecraft/client/texture/PlayerSkinTextureDownloader;remapTexture(Lnet/minecraft/client/texture/NativeImage;Ljava/lang/String;)Lnet/minecraft/client/texture/NativeImage;
      intermediary method_65863 Lnet/minecraft/class_10538;method_65863(Lnet/minecraft/class_1011;Ljava/lang/String;)Lnet/minecraft/class_1011;
      official a Lhem;a(Lfev;Ljava/lang/String;)Lfev;
    • stripColor Link icon

      private static void stripColor(NativeImage image, int x1, int y1, int x2, int y2)
      Mappings:
      Namespace Name Mixin selector
      named stripColor Lnet/minecraft/client/texture/PlayerSkinTextureDownloader;stripColor(Lnet/minecraft/client/texture/NativeImage;IIII)V
      intermediary method_65862 Lnet/minecraft/class_10538;method_65862(Lnet/minecraft/class_1011;IIII)V
      official a Lhem;a(Lfev;IIII)V
    • stripAlpha Link icon

      private static void stripAlpha(NativeImage image, int x1, int y1, int x2, int y2)
      Mappings:
      Namespace Name Mixin selector
      named stripAlpha Lnet/minecraft/client/texture/PlayerSkinTextureDownloader;stripAlpha(Lnet/minecraft/client/texture/NativeImage;IIII)V
      intermediary method_65868 Lnet/minecraft/class_10538;method_65868(Lnet/minecraft/class_1011;IIII)V
      official b Lhem;b(Lfev;IIII)V