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_298110_, Path p_297921_, com.mojang.authlib.minecraft.MinecraftProfileTexture.Type p_298775_) -
Method Summary
Modifier and TypeMethodDescriptiongetOrLoad
(com.mojang.authlib.minecraft.MinecraftProfileTexture p_300959_) private ResourceLocation
getTextureLocation
(String p_297392_) private CompletableFuture
<ResourceLocation> registerTexture
(com.mojang.authlib.minecraft.MinecraftProfileTexture p_300607_)
-
Field Details
-
textureManager
-
root
-
type
private final com.mojang.authlib.minecraft.MinecraftProfileTexture.Type type -
textures
-
-
Constructor Details
-
TextureCache
TextureCache(TextureManager p_298110_, Path p_297921_, com.mojang.authlib.minecraft.MinecraftProfileTexture.Type p_298775_)
-
-
Method Details
-
getOrLoad
public CompletableFuture<ResourceLocation> getOrLoad(com.mojang.authlib.minecraft.MinecraftProfileTexture p_300959_) -
registerTexture
private CompletableFuture<ResourceLocation> registerTexture(com.mojang.authlib.minecraft.MinecraftProfileTexture p_300607_) -
getTextureLocation
-