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_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_) (package private) static com.mojang.authlib.properties.Property
getTextureProperty
(com.mojang.authlib.GameProfile p_295149_) lookupInsecure
(com.mojang.authlib.GameProfile p_295432_) (package private) CompletableFuture<PlayerSkin>
registerTextures
(com.mojang.authlib.GameProfile p_295204_, SkinManager.TextureInfo p_296177_)
-
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_294690_, com.mojang.authlib.minecraft.MinecraftSessionService p_118814_, Executor p_294105_)
-
-
Method Details
-
lookupInsecure
-
getInsecureSkin
-
getOrLoad
-
registerTextures
CompletableFuture<PlayerSkin> registerTextures(com.mojang.authlib.GameProfile p_295204_, SkinManager.TextureInfo p_296177_) -
getTextureProperty
@Nullable static com.mojang.authlib.properties.Property getTextureProperty(com.mojang.authlib.GameProfile p_295149_)
-