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 ibc
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Executorprivate static final Loggerprivate static final intprivate final Proxyprivate static final intprivate static final intprivate final TextureManager -
Constructor Summary
ConstructorsConstructorDescriptionPlayerSkinTextureDownloader(Proxy proxy, TextureManager textureManager, Executor executor) -
Method Summary
Modifier and TypeMethodDescriptionprivate NativeImagedownloadAndRegisterTexture(Identifier id, Path path, String url, boolean remap) private CompletableFuture<Identifier> registerTexture(Identifier id, 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 aLibc;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 bLibc;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 cLibc;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 dLibc;d:I
-
proxy
- Mappings:
Namespace Name Mixin selector named proxyLnet/minecraft/client/texture/PlayerSkinTextureDownloader;proxy:Ljava/net/Proxy;intermediary field_62484Lnet/minecraft/class_10538;field_62484:Ljava/net/Proxy;official eLibc;e:Ljava/net/Proxy;
-
textureManager
- Mappings:
Namespace Name Mixin selector named textureManagerLnet/minecraft/client/texture/PlayerSkinTextureDownloader;textureManager:Lnet/minecraft/client/texture/TextureManager;intermediary field_62485Lnet/minecraft/class_10538;field_62485:Lnet/minecraft/class_1060;official fLibc;f:Libl;
-
executor
- Mappings:
Namespace Name Mixin selector named executorLnet/minecraft/client/texture/PlayerSkinTextureDownloader;executor:Ljava/util/concurrent/Executor;intermediary field_62486Lnet/minecraft/class_10538;field_62486:Ljava/util/concurrent/Executor;official gLibc;g:Ljava/util/concurrent/Executor;
-
-
Constructor Details
-
PlayerSkinTextureDownloader
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/texture/PlayerSkinTextureDownloader;<init>(Ljava/net/Proxy;Lnet/minecraft/client/texture/TextureManager;Ljava/util/concurrent/Executor;)Vintermediary <init>Lnet/minecraft/class_10538;<init>(Ljava/net/Proxy;Lnet/minecraft/class_1060;Ljava/util/concurrent/Executor;)Vofficial <init>Libc;<init>(Ljava/net/Proxy;Libl;Ljava/util/concurrent/Executor;)V
-
-
Method Details
-
downloadAndRegisterTexture
public CompletableFuture<Identifier> downloadAndRegisterTexture(Identifier id, Path path, String url, 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 aLibc;a(Lamy;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 aLibc;a(Ljava/nio/file/Path;Ljava/lang/String;)Lfsb;
-
registerTexture
- 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 aLibc;a(Lamy;Lfsb;)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 aLibc;a(Lfsb;Ljava/lang/String;)Lfsb;
-
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 aLibc;a(Lfsb;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 bLibc;b(Lfsb;IIII)V
-