Class PlayerSkinProvider

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

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

    • LOGGER

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lgfn;a:Lorg/slf4j/Logger;
      intermediary field_46909 Lnet/minecraft/class_1071;field_46909:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/client/texture/PlayerSkinProvider;LOGGER:Lorg/slf4j/Logger;
    • sessionService

      private final com.mojang.authlib.minecraft.MinecraftSessionService sessionService
      Mappings:
      Namespace Name Mixin selector
      official b Lgfn;b:Lcom/mojang/authlib/minecraft/MinecraftSessionService;
      intermediary field_46910 Lnet/minecraft/class_1071;field_46910:Lcom/mojang/authlib/minecraft/MinecraftSessionService;
      named sessionService Lnet/minecraft/client/texture/PlayerSkinProvider;sessionService:Lcom/mojang/authlib/minecraft/MinecraftSessionService;
    • cache

      Mappings:
      Namespace Name Mixin selector
      official c Lgfn;c:Lcom/google/common/cache/LoadingCache;
      intermediary field_45634 Lnet/minecraft/class_1071;field_45634:Lcom/google/common/cache/LoadingCache;
      named cache Lnet/minecraft/client/texture/PlayerSkinProvider;cache:Lcom/google/common/cache/LoadingCache;
    • skinCache

      private final PlayerSkinProvider.FileCache skinCache
      Mappings:
      Namespace Name Mixin selector
      official d Lgfn;d:Lgfn$b;
      intermediary field_45635 Lnet/minecraft/class_1071;field_45635:Lnet/minecraft/class_1071$class_8687;
      named skinCache Lnet/minecraft/client/texture/PlayerSkinProvider;skinCache:Lnet/minecraft/client/texture/PlayerSkinProvider$FileCache;
    • capeCache

      private final PlayerSkinProvider.FileCache capeCache
      Mappings:
      Namespace Name Mixin selector
      official e Lgfn;e:Lgfn$b;
      intermediary field_45636 Lnet/minecraft/class_1071;field_45636:Lnet/minecraft/class_1071$class_8687;
      named capeCache Lnet/minecraft/client/texture/PlayerSkinProvider;capeCache:Lnet/minecraft/client/texture/PlayerSkinProvider$FileCache;
    • elytraCache

      private final PlayerSkinProvider.FileCache elytraCache
      Mappings:
      Namespace Name Mixin selector
      official f Lgfn;f:Lgfn$b;
      intermediary field_45637 Lnet/minecraft/class_1071;field_45637:Lnet/minecraft/class_1071$class_8687;
      named elytraCache Lnet/minecraft/client/texture/PlayerSkinProvider;elytraCache:Lnet/minecraft/client/texture/PlayerSkinProvider$FileCache;
  • Constructor Details

    • PlayerSkinProvider

      public PlayerSkinProvider(TextureManager textureManager, Path directory, com.mojang.authlib.minecraft.MinecraftSessionService sessionService, Executor executor)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lgfn;<init>(Lgeo;Ljava/nio/file/Path;Lcom/mojang/authlib/minecraft/MinecraftSessionService;Ljava/util/concurrent/Executor;)V
      intermediary <init> Lnet/minecraft/class_1071;<init>(Lnet/minecraft/class_1060;Ljava/nio/file/Path;Lcom/mojang/authlib/minecraft/MinecraftSessionService;Ljava/util/concurrent/Executor;)V
      named <init> Lnet/minecraft/client/texture/PlayerSkinProvider;<init>(Lnet/minecraft/client/texture/TextureManager;Ljava/nio/file/Path;Lcom/mojang/authlib/minecraft/MinecraftSessionService;Ljava/util/concurrent/Executor;)V
  • Method Details

    • getSkinTexturesSupplier

      public Supplier<SkinTextures> getSkinTexturesSupplier(com.mojang.authlib.GameProfile profile)
      Mappings:
      Namespace Name Mixin selector
      official a Lgfn;a(Lcom/mojang/authlib/GameProfile;)Ljava/util/function/Supplier;
      intermediary method_52858 Lnet/minecraft/class_1071;method_52858(Lcom/mojang/authlib/GameProfile;)Ljava/util/function/Supplier;
      named getSkinTexturesSupplier Lnet/minecraft/client/texture/PlayerSkinProvider;getSkinTexturesSupplier(Lcom/mojang/authlib/GameProfile;)Ljava/util/function/Supplier;
    • getSkinTextures

      public SkinTextures getSkinTextures(com.mojang.authlib.GameProfile profile)
      Mappings:
      Namespace Name Mixin selector
      official b Lgfn;b(Lcom/mojang/authlib/GameProfile;)Lgfm;
      intermediary method_52862 Lnet/minecraft/class_1071;method_52862(Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/class_8685;
      named getSkinTextures Lnet/minecraft/client/texture/PlayerSkinProvider;getSkinTextures(Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/client/util/SkinTextures;
    • fetchSkinTextures

      public CompletableFuture<SkinTextures> fetchSkinTextures(com.mojang.authlib.GameProfile profile)
      Mappings:
      Namespace Name Mixin selector
      official c Lgfn;c(Lcom/mojang/authlib/GameProfile;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_52863 Lnet/minecraft/class_1071;method_52863(Lcom/mojang/authlib/GameProfile;)Ljava/util/concurrent/CompletableFuture;
      named fetchSkinTextures Lnet/minecraft/client/texture/PlayerSkinProvider;fetchSkinTextures(Lcom/mojang/authlib/GameProfile;)Ljava/util/concurrent/CompletableFuture;
    • fetchSkinTextures

      CompletableFuture<SkinTextures> fetchSkinTextures(UUID uuid, com.mojang.authlib.minecraft.MinecraftProfileTextures textures)
      Mappings:
      Namespace Name Mixin selector
      official a Lgfn;a(Ljava/util/UUID;Lcom/mojang/authlib/minecraft/MinecraftProfileTextures;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_52859 Lnet/minecraft/class_1071;method_52859(Ljava/util/UUID;Lcom/mojang/authlib/minecraft/MinecraftProfileTextures;)Ljava/util/concurrent/CompletableFuture;
      named fetchSkinTextures Lnet/minecraft/client/texture/PlayerSkinProvider;fetchSkinTextures(Ljava/util/UUID;Lcom/mojang/authlib/minecraft/MinecraftProfileTextures;)Ljava/util/concurrent/CompletableFuture;