public class SkinManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
SkinManager.SkinAvailableCallback |
Constructor and Description |
---|
SkinManager(TextureManager textureManagerInstance,
java.io.File skinCacheDirectory,
com.mojang.authlib.minecraft.MinecraftSessionService sessionService) |
Modifier and Type | Method and Description |
---|---|
void |
loadProfileTextures(com.mojang.authlib.GameProfile profile,
SkinManager.SkinAvailableCallback skinAvailableCallback,
boolean requireSecure) |
ResourceLocation |
loadSkin(com.mojang.authlib.minecraft.MinecraftProfileTexture profileTexture,
com.mojang.authlib.minecraft.MinecraftProfileTexture.Type textureType) |
ResourceLocation |
loadSkin(com.mojang.authlib.minecraft.MinecraftProfileTexture profileTexture,
com.mojang.authlib.minecraft.MinecraftProfileTexture.Type textureType,
SkinManager.SkinAvailableCallback skinAvailableCallback) |
java.util.Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type,com.mojang.authlib.minecraft.MinecraftProfileTexture> |
loadSkinFromCache(com.mojang.authlib.GameProfile profile) |
public SkinManager(TextureManager textureManagerInstance, java.io.File skinCacheDirectory, com.mojang.authlib.minecraft.MinecraftSessionService sessionService)
public ResourceLocation loadSkin(com.mojang.authlib.minecraft.MinecraftProfileTexture profileTexture, com.mojang.authlib.minecraft.MinecraftProfileTexture.Type textureType)
public ResourceLocation loadSkin(com.mojang.authlib.minecraft.MinecraftProfileTexture profileTexture, com.mojang.authlib.minecraft.MinecraftProfileTexture.Type textureType, @Nullable SkinManager.SkinAvailableCallback skinAvailableCallback)
public void loadProfileTextures(com.mojang.authlib.GameProfile profile, SkinManager.SkinAvailableCallback skinAvailableCallback, boolean requireSecure)
public java.util.Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type,com.mojang.authlib.minecraft.MinecraftProfileTexture> loadSkinFromCache(com.mojang.authlib.GameProfile profile)