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_294690_, com.mojang.authlib.minecraft.MinecraftSessionService p_118814_, Executor p_294105_) -
Method Summary
Modifier and TypeMethodDescriptiongetInsecureSkin
(com.mojang.authlib.GameProfile p_294261_) getOrLoad
(com.mojang.authlib.GameProfile p_294865_) lookupInsecure
(com.mojang.authlib.GameProfile p_295432_) (package private) CompletableFuture<PlayerSkin>
registerTextures
(UUID p_307544_, com.mojang.authlib.minecraft.MinecraftProfileTextures p_307606_)
-
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_294690_, com.mojang.authlib.minecraft.MinecraftSessionService p_118814_, Executor p_294105_)
-
-
Method Details
-
lookupInsecure
-
getInsecureSkin
-
getOrLoad
-
registerTextures
CompletableFuture<PlayerSkin> registerTextures(UUID p_307544_, com.mojang.authlib.minecraft.MinecraftProfileTextures p_307606_)
-