Package net.minecraft.client.texture
Class PlayerSkinTextureDownloader
java.lang.Object
net.minecraft.client.texture.PlayerSkinTextureDownloader
- Mappings:
Namespace Name named net/minecraft/client/texture/PlayerSkinTextureDownloader
intermediary net/minecraft/class_10538
official hem
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Logger
private static final int
private static final int
private static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static NativeImage
static CompletableFuture
<Identifier> downloadAndRegisterTexture
(Identifier textureId, Path path, String uri, boolean remap) private static CompletableFuture
<Identifier> registerTexture
(Identifier textureId, NativeImage image) private static NativeImage
remapTexture
(NativeImage image, String uri) private static void
stripAlpha
(NativeImage image, int x1, int y1, int x2, int y2) private static void
stripColor
(NativeImage image, int x1, int y1, int x2, int y2)
-
Field Details
-
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
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
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
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
-
Method Details
-
downloadAndRegisterTexture
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
- 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
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
- 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
- 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
- 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
-