Class SkinManager

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

public class SkinManager extends Object
  • Field Details

    • PROPERTY_TEXTURES

      public static final String PROPERTY_TEXTURES
      See Also:
    • 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_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

      public ResourceLocation getInsecureSkinLocation(com.mojang.authlib.GameProfile p_240307_)