Package net.minecraft.client.resources
Class SkinManager
- java.lang.Object
-
- net.minecraft.client.resources.SkinManager
-
public class SkinManager extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SkinManager.ISkinAvailableCallback
-
Field Summary
Fields Modifier and Type Field Description private com.google.common.cache.LoadingCache<java.lang.String,java.util.Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type,com.mojang.authlib.minecraft.MinecraftProfileTexture>>
insecureSkinCache
private com.mojang.authlib.minecraft.MinecraftSessionService
sessionService
private java.io.File
skinsDirectory
private TextureManager
textureManager
-
Constructor Summary
Constructors Constructor Description SkinManager(TextureManager p_i1044_1_, java.io.File p_i1044_2_, com.mojang.authlib.minecraft.MinecraftSessionService p_i1044_3_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<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_)
ResourceLocation
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 Detail
-
textureManager
private final TextureManager textureManager
-
skinsDirectory
private final java.io.File skinsDirectory
-
sessionService
private final com.mojang.authlib.minecraft.MinecraftSessionService sessionService
-
insecureSkinCache
private final com.google.common.cache.LoadingCache<java.lang.String,java.util.Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type,com.mojang.authlib.minecraft.MinecraftProfileTexture>> insecureSkinCache
-
-
Constructor Detail
-
SkinManager
public SkinManager(TextureManager p_i1044_1_, java.io.File p_i1044_2_, com.mojang.authlib.minecraft.MinecraftSessionService p_i1044_3_)
-
-
Method Detail
-
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 java.util.Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type,com.mojang.authlib.minecraft.MinecraftProfileTexture> getInsecureSkinInformation(com.mojang.authlib.GameProfile p_152788_1_)
-
-