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 hyv
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Proxyprivate final TextureManagerprivate final Executorprivate static final Loggerprivate static final intprivate static final intprivate static final int -
Constructor Summary
ConstructorsConstructorDescriptionPlayerSkinTextureDownloader(Proxy proxy, TextureManager textureManager, Executor executor) -
Method Summary
Modifier and TypeMethodDescriptionprivate NativeImagedownloadAndRegisterTexture(Identifier identifier, Path path, String string, boolean bool) private CompletableFuture<Identifier> registerTexture(Identifier identifier, NativeImage nativeImage) 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 aLhyv;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 bLhyv;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 cLhyv;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 dLhyv;d:I
-
field_62484
- Mappings:
Namespace Name Mixin selector named field_62484Lnet/minecraft/client/texture/PlayerSkinTextureDownloader;field_62484:Ljava/net/Proxy;intermediary field_62484Lnet/minecraft/class_10538;field_62484:Ljava/net/Proxy;official eLhyv;e:Ljava/net/Proxy;
-
field_62485
- Mappings:
Namespace Name Mixin selector named field_62485Lnet/minecraft/client/texture/PlayerSkinTextureDownloader;field_62485:Lnet/minecraft/client/texture/TextureManager;intermediary field_62485Lnet/minecraft/class_10538;field_62485:Lnet/minecraft/class_1060;official fLhyv;f:Lhze;
-
field_62486
- Mappings:
Namespace Name Mixin selector named field_62486Lnet/minecraft/client/texture/PlayerSkinTextureDownloader;field_62486:Ljava/util/concurrent/Executor;intermediary field_62486Lnet/minecraft/class_10538;field_62486:Ljava/util/concurrent/Executor;official gLhyv;g:Ljava/util/concurrent/Executor;
-
-
Constructor Details
-
PlayerSkinTextureDownloader
-
-
Method Details
-
downloadAndRegisterTexture
public CompletableFuture<Identifier> downloadAndRegisterTexture(Identifier identifier, Path path, String string, boolean bool) - 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 aLhyv;a(Lamw;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 aLhyv;a(Ljava/nio/file/Path;Ljava/lang/String;)Lfrp;
-
registerTexture
private CompletableFuture<Identifier> registerTexture(Identifier identifier, NativeImage nativeImage) - 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 aLhyv;a(Lamw;Lfrp;)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 aLhyv;a(Lfrp;Ljava/lang/String;)Lfrp;
-
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 aLhyv;a(Lfrp;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 bLhyv;b(Lfrp;IIII)V
-