Class PlayerSkinProvider

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

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

    • TEXTURES

      private static final String TEXTURES
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lgaf;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;
    • cache

      Mappings:
      Namespace Name Mixin selector
      official b Lgaf;b: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 c Lgaf;c:Lgaf$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 d Lgaf;d:Lgaf$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 e Lgaf;e:Lgaf$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> Lgaf;<init>(Lfzf;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 Lgaf;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 Lgaf;b(Lcom/mojang/authlib/GameProfile;)Lgae;
      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 Lgaf;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(com.mojang.authlib.GameProfile profile, PlayerSkinProvider.Textures textures)
      Mappings:
      Namespace Name Mixin selector
      official a Lgaf;a(Lcom/mojang/authlib/GameProfile;Lgaf$c;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_52859 Lnet/minecraft/class_1071;method_52859(Lcom/mojang/authlib/GameProfile;Lnet/minecraft/class_1071$class_8688;)Ljava/util/concurrent/CompletableFuture;
      named fetchSkinTextures Lnet/minecraft/client/texture/PlayerSkinProvider;fetchSkinTextures(Lcom/mojang/authlib/GameProfile;Lnet/minecraft/client/texture/PlayerSkinProvider$Textures;)Ljava/util/concurrent/CompletableFuture;
    • getTextureEntry

      @Nullable static @Nullable com.mojang.authlib.properties.Property getTextureEntry(com.mojang.authlib.GameProfile profile)
      Mappings:
      Namespace Name Mixin selector
      official d Lgaf;d(Lcom/mojang/authlib/GameProfile;)Lcom/mojang/authlib/properties/Property;
      intermediary method_52865 Lnet/minecraft/class_1071;method_52865(Lcom/mojang/authlib/GameProfile;)Lcom/mojang/authlib/properties/Property;
      named getTextureEntry Lnet/minecraft/client/texture/PlayerSkinProvider;getTextureEntry(Lcom/mojang/authlib/GameProfile;)Lcom/mojang/authlib/properties/Property;