public class PlayerSkinPart
Class PlayerSkinPart. Provides playerskinpart functionality for the Hytale server.
java.lang.Object > PlayerSkinPart
Field Summary
model
private
String
model
Field model.
greyscaleTexture
private
String
greyscaleTexture
Field greyscaleTexture.
gradientSet
private
String
gradientSet
Field gradientSet.
isDefaultAsset
private
boolean
isDefaultAsset
Field isDefaultAsset.
tags
private
String[]
tags
Field tags.
hairType
private
HaircutType
hairType
Field hairType.
requiresGenericHaircut
private
boolean
requiresGenericHaircut
Field requiresGenericHaircut.
headAccessoryType
private
HeadAccessoryType
headAccessoryType
Field headAccessoryType.
mapping
final
BsonDocument
mapping
Field mapping.
bsonArray
final
BsonArray
bsonArray
Field bsonArray.
texturesDoc
final
BsonDocument
texturesDoc
Field texturesDoc.
Method Detail
PlayerSkinPart
public
protected
PlayerSkinPart
(@Nonnull final BsonDocument doc)
Method PlayerSkinPart.
- Parameters:
@Nonnull final BsonDocumentdoc
Variant
public
new
Variant
(set.getValue()
Method Variant.
- Parameters:
set.getValue(set.getValue(
if
public
else
if
(doc.containsKey("Textures")
Method if.
- Parameters:
doc.containsKey("Textures"doc.containsKey("Textures"
PlayerSkinPartTexture
public
new
PlayerSkinPartTexture
(set.getValue()
Method PlayerSkinPartTexture.
- Parameters:
set.getValue(set.getValue(
getId
public
String
getId
()
Method getId.
getName
public
String
getName
()
Method getName.
getModel
public
String
getModel
()
Method getModel.
getTextures
public
PlayerSkinPartTexture>
getTextures
()
Method getTextures.
getVariants
public
Variant>
getVariants
()
Method getVariants.
isDefaultAsset
public
boolean
isDefaultAsset
()
Method isDefaultAsset.
getTags
public
String[]
getTags
()
Method getTags.
getHairType
public
HaircutType
getHairType
()
Method getHairType.
doesRequireGenericHaircut
public
boolean
doesRequireGenericHaircut
()
Method doesRequireGenericHaircut.
getHeadAccessoryType
public
HeadAccessoryType
getHeadAccessoryType
()
Method getHeadAccessoryType.
getGreyscaleTexture
public
String
getGreyscaleTexture
()
Method getGreyscaleTexture.
getGradientSet
public
String
getGradientSet
()
Method getGradientSet.
toString
public
String
toString
()
Method toString.