Package net.minecraft.client.texture
Class PlayerSkinTextureDownloader
java.lang.Object
net.minecraft.client.texture.PlayerSkinTextureDownloader
- Mappings:
Namespace Name named net/minecraft/client/texture/PlayerSkinTextureDownloaderintermediary net/minecraft/class_10538official hkj
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Loggerprivate static final intprivate static final intprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static NativeImagestatic CompletableFuture<Identifier> downloadAndRegisterTexture(Identifier textureId, Path path, String uri, boolean remap) private static CompletableFuture<Identifier> registerTexture(Identifier textureId, NativeImage image) private static NativeImageremapTexture(NativeImage image, String uri) private static voidstripAlpha(NativeImage image, int x1, int y1, int x2, int y2) private static voidstripColor(NativeImage image, int x1, int y1, int x2, int y2)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/client/texture/PlayerSkinTextureDownloader;LOGGER:Lorg/slf4j/Logger;intermediary field_55530Lnet/minecraft/class_10538;field_55530:Lorg/slf4j/Logger;official aLhkj;a:Lorg/slf4j/Logger;
-
SKIN_WIDTH
private static final int SKIN_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector named SKIN_WIDTHLnet/minecraft/client/texture/PlayerSkinTextureDownloader;SKIN_WIDTH:Iintermediary field_55531Lnet/minecraft/class_10538;field_55531:Iofficial bLhkj;b:I
-
SKIN_HEIGHT
private static final int SKIN_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector named SKIN_HEIGHTLnet/minecraft/client/texture/PlayerSkinTextureDownloader;SKIN_HEIGHT:Iintermediary field_55532Lnet/minecraft/class_10538;field_55532:Iofficial cLhkj;c:I
-
OLD_SKIN_HEIGHT
private static final int OLD_SKIN_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector named OLD_SKIN_HEIGHTLnet/minecraft/client/texture/PlayerSkinTextureDownloader;OLD_SKIN_HEIGHT:Iintermediary field_55533Lnet/minecraft/class_10538;field_55533:Iofficial dLhkj;d:I
-
-
Constructor Details
-
PlayerSkinTextureDownloader
public PlayerSkinTextureDownloader()
-
-
Method Details
-
downloadAndRegisterTexture
public static CompletableFuture<Identifier> downloadAndRegisterTexture(Identifier textureId, Path path, String uri, boolean remap) - Mappings:
Namespace Name Mixin selector named downloadAndRegisterTextureLnet/minecraft/client/texture/PlayerSkinTextureDownloader;downloadAndRegisterTexture(Lnet/minecraft/util/Identifier;Ljava/nio/file/Path;Ljava/lang/String;Z)Ljava/util/concurrent/CompletableFuture;intermediary method_65861Lnet/minecraft/class_10538;method_65861(Lnet/minecraft/class_2960;Ljava/nio/file/Path;Ljava/lang/String;Z)Ljava/util/concurrent/CompletableFuture;official aLhkj;a(Lalr;Ljava/nio/file/Path;Ljava/lang/String;Z)Ljava/util/concurrent/CompletableFuture;
-
download
- Throws:
IOException- Mappings:
Namespace Name Mixin selector named downloadLnet/minecraft/client/texture/PlayerSkinTextureDownloader;download(Ljava/nio/file/Path;Ljava/lang/String;)Lnet/minecraft/client/texture/NativeImage;intermediary method_65865Lnet/minecraft/class_10538;method_65865(Ljava/nio/file/Path;Ljava/lang/String;)Lnet/minecraft/class_1011;official aLhkj;a(Ljava/nio/file/Path;Ljava/lang/String;)Lfkf;
-
registerTexture
private static CompletableFuture<Identifier> registerTexture(Identifier textureId, NativeImage image) - Mappings:
Namespace Name Mixin selector named registerTextureLnet/minecraft/client/texture/PlayerSkinTextureDownloader;registerTexture(Lnet/minecraft/util/Identifier;Lnet/minecraft/client/texture/NativeImage;)Ljava/util/concurrent/CompletableFuture;intermediary method_65860Lnet/minecraft/class_10538;method_65860(Lnet/minecraft/class_2960;Lnet/minecraft/class_1011;)Ljava/util/concurrent/CompletableFuture;official aLhkj;a(Lalr;Lfkf;)Ljava/util/concurrent/CompletableFuture;
-
remapTexture
- Mappings:
Namespace Name Mixin selector named remapTextureLnet/minecraft/client/texture/PlayerSkinTextureDownloader;remapTexture(Lnet/minecraft/client/texture/NativeImage;Ljava/lang/String;)Lnet/minecraft/client/texture/NativeImage;intermediary method_65863Lnet/minecraft/class_10538;method_65863(Lnet/minecraft/class_1011;Ljava/lang/String;)Lnet/minecraft/class_1011;official aLhkj;a(Lfkf;Ljava/lang/String;)Lfkf;
-
stripColor
- Mappings:
Namespace Name Mixin selector named stripColorLnet/minecraft/client/texture/PlayerSkinTextureDownloader;stripColor(Lnet/minecraft/client/texture/NativeImage;IIII)Vintermediary method_65862Lnet/minecraft/class_10538;method_65862(Lnet/minecraft/class_1011;IIII)Vofficial aLhkj;a(Lfkf;IIII)V
-
stripAlpha
- Mappings:
Namespace Name Mixin selector named stripAlphaLnet/minecraft/client/texture/PlayerSkinTextureDownloader;stripAlpha(Lnet/minecraft/client/texture/NativeImage;IIII)Vintermediary method_65868Lnet/minecraft/class_10538;method_65868(Lnet/minecraft/class_1011;IIII)Vofficial bLhkj;b(Lfkf;IIII)V
-