public class DefaultPlayerSkin
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
TEXTURE_ALEX
The default skin for the Alex model.
|
private static ResourceLocation |
TEXTURE_STEVE
The default skin for the Steve model.
|
Constructor and Description |
---|
DefaultPlayerSkin() |
Modifier and Type | Method and Description |
---|---|
static ResourceLocation |
getDefaultSkin(java.util.UUID playerUUID)
Retrieves the default skin for this player.
|
static ResourceLocation |
getDefaultSkinLegacy()
Returns the default skind for versions prior to 1.8, which is always the Steve texture.
|
static java.lang.String |
getSkinType(java.util.UUID playerUUID)
Retrieves the type of skin that a player is using.
|
private static boolean |
isSlimSkin(java.util.UUID playerUUID)
Checks if a players skin model is slim or the default.
|
private static final ResourceLocation TEXTURE_STEVE
private static final ResourceLocation TEXTURE_ALEX
public static ResourceLocation getDefaultSkinLegacy()
public static ResourceLocation getDefaultSkin(java.util.UUID playerUUID)
public static java.lang.String getSkinType(java.util.UUID playerUUID)
private static boolean isSlimSkin(java.util.UUID playerUUID)