Package net.minecraft.client.resources
Class SkinManager
java.lang.Object
net.minecraft.client.resources.SkinManager
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static final record
(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final SkinManager.TextureCache
private final SkinManager.TextureCache
(package private) static final org.slf4j.Logger
private final com.mojang.authlib.minecraft.MinecraftSessionService
private final com.google.common.cache.LoadingCache
<SkinManager.CacheKey, CompletableFuture<PlayerSkin>> private final SkinManager.TextureCache
-
Constructor Summary
ConstructorDescriptionSkinManager
(TextureManager p_118812_, Path p_299617_, com.mojang.authlib.minecraft.MinecraftSessionService p_118814_, Executor p_299732_) -
Method Summary
Modifier and TypeMethodDescriptiongetInsecureSkin
(com.mojang.authlib.GameProfile p_298019_) getOrLoad
(com.mojang.authlib.GameProfile p_298661_) lookupInsecure
(com.mojang.authlib.GameProfile p_298295_) (package private) CompletableFuture
<PlayerSkin> registerTextures
(UUID p_312099_, com.mojang.authlib.minecraft.MinecraftProfileTextures p_313047_)
-
Field Details
-
LOGGER
static final org.slf4j.Logger LOGGER -
sessionService
private final com.mojang.authlib.minecraft.MinecraftSessionService sessionService -
skinCache
private final com.google.common.cache.LoadingCache<SkinManager.CacheKey,CompletableFuture<PlayerSkin>> skinCache -
skinTextures
-
capeTextures
-
elytraTextures
-
-
Constructor Details
-
SkinManager
public SkinManager(TextureManager p_118812_, Path p_299617_, com.mojang.authlib.minecraft.MinecraftSessionService p_118814_, Executor p_299732_)
-
-
Method Details
-
lookupInsecure
-
getInsecureSkin
-
getOrLoad
-
registerTextures
CompletableFuture<PlayerSkin> registerTextures(UUID p_312099_, com.mojang.authlib.minecraft.MinecraftProfileTextures p_313047_)
-