PlayerSkin

public class PlayerSkin

Class PlayerSkin. Provides playerskin functionality for the Hytale server.

java.lang.Object > PlayerSkin

Field Summary

bsonValue

final BsonValue bsonValue

Field bsonValue.

idParts

final String[] idParts

Field idParts.

Method Detail

PlayerSkin

public public PlayerSkin (@Nonnull final BsonDocument doc)

Method PlayerSkin.

Parameters:
@Nonnull final BsonDocument doc

getId

static PlayerSkinPartId getId (@Nonnull final BsonDocument doc, final String key)

Method getId.

Parameters:
@Nonnull final BsonDocument doc
final String key

getBodyCharacteristic

public PlayerSkinPartId getBodyCharacteristic ()

Method getBodyCharacteristic.

getUnderwear

public PlayerSkinPartId getUnderwear ()

Method getUnderwear.

getFace

public String getFace ()

Method getFace.

getEyes

public PlayerSkinPartId getEyes ()

Method getEyes.

getEars

public String getEars ()

Method getEars.

getMouth

public String getMouth ()

Method getMouth.

getFacialHair

public PlayerSkinPartId getFacialHair ()

Method getFacialHair.

getHaircut

public PlayerSkinPartId getHaircut ()

Method getHaircut.

getEyebrows

public PlayerSkinPartId getEyebrows ()

Method getEyebrows.

getPants

public PlayerSkinPartId getPants ()

Method getPants.

getOverpants

public PlayerSkinPartId getOverpants ()

Method getOverpants.

getUndertop

public PlayerSkinPartId getUndertop ()

Method getUndertop.

getOvertop

public PlayerSkinPartId getOvertop ()

Method getOvertop.

getShoes

public PlayerSkinPartId getShoes ()

Method getShoes.

getHeadAccessory

public PlayerSkinPartId getHeadAccessory ()

Method getHeadAccessory.

getFaceAccessory

public PlayerSkinPartId getFaceAccessory ()

Method getFaceAccessory.

getEarAccessory

public PlayerSkinPartId getEarAccessory ()

Method getEarAccessory.

getSkinFeature

public PlayerSkinPartId getSkinFeature ()

Method getSkinFeature.

getGloves

public PlayerSkinPartId getGloves ()

Method getGloves.

getCape

public PlayerSkinPartId getCape ()

Method getCape.

PlayerSkinPartId

public public PlayerSkinPartId (final String assetId, final String textureId, final String variantId)

Method PlayerSkinPartId.

Parameters:
final String assetId
final String textureId
final String variantId

fromString

static PlayerSkinPartId fromString (@Nonnull final String stringId)

Method fromString.

Parameters:
@Nonnull final String stringId

getAssetId

public String getAssetId ()

Method getAssetId.

getTextureId

public String getTextureId ()

Method getTextureId.

getVariantId

public String getVariantId ()

Method getVariantId.

toString

public String toString ()

Method toString.