Class PlayerSkinProvider

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

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

    • TEXTURES

      public static final String TEXTURES
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lezs;a:Ljava/lang/String;
      intermediary field_32970 Lnet/minecraft/class_1071;field_32970:Ljava/lang/String;
      named TEXTURES Lnet/minecraft/client/texture/PlayerSkinProvider;TEXTURES:Ljava/lang/String;
    • textureManager

      private final TextureManager textureManager
      Mappings:
      Namespace Name Mixin selector
      official b Lezs;b:Lezd;
      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 c Lezs;c: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 d Lezs;d: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 e Lezs;e: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> Lezs;<init>(Lezd;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 Lezs;a(Lcom/mojang/authlib/minecraft/MinecraftProfileTexture;Lcom/mojang/authlib/minecraft/MinecraftProfileTexture$Type;)Lyb;
      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 @Nullable PlayerSkinProvider.SkinTextureAvailableCallback callback)
      Mappings:
      Namespace Name Mixin selector
      official a Lezs;a(Lcom/mojang/authlib/minecraft/MinecraftProfileTexture;Lcom/mojang/authlib/minecraft/MinecraftProfileTexture$Type;Lezs$a;)Lyb;
      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 Lezs;a(Lcom/mojang/authlib/GameProfile;Lezs$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 profile)
      Mappings:
      Namespace Name Mixin selector
      official a Lezs;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;