Package net.minecraft.client.texture
Class PlayerSkinProvider.FileCache
java.lang.Object
net.minecraft.client.texture.PlayerSkinProvider.FileCache
- Enclosing class:
PlayerSkinProvider
- Mappings:
Namespace Name named net/minecraft/client/texture/PlayerSkinProvider$FileCache
intermediary net/minecraft/class_1071$class_8687
official hcm$b
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Path
private final Map
<String, CompletableFuture<Identifier>> private final TextureManager
private final com.mojang.authlib.minecraft.MinecraftProfileTexture.Type
-
Constructor Summary
ConstructorDescriptionFileCache
(TextureManager textureManager, Path directory, com.mojang.authlib.minecraft.MinecraftProfileTexture.Type type) -
Method Summary
Modifier and TypeMethodDescriptionget
(com.mojang.authlib.minecraft.MinecraftProfileTexture texture) private Identifier
getTexturePath
(String hash) private CompletableFuture
<Identifier> store
(com.mojang.authlib.minecraft.MinecraftProfileTexture texture)
-
Field Details
-
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
Lhcm$b;a:Lhbl;
-
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
Lhcm$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
Lhcm$b;c:Lcom/mojang/authlib/minecraft/MinecraftProfileTexture$Type;
-
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
Lhcm$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>
Lhcm$b;<init>(Lhbl;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
Lhcm$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
Lhcm$b;b(Lcom/mojang/authlib/minecraft/MinecraftProfileTexture;)Ljava/util/concurrent/CompletableFuture;
-
getTexturePath
- 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
Lhcm$b;a(Ljava/lang/String;)Lalz;
-