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
(package private) static final record
-
Field Summary
Modifier and TypeFieldDescriptionprivate final SkinManager.TextureCache
private final SkinManager.TextureCache
private static final String
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_) (package private) static com.mojang.authlib.properties.Property
getTextureProperty
(com.mojang.authlib.GameProfile p_300071_) lookupInsecure
(com.mojang.authlib.GameProfile p_298295_) (package private) CompletableFuture<PlayerSkin>
registerTextures
(com.mojang.authlib.GameProfile p_299268_, SkinManager.TextureInfo p_298597_)
-
Field Details
-
PROPERTY_TEXTURES
- See Also:
-
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(com.mojang.authlib.GameProfile p_299268_, SkinManager.TextureInfo p_298597_) -
getTextureProperty
@Nullable static com.mojang.authlib.properties.Property getTextureProperty(com.mojang.authlib.GameProfile p_300071_)
-