public class SkinManager
extends java.lang.Object
修飾子とタイプ | クラスと説明 |
---|---|
static interface |
SkinManager.ISkinAvailableCallback |
コンストラクタと説明 |
---|
SkinManager(TextureManager textureManagerInstance,
java.io.File skinCacheDirectory,
com.mojang.authlib.minecraft.MinecraftSessionService sessionService) |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
loadProfileTextures(com.mojang.authlib.GameProfile profile,
SkinManager.ISkinAvailableCallback skinAvailableCallback,
boolean requireSecure) |
ResourceLocation |
loadSkin(com.mojang.authlib.minecraft.MinecraftProfileTexture profileTexture,
com.mojang.authlib.minecraft.MinecraftProfileTexture.Type textureType)
Used in the Skull renderer to fetch a skin.
|
ResourceLocation |
loadSkin(com.mojang.authlib.minecraft.MinecraftProfileTexture profileTexture,
com.mojang.authlib.minecraft.MinecraftProfileTexture.Type textureType,
SkinManager.ISkinAvailableCallback skinAvailableCallback)
May download the skin if its not in the cache, can be passed a SkinManager#SkinAvailableCallback for handling
|
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.ISkinAvailableCallback skinAvailableCallback)
public void loadProfileTextures(com.mojang.authlib.GameProfile profile, SkinManager.ISkinAvailableCallback skinAvailableCallback, boolean requireSecure)
public java.util.Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type,com.mojang.authlib.minecraft.MinecraftProfileTexture> loadSkinFromCache(com.mojang.authlib.GameProfile profile)