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>> static final String
private final com.mojang.authlib.minecraft.MinecraftSessionService
private final File
private final 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_) getInsecureSkinLocation
(com.mojang.authlib.GameProfile p_240307_) private static ResourceLocation
getTextureLocation
(com.mojang.authlib.minecraft.MinecraftProfileTexture.Type p_242930_, String p_242947_) 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:
-
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_) -
getTextureLocation
private static ResourceLocation getTextureLocation(com.mojang.authlib.minecraft.MinecraftProfileTexture.Type p_242930_, String p_242947_) -
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_) -
getInsecureSkinLocation
-