Package net.minecraft.client.resources
Class SkinManager
java.lang.Object
net.minecraft.client.resources.SkinManager
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate com.google.common.cache.LoadingCache<String,Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type,com.mojang.authlib.minecraft.MinecraftProfileTexture>>
static String
private com.mojang.authlib.minecraft.MinecraftSessionService
private File
private TextureManager
-
Constructor Summary
ConstructorDescriptionSkinManager(TextureManager p_118812_, File p_118813_, com.mojang.authlib.minecraft.MinecraftSessionService p_118814_)
-
Method Summary
Modifier and TypeMethodDescriptionMap<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type,com.mojang.authlib.minecraft.MinecraftProfileTexture>
getInsecureSkinInformation(com.mojang.authlib.GameProfile p_118816_)
void
registerSkins(com.mojang.authlib.GameProfile p_118818_, SkinManager.SkinTextureCallback p_118819_, boolean p_118820_)
registerTexture(com.mojang.authlib.minecraft.MinecraftProfileTexture p_118826_, com.mojang.authlib.minecraft.MinecraftProfileTexture.Type p_118827_)
private ResourceLocation
registerTexture(com.mojang.authlib.minecraft.MinecraftProfileTexture p_118829_, com.mojang.authlib.minecraft.MinecraftProfileTexture.Type p_118830_, SkinManager.SkinTextureCallback p_118831_)
-
Field Details
-
PROPERTY_TEXTURES
- See Also:
- Constant Field Values
-
textureManager
-
skinsDirectory
-
sessionService
private final com.mojang.authlib.minecraft.MinecraftSessionService sessionService -
insecureSkinCache
-
-
Constructor Details
-
SkinManager
public SkinManager(TextureManager p_118812_, File p_118813_, com.mojang.authlib.minecraft.MinecraftSessionService p_118814_)
-
-
Method Details
-
registerTexture
public ResourceLocation registerTexture(com.mojang.authlib.minecraft.MinecraftProfileTexture p_118826_, com.mojang.authlib.minecraft.MinecraftProfileTexture.Type p_118827_) -
registerTexture
private ResourceLocation registerTexture(com.mojang.authlib.minecraft.MinecraftProfileTexture p_118829_, com.mojang.authlib.minecraft.MinecraftProfileTexture.Type p_118830_, @Nullable SkinManager.SkinTextureCallback p_118831_) -
registerSkins
public void registerSkins(com.mojang.authlib.GameProfile p_118818_, SkinManager.SkinTextureCallback p_118819_, boolean p_118820_) -
getInsecureSkinInformation
public Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type,com.mojang.authlib.minecraft.MinecraftProfileTexture> getInsecureSkinInformation(com.mojang.authlib.GameProfile p_118816_)
-