Class PlayerSkinProvider.FileCache

java.lang.Object
net.minecraft.client.texture.PlayerSkinProvider.FileCache
Enclosing class:
PlayerSkinProvider

@Environment(CLIENT) private static class PlayerSkinProvider.FileCache extends Object
Mappings:
Namespace Name
named net/minecraft/client/texture/PlayerSkinProvider$FileCache
intermediary net/minecraft/class_1071$class_8687
official grm$b
  • Field Details

    • textureManager

      private final TextureManager textureManager
      Mappings:
      Namespace Name Mixin selector
      named textureManager Lnet/minecraft/client/texture/PlayerSkinProvider$FileCache;textureManager:Lnet/minecraft/client/texture/TextureManager;
      intermediary field_45639 Lnet/minecraft/class_1071$class_8687;field_45639:Lnet/minecraft/class_1060;
      official a Lgrm$b;a:Lgqm;
    • directory

      private final Path directory
      Mappings:
      Namespace Name Mixin selector
      named directory Lnet/minecraft/client/texture/PlayerSkinProvider$FileCache;directory:Ljava/nio/file/Path;
      intermediary field_45640 Lnet/minecraft/class_1071$class_8687;field_45640:Ljava/nio/file/Path;
      official b Lgrm$b;b:Ljava/nio/file/Path;
    • type

      private final com.mojang.authlib.minecraft.MinecraftProfileTexture.Type type
      Mappings:
      Namespace Name Mixin selector
      named type Lnet/minecraft/client/texture/PlayerSkinProvider$FileCache;type:Lcom/mojang/authlib/minecraft/MinecraftProfileTexture$Type;
      intermediary field_45641 Lnet/minecraft/class_1071$class_8687;field_45641:Lcom/mojang/authlib/minecraft/MinecraftProfileTexture$Type;
      official c Lgrm$b;c:Lcom/mojang/authlib/minecraft/MinecraftProfileTexture$Type;
    • hashToTexture

      private final Map<String,CompletableFuture<Identifier>> hashToTexture
      Mappings:
      Namespace Name Mixin selector
      named hashToTexture Lnet/minecraft/client/texture/PlayerSkinProvider$FileCache;hashToTexture:Ljava/util/Map;
      intermediary field_45642 Lnet/minecraft/class_1071$class_8687;field_45642:Ljava/util/Map;
      official d Lgrm$b;d:Ljava/util/Map;
  • Constructor Details

    • FileCache

      FileCache(TextureManager textureManager, Path directory, com.mojang.authlib.minecraft.MinecraftProfileTexture.Type type)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/texture/PlayerSkinProvider$FileCache;<init>(Lnet/minecraft/client/texture/TextureManager;Ljava/nio/file/Path;Lcom/mojang/authlib/minecraft/MinecraftProfileTexture$Type;)V
      intermediary <init> Lnet/minecraft/class_1071$class_8687;<init>(Lnet/minecraft/class_1060;Ljava/nio/file/Path;Lcom/mojang/authlib/minecraft/MinecraftProfileTexture$Type;)V
      official <init> Lgrm$b;<init>(Lgqm;Ljava/nio/file/Path;Lcom/mojang/authlib/minecraft/MinecraftProfileTexture$Type;)V
  • Method Details

    • get

      public CompletableFuture<Identifier> get(com.mojang.authlib.minecraft.MinecraftProfileTexture texture)
      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/client/texture/PlayerSkinProvider$FileCache;get(Lcom/mojang/authlib/minecraft/MinecraftProfileTexture;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_52870 Lnet/minecraft/class_1071$class_8687;method_52870(Lcom/mojang/authlib/minecraft/MinecraftProfileTexture;)Ljava/util/concurrent/CompletableFuture;
      official a Lgrm$b;a(Lcom/mojang/authlib/minecraft/MinecraftProfileTexture;)Ljava/util/concurrent/CompletableFuture;
    • store

      private CompletableFuture<Identifier> store(com.mojang.authlib.minecraft.MinecraftProfileTexture texture)
      Mappings:
      Namespace Name Mixin selector
      named store Lnet/minecraft/client/texture/PlayerSkinProvider$FileCache;store(Lcom/mojang/authlib/minecraft/MinecraftProfileTexture;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_52873 Lnet/minecraft/class_1071$class_8687;method_52873(Lcom/mojang/authlib/minecraft/MinecraftProfileTexture;)Ljava/util/concurrent/CompletableFuture;
      official b Lgrm$b;b(Lcom/mojang/authlib/minecraft/MinecraftProfileTexture;)Ljava/util/concurrent/CompletableFuture;
    • getTexturePath

      private Identifier getTexturePath(String hash)
      Mappings:
      Namespace Name Mixin selector
      named getTexturePath Lnet/minecraft/client/texture/PlayerSkinProvider$FileCache;getTexturePath(Ljava/lang/String;)Lnet/minecraft/util/Identifier;
      intermediary method_52871 Lnet/minecraft/class_1071$class_8687;method_52871(Ljava/lang/String;)Lnet/minecraft/class_2960;
      official a Lgrm$b;a(Ljava/lang/String;)Lakr;