Class SkinManager

java.lang.Object
net.minecraft.client.resources.SkinManager

public class SkinManager extends Object
  • Field Details

    • textureManager

      private final TextureManager textureManager
    • skinsDirectory

      private final File skinsDirectory
    • sessionService

      private final com.mojang.authlib.minecraft.MinecraftSessionService sessionService
    • insecureSkinCache

      private final com.google.common.cache.LoadingCache<String,Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type,com.mojang.authlib.minecraft.MinecraftProfileTexture>> 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_)