Package net.minecraft.client.resources
Class SkinManager.TextureCache
java.lang.Object
net.minecraft.client.resources.SkinManager.TextureCache
- Enclosing class:
SkinManager
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Path
private final TextureManager
private final Map<String,
CompletableFuture<ResourceLocation>> private final com.mojang.authlib.minecraft.MinecraftProfileTexture.Type
-
Constructor Summary
ConstructorDescriptionTextureCache
(TextureManager p_295278_, Path p_294453_, com.mojang.authlib.minecraft.MinecraftProfileTexture.Type p_294220_) -
Method Summary
Modifier and TypeMethodDescriptiongetOrLoad
(com.mojang.authlib.minecraft.MinecraftProfileTexture p_294862_) private ResourceLocation
getTextureLocation
(String p_295006_) private CompletableFuture<ResourceLocation>
registerTexture
(com.mojang.authlib.minecraft.MinecraftProfileTexture p_295647_)
-
Field Details
-
textureManager
-
root
-
type
private final com.mojang.authlib.minecraft.MinecraftProfileTexture.Type type -
textures
-
-
Constructor Details
-
TextureCache
TextureCache(TextureManager p_295278_, Path p_294453_, com.mojang.authlib.minecraft.MinecraftProfileTexture.Type p_294220_)
-
-
Method Details
-
getOrLoad
public CompletableFuture<ResourceLocation> getOrLoad(com.mojang.authlib.minecraft.MinecraftProfileTexture p_294862_) -
registerTexture
private CompletableFuture<ResourceLocation> registerTexture(com.mojang.authlib.minecraft.MinecraftProfileTexture p_295647_) -
getTextureLocation
-