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,
MinecraftSessionService sessionService) |
Modifier and Type | Method and Description |
---|---|
void |
loadProfileTextures(GameProfile profile,
SkinManager.SkinAvailableCallback skinAvailableCallback,
boolean requireSecure) |
ResourceLocation |
loadSkin(MinecraftProfileTexture profileTexture,
Type textureType) |
ResourceLocation |
loadSkin(MinecraftProfileTexture profileTexture,
Type textureType,
SkinManager.SkinAvailableCallback skinAvailableCallback) |
java.util.Map<Type,MinecraftProfileTexture> |
loadSkinFromCache(GameProfile profile) |
public SkinManager(TextureManager textureManagerInstance, java.io.File skinCacheDirectory, MinecraftSessionService sessionService)
public ResourceLocation loadSkin(MinecraftProfileTexture profileTexture, Type textureType)
public ResourceLocation loadSkin(MinecraftProfileTexture profileTexture, Type textureType, SkinManager.SkinAvailableCallback skinAvailableCallback)
public void loadProfileTextures(GameProfile profile, SkinManager.SkinAvailableCallback skinAvailableCallback, boolean requireSecure)
public java.util.Map<Type,MinecraftProfileTexture> loadSkinFromCache(GameProfile profile)