Package net.minecraft.client.resources
Class SkinManager
java.lang.Object
net.minecraft.client.resources.SkinManager
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final com.google.common.cache.LoadingCache<String,
Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type, com.mojang.authlib.minecraft.MinecraftProfileTexture>> private final com.mojang.authlib.minecraft.MinecraftSessionService
private final File
private final TextureManager
-
Constructor Summary
ConstructorDescriptionSkinManager
(TextureManager p_i1044_1_, File p_i1044_2_, com.mojang.authlib.minecraft.MinecraftSessionService p_i1044_3_) -
Method Summary
Modifier and TypeMethodDescriptionMap<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type,
com.mojang.authlib.minecraft.MinecraftProfileTexture> getInsecureSkinInformation
(com.mojang.authlib.GameProfile p_152788_1_) void
registerSkins
(com.mojang.authlib.GameProfile p_152790_1_, SkinManager.ISkinAvailableCallback p_152790_2_, boolean p_152790_3_) registerTexture
(com.mojang.authlib.minecraft.MinecraftProfileTexture p_152792_1_, com.mojang.authlib.minecraft.MinecraftProfileTexture.Type p_152792_2_) private ResourceLocation
registerTexture
(com.mojang.authlib.minecraft.MinecraftProfileTexture p_152789_1_, com.mojang.authlib.minecraft.MinecraftProfileTexture.Type p_152789_2_, SkinManager.ISkinAvailableCallback p_152789_3_)
-
Field Details
-
textureManager
-
skinsDirectory
-
sessionService
private final com.mojang.authlib.minecraft.MinecraftSessionService sessionService -
insecureSkinCache
-
-
Constructor Details
-
SkinManager
public SkinManager(TextureManager p_i1044_1_, File p_i1044_2_, com.mojang.authlib.minecraft.MinecraftSessionService p_i1044_3_)
-
-
Method Details
-
registerTexture
public ResourceLocation registerTexture(com.mojang.authlib.minecraft.MinecraftProfileTexture p_152792_1_, com.mojang.authlib.minecraft.MinecraftProfileTexture.Type p_152792_2_) -
registerTexture
private ResourceLocation registerTexture(com.mojang.authlib.minecraft.MinecraftProfileTexture p_152789_1_, com.mojang.authlib.minecraft.MinecraftProfileTexture.Type p_152789_2_, @Nullable SkinManager.ISkinAvailableCallback p_152789_3_) -
registerSkins
public void registerSkins(com.mojang.authlib.GameProfile p_152790_1_, SkinManager.ISkinAvailableCallback p_152790_2_, boolean p_152790_3_) -
getInsecureSkinInformation
public Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type,com.mojang.authlib.minecraft.MinecraftProfileTexture> getInsecureSkinInformation(com.mojang.authlib.GameProfile p_152788_1_)
-