Package net.minecraft.client.texture
Class PlayerSkinProvider.FileCache
java.lang.Object
net.minecraft.client.texture.PlayerSkinProvider.FileCache
- Enclosing class:
PlayerSkinProvider
- Mappings:
Namespace Name official gfn$b
intermediary net/minecraft/class_1071$class_8687
named net/minecraft/client/texture/PlayerSkinProvider$FileCache
-
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 official a
Lgfn$b;a:Lgeo;
intermediary field_45639
Lnet/minecraft/class_1071$class_8687;field_45639:Lnet/minecraft/class_1060;
named textureManager
Lnet/minecraft/client/texture/PlayerSkinProvider$FileCache;textureManager:Lnet/minecraft/client/texture/TextureManager;
-
directory
- Mappings:
Namespace Name Mixin selector official b
Lgfn$b;b:Ljava/nio/file/Path;
intermediary field_45640
Lnet/minecraft/class_1071$class_8687;field_45640:Ljava/nio/file/Path;
named directory
Lnet/minecraft/client/texture/PlayerSkinProvider$FileCache;directory:Ljava/nio/file/Path;
-
type
private final com.mojang.authlib.minecraft.MinecraftProfileTexture.Type type- Mappings:
Namespace Name Mixin selector official c
Lgfn$b;c:Lcom/mojang/authlib/minecraft/MinecraftProfileTexture$Type;
intermediary field_45641
Lnet/minecraft/class_1071$class_8687;field_45641:Lcom/mojang/authlib/minecraft/MinecraftProfileTexture$Type;
named type
Lnet/minecraft/client/texture/PlayerSkinProvider$FileCache;type:Lcom/mojang/authlib/minecraft/MinecraftProfileTexture$Type;
-
hashToTexture
- Mappings:
Namespace Name Mixin selector official d
Lgfn$b;d:Ljava/util/Map;
intermediary field_45642
Lnet/minecraft/class_1071$class_8687;field_45642:Ljava/util/Map;
named hashToTexture
Lnet/minecraft/client/texture/PlayerSkinProvider$FileCache;hashToTexture:Ljava/util/Map;
-
-
Constructor Details
-
FileCache
FileCache(TextureManager textureManager, Path directory, com.mojang.authlib.minecraft.MinecraftProfileTexture.Type type) - Mappings:
Namespace Name Mixin selector official <init>
Lgfn$b;<init>(Lgeo;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
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
-
-
Method Details
-
get
public CompletableFuture<Identifier> get(com.mojang.authlib.minecraft.MinecraftProfileTexture texture) - Mappings:
Namespace Name Mixin selector official a
Lgfn$b;a(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;
named get
Lnet/minecraft/client/texture/PlayerSkinProvider$FileCache;get(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 official b
Lgfn$b;b(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;
named store
Lnet/minecraft/client/texture/PlayerSkinProvider$FileCache;store(Lcom/mojang/authlib/minecraft/MinecraftProfileTexture;)Ljava/util/concurrent/CompletableFuture;
-
getTexturePath
- Mappings:
Namespace Name Mixin selector official a
Lgfn$b;a(Ljava/lang/String;)Lahg;
intermediary method_52871
Lnet/minecraft/class_1071$class_8687;method_52871(Ljava/lang/String;)Lnet/minecraft/class_2960;
named getTexturePath
Lnet/minecraft/client/texture/PlayerSkinProvider$FileCache;getTexturePath(Ljava/lang/String;)Lnet/minecraft/util/Identifier;
-