Package de.saibotk.jmaw
Class PlayerTexturesProperty
java.lang.Object
de.saibotk.jmaw.PlayerProperty
de.saibotk.jmaw.PlayerTexturesProperty
This models the response of the Mojang API when querying for a
PlayerProfile
and his PlayerProperty
list. If the player has a property called "textures" then it will be converted to an instance of this class.- Since:
- 1.0
-
Constructor Summary
-
Method Summary
Methods inherited from class de.saibotk.jmaw.PlayerProperty
getName, getRawValue, getSignature
-
Constructor Details
-
PlayerTexturesProperty
public PlayerTexturesProperty()
-
-
Method Details
-
getSkin
Returns the skin texture object.- Returns:
- an instance of
PlayerSkinTexture
. - Since:
- 1.0
-
getCape
Returns the players cape texture.- Returns:
- an instance of
PlayerCapeTexture
. - Since:
- 1.0
-
getTimestamp
Returns the timestamp, when the response was answered.- Returns:
- the timestamp.
- Since:
- 1.0
-
getProfileId
Returns the uuid of the player.- Returns:
- the uuid.
- Since:
- 1.0
-
getProfileName
Returns the players username.- Returns:
- the username.
- Since:
- 1.0
-
getSignatureRequired
public boolean getSignatureRequired()Returns if a signature was requested or not.- Returns:
- true if a signature was requested, false if not.
- Since:
- 1.0
-