Package net.minecraft.client.resources
Class SkinManager
java.lang.Object
net.minecraft.client.resources.SkinManager
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final record(package private) class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SkinManager.TextureCacheprivate final SkinManager.TextureCache(package private) static final org.slf4j.Loggerprivate final Servicesprivate final LoadingCache<SkinManager.CacheKey, CompletableFuture<Optional<PlayerSkin>>> (package private) final SkinTextureDownloaderprivate final SkinManager.TextureCache -
Constructor Summary
ConstructorsConstructorDescriptionSkinManager(Path skinDirectory, Services services, SkinTextureDownloader skinTextureDownloader, Executor executor) -
Method Summary
Modifier and TypeMethodDescriptioncreateLookup(com.mojang.authlib.GameProfile profile, boolean requireSecure) get(com.mojang.authlib.GameProfile profile) (package private) CompletableFuture<PlayerSkin> registerTextures(UUID uuid, com.mojang.authlib.minecraft.MinecraftProfileTextures textures)
-
Field Details
-
LOGGER
static final org.slf4j.Logger LOGGER -
services
-
skinTextureDownloader
-
skinCache
-
skinTextures
-
capeTextures
-
elytraTextures
-
-
Constructor Details
-
SkinManager
public SkinManager(Path skinDirectory, Services services, SkinTextureDownloader skinTextureDownloader, Executor executor)
-
-
Method Details
-
createLookup
public Supplier<PlayerSkin> createLookup(com.mojang.authlib.GameProfile profile, boolean requireSecure) -
get
-
registerTextures
CompletableFuture<PlayerSkin> registerTextures(UUID uuid, com.mojang.authlib.minecraft.MinecraftProfileTextures textures)
-