Package de.saibotk.jmaw
Class PlayerProperty
java.lang.Object
de.saibotk.jmaw.PlayerProperty
- Direct Known Subclasses:
PlayerTexturesProperty
This models the basic player property found in the list of all properties a player has
(
PlayerProfile.getProperties()
). Usually not returned by the Mojang API, only the "textures" property is
known to be returned, which will be converted automaticially to a PlayerTexturesProperty
, a subclass to this.
The rawValue field is mostly encoded in base64, which is automatically decoded for the
PlayerTexturesProperty
.- Since:
- 1.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the property's name.Returns the raw value, that was returned by the API.Returns the base64 signature for the property, if requested.
-
Constructor Details
-
PlayerProperty
public PlayerProperty()
-
-
Method Details
-
getName
Returns the property's name.- Returns:
- the name.
- Since:
- 1.0
-
getRawValue
Returns the raw value, that was returned by the API. Usually encoded as base64.- Returns:
- the encoded raw value returned by the API.
- Since:
- 1.0
-
getSignature
Returns the base64 signature for the property, if requested.- Returns:
- the signature or
null
if not requested. - Since:
- 1.0
-