Package de.saibotk.jmaw
Class UsernameItem
java.lang.Object
de.saibotk.jmaw.UsernameItem
This is the response of the Mojang API containing a username and a timestamp,
describing when a player started using the name, for a given uuid.
Returned in a
List
by MojangAPI.getUsernameHistory(String)
.- Since:
- 1.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the timestamp, when the user started using the name (in milliseconds).getName()
Returns the username.
-
Constructor Details
-
UsernameItem
public UsernameItem()
-
-
Method Details
-
getName
Returns the username.- Returns:
- username.
- Since:
- 1.0
-
getChangedToAt
Returns the timestamp, when the user started using the name (in milliseconds).- Returns:
- the timestamp.
- Since:
- 1.0
-