Package net.minecraft.client.texture
Class PlayerSkinProvider
java.lang.Object
net.minecraft.client.texture.PlayerSkinProvider
- Mappings:
Namespace Name official fiw
intermediary net/minecraft/class_1071
named net/minecraft/client/texture/PlayerSkinProvider
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
-
Field Summary
Modifier and TypeFieldDescriptionprivate final com.mojang.authlib.minecraft.MinecraftSessionService
private final LoadingCache<String,
Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type, com.mojang.authlib.minecraft.MinecraftProfileTexture>> private final File
private final TextureManager
static final String
-
Constructor Summary
ConstructorDescriptionPlayerSkinProvider
(TextureManager textureManager, File skinCacheDir, com.mojang.authlib.minecraft.MinecraftSessionService sessionService) -
Method Summary
Modifier and TypeMethodDescriptionMap<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type,
com.mojang.authlib.minecraft.MinecraftProfileTexture> getTextures
(com.mojang.authlib.GameProfile profile) void
loadSkin
(com.mojang.authlib.GameProfile profile, PlayerSkinProvider.SkinTextureAvailableCallback callback, boolean requireSecure) loadSkin
(com.mojang.authlib.minecraft.MinecraftProfileTexture profileTexture, com.mojang.authlib.minecraft.MinecraftProfileTexture.Type type) private Identifier
loadSkin
(com.mojang.authlib.minecraft.MinecraftProfileTexture profileTexture, com.mojang.authlib.minecraft.MinecraftProfileTexture.Type type, @Nullable PlayerSkinProvider.SkinTextureAvailableCallback callback)
-
Field Details
-
TEXTURES
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lfiw;a:Ljava/lang/String;
intermediary field_32970
Lnet/minecraft/class_1071;field_32970:Ljava/lang/String;
named TEXTURES
Lnet/minecraft/client/texture/PlayerSkinProvider;TEXTURES:Ljava/lang/String;
-
textureManager
- Mappings:
Namespace Name Mixin selector official b
Lfiw;b:Lfih;
intermediary field_5304
Lnet/minecraft/class_1071;field_5304:Lnet/minecraft/class_1060;
named textureManager
Lnet/minecraft/client/texture/PlayerSkinProvider;textureManager:Lnet/minecraft/client/texture/TextureManager;
-
skinCacheDir
- Mappings:
Namespace Name Mixin selector official c
Lfiw;c:Ljava/io/File;
intermediary field_5305
Lnet/minecraft/class_1071;field_5305:Ljava/io/File;
named skinCacheDir
Lnet/minecraft/client/texture/PlayerSkinProvider;skinCacheDir:Ljava/io/File;
-
sessionService
private final com.mojang.authlib.minecraft.MinecraftSessionService sessionService- Mappings:
Namespace Name Mixin selector official d
Lfiw;d:Lcom/mojang/authlib/minecraft/MinecraftSessionService;
intermediary field_5308
Lnet/minecraft/class_1071;field_5308:Lcom/mojang/authlib/minecraft/MinecraftSessionService;
named sessionService
Lnet/minecraft/client/texture/PlayerSkinProvider;sessionService:Lcom/mojang/authlib/minecraft/MinecraftSessionService;
-
skinCache
private final LoadingCache<String,Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type, skinCachecom.mojang.authlib.minecraft.MinecraftProfileTexture>> - Mappings:
Namespace Name Mixin selector official e
Lfiw;e:Lcom/google/common/cache/LoadingCache;
intermediary field_5306
Lnet/minecraft/class_1071;field_5306:Lcom/google/common/cache/LoadingCache;
named skinCache
Lnet/minecraft/client/texture/PlayerSkinProvider;skinCache:Lcom/google/common/cache/LoadingCache;
-
-
Constructor Details
-
PlayerSkinProvider
public PlayerSkinProvider(TextureManager textureManager, File skinCacheDir, com.mojang.authlib.minecraft.MinecraftSessionService sessionService) - Mappings:
Namespace Name Mixin selector official <init>
Lfiw;<init>(Lfih;Ljava/io/File;Lcom/mojang/authlib/minecraft/MinecraftSessionService;)V
intermediary <init>
Lnet/minecraft/class_1071;<init>(Lnet/minecraft/class_1060;Ljava/io/File;Lcom/mojang/authlib/minecraft/MinecraftSessionService;)V
named <init>
Lnet/minecraft/client/texture/PlayerSkinProvider;<init>(Lnet/minecraft/client/texture/TextureManager;Ljava/io/File;Lcom/mojang/authlib/minecraft/MinecraftSessionService;)V
-
-
Method Details
-
loadSkin
public Identifier loadSkin(com.mojang.authlib.minecraft.MinecraftProfileTexture profileTexture, com.mojang.authlib.minecraft.MinecraftProfileTexture.Type type) - Mappings:
Namespace Name Mixin selector official a
Lfiw;a(Lcom/mojang/authlib/minecraft/MinecraftProfileTexture;Lcom/mojang/authlib/minecraft/MinecraftProfileTexture$Type;)Laaj;
intermediary method_4656
Lnet/minecraft/class_1071;method_4656(Lcom/mojang/authlib/minecraft/MinecraftProfileTexture;Lcom/mojang/authlib/minecraft/MinecraftProfileTexture$Type;)Lnet/minecraft/class_2960;
named loadSkin
Lnet/minecraft/client/texture/PlayerSkinProvider;loadSkin(Lcom/mojang/authlib/minecraft/MinecraftProfileTexture;Lcom/mojang/authlib/minecraft/MinecraftProfileTexture$Type;)Lnet/minecraft/util/Identifier;
-
loadSkin
private Identifier loadSkin(com.mojang.authlib.minecraft.MinecraftProfileTexture profileTexture, com.mojang.authlib.minecraft.MinecraftProfileTexture.Type type, @Nullable @Nullable PlayerSkinProvider.SkinTextureAvailableCallback callback) - Mappings:
Namespace Name Mixin selector official a
Lfiw;a(Lcom/mojang/authlib/minecraft/MinecraftProfileTexture;Lcom/mojang/authlib/minecraft/MinecraftProfileTexture$Type;Lfiw$a;)Laaj;
intermediary method_4651
Lnet/minecraft/class_1071;method_4651(Lcom/mojang/authlib/minecraft/MinecraftProfileTexture;Lcom/mojang/authlib/minecraft/MinecraftProfileTexture$Type;Lnet/minecraft/class_1071$class_1072;)Lnet/minecraft/class_2960;
named loadSkin
Lnet/minecraft/client/texture/PlayerSkinProvider;loadSkin(Lcom/mojang/authlib/minecraft/MinecraftProfileTexture;Lcom/mojang/authlib/minecraft/MinecraftProfileTexture$Type;Lnet/minecraft/client/texture/PlayerSkinProvider$SkinTextureAvailableCallback;)Lnet/minecraft/util/Identifier;
-
loadSkin
public void loadSkin(com.mojang.authlib.GameProfile profile, PlayerSkinProvider.SkinTextureAvailableCallback callback, boolean requireSecure) - Mappings:
Namespace Name Mixin selector official a
Lfiw;a(Lcom/mojang/authlib/GameProfile;Lfiw$a;Z)V
intermediary method_4652
Lnet/minecraft/class_1071;method_4652(Lcom/mojang/authlib/GameProfile;Lnet/minecraft/class_1071$class_1072;Z)V
named loadSkin
Lnet/minecraft/client/texture/PlayerSkinProvider;loadSkin(Lcom/mojang/authlib/GameProfile;Lnet/minecraft/client/texture/PlayerSkinProvider$SkinTextureAvailableCallback;Z)V
-
getTextures
public Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type,com.mojang.authlib.minecraft.MinecraftProfileTexture> getTextures(com.mojang.authlib.GameProfile profile) - Mappings:
Namespace Name Mixin selector official a
Lfiw;a(Lcom/mojang/authlib/GameProfile;)Ljava/util/Map;
intermediary method_4654
Lnet/minecraft/class_1071;method_4654(Lcom/mojang/authlib/GameProfile;)Ljava/util/Map;
named getTextures
Lnet/minecraft/client/texture/PlayerSkinProvider;getTextures(Lcom/mojang/authlib/GameProfile;)Ljava/util/Map;
-