Class PlayerSkinProvider

java.lang.Object
net.minecraft.client.texture.PlayerSkinProvider

@Environment(CLIENT)
public class PlayerSkinProvider
extends Object
Mappings:
Namespace Name
official esk
intermediary net/minecraft/class_1071
named net/minecraft/client/texture/PlayerSkinProvider
  • Field Details

    • textureManager

      private final TextureManager textureManager
      Mappings:
      Namespace Name Mixin selector
      official a Lesk;a:Lerv;
      intermediary field_5304 Lnet/minecraft/class_1071;field_5304:Lnet/minecraft/class_1060;
      named textureManager Lnet/minecraft/client/texture/PlayerSkinProvider;textureManager:Lnet/minecraft/client/texture/TextureManager;
    • skinCacheDir

      private final File skinCacheDir
      Mappings:
      Namespace Name Mixin selector
      official b Lesk;b:Ljava/io/File;
      intermediary field_5305 Lnet/minecraft/class_1071;field_5305:Ljava/io/File;
      named skinCacheDir Lnet/minecraft/client/texture/PlayerSkinProvider;skinCacheDir:Ljava/io/File;
    • sessionService

      private final com.mojang.authlib.minecraft.MinecraftSessionService sessionService
      Mappings:
      Namespace Name Mixin selector
      official c Lesk;c:Lcom/mojang/authlib/minecraft/MinecraftSessionService;
      intermediary field_5308 Lnet/minecraft/class_1071;field_5308:Lcom/mojang/authlib/minecraft/MinecraftSessionService;
      named sessionService Lnet/minecraft/client/texture/PlayerSkinProvider;sessionService:Lcom/mojang/authlib/minecraft/MinecraftSessionService;
    • skinCache

      private final LoadingCache<String,​Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type,​com.mojang.authlib.minecraft.MinecraftProfileTexture>> skinCache
      Mappings:
      Namespace Name Mixin selector
      official d Lesk;d:Lcom/google/common/cache/LoadingCache;
      intermediary field_5306 Lnet/minecraft/class_1071;field_5306:Lcom/google/common/cache/LoadingCache;
      named skinCache Lnet/minecraft/client/texture/PlayerSkinProvider;skinCache:Lcom/google/common/cache/LoadingCache;
  • Constructor Details

    • PlayerSkinProvider

      public PlayerSkinProvider​(TextureManager textureManager, File skinCacheDir, com.mojang.authlib.minecraft.MinecraftSessionService sessionService)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lesk;<init>(Lerv;Ljava/io/File;Lcom/mojang/authlib/minecraft/MinecraftSessionService;)V
      intermediary <init> Lnet/minecraft/class_1071;<init>(Lnet/minecraft/class_1060;Ljava/io/File;Lcom/mojang/authlib/minecraft/MinecraftSessionService;)V
      named <init> Lnet/minecraft/client/texture/PlayerSkinProvider;<init>(Lnet/minecraft/client/texture/TextureManager;Ljava/io/File;Lcom/mojang/authlib/minecraft/MinecraftSessionService;)V
  • Method Details

    • loadSkin

      public Identifier loadSkin​(com.mojang.authlib.minecraft.MinecraftProfileTexture profileTexture, com.mojang.authlib.minecraft.MinecraftProfileTexture.Type type)
      Mappings:
      Namespace Name Mixin selector
      official a Lesk;a(Lcom/mojang/authlib/minecraft/MinecraftProfileTexture;Lcom/mojang/authlib/minecraft/MinecraftProfileTexture$Type;)Lwb;
      intermediary method_4656 Lnet/minecraft/class_1071;method_4656(Lcom/mojang/authlib/minecraft/MinecraftProfileTexture;Lcom/mojang/authlib/minecraft/MinecraftProfileTexture$Type;)Lnet/minecraft/class_2960;
      named loadSkin Lnet/minecraft/client/texture/PlayerSkinProvider;loadSkin(Lcom/mojang/authlib/minecraft/MinecraftProfileTexture;Lcom/mojang/authlib/minecraft/MinecraftProfileTexture$Type;)Lnet/minecraft/util/Identifier;
    • loadSkin

      private Identifier loadSkin​(com.mojang.authlib.minecraft.MinecraftProfileTexture profileTexture, com.mojang.authlib.minecraft.MinecraftProfileTexture.Type type, @Nullable PlayerSkinProvider.SkinTextureAvailableCallback callback)
      Mappings:
      Namespace Name Mixin selector
      official a Lesk;a(Lcom/mojang/authlib/minecraft/MinecraftProfileTexture;Lcom/mojang/authlib/minecraft/MinecraftProfileTexture$Type;Lesk$a;)Lwb;
      intermediary method_4651 Lnet/minecraft/class_1071;method_4651(Lcom/mojang/authlib/minecraft/MinecraftProfileTexture;Lcom/mojang/authlib/minecraft/MinecraftProfileTexture$Type;Lnet/minecraft/class_1071$class_1072;)Lnet/minecraft/class_2960;
      named loadSkin Lnet/minecraft/client/texture/PlayerSkinProvider;loadSkin(Lcom/mojang/authlib/minecraft/MinecraftProfileTexture;Lcom/mojang/authlib/minecraft/MinecraftProfileTexture$Type;Lnet/minecraft/client/texture/PlayerSkinProvider$SkinTextureAvailableCallback;)Lnet/minecraft/util/Identifier;
    • loadSkin

      public void loadSkin​(com.mojang.authlib.GameProfile profile, PlayerSkinProvider.SkinTextureAvailableCallback callback, boolean requireSecure)
      Mappings:
      Namespace Name Mixin selector
      official a Lesk;a(Lcom/mojang/authlib/GameProfile;Lesk$a;Z)V
      intermediary method_4652 Lnet/minecraft/class_1071;method_4652(Lcom/mojang/authlib/GameProfile;Lnet/minecraft/class_1071$class_1072;Z)V
      named loadSkin Lnet/minecraft/client/texture/PlayerSkinProvider;loadSkin(Lcom/mojang/authlib/GameProfile;Lnet/minecraft/client/texture/PlayerSkinProvider$SkinTextureAvailableCallback;Z)V
    • getTextures

      public Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type,​com.mojang.authlib.minecraft.MinecraftProfileTexture> getTextures​(com.mojang.authlib.GameProfile gameProfile)
      Mappings:
      Namespace Name Mixin selector
      official a Lesk;a(Lcom/mojang/authlib/GameProfile;)Ljava/util/Map;
      intermediary method_4654 Lnet/minecraft/class_1071;method_4654(Lcom/mojang/authlib/GameProfile;)Ljava/util/Map;
      named getTextures Lnet/minecraft/client/texture/PlayerSkinProvider;getTextures(Lcom/mojang/authlib/GameProfile;)Ljava/util/Map;