public interface User extends DataHolder, Identifiable, ArmorEquipable, Tamer, DataSerializable, Subject, Carrier
Modifier and Type | Method and Description |
---|---|
default AchievementData |
getAchievementData()
Gets a copy of the
AchievementData for this user. |
BanData |
getBanData()
Gets a copy of the current
BanData for this user. |
String |
getName()
Gets the player's last known username.
|
Optional<Player> |
getPlayer()
Gets the related online
Player if the player is
in fact online. |
GameProfile |
getProfile()
Gets the associated
GameProfile of this player. |
default StatisticData |
getStatisticData()
Gets a copy of the
StatisticData for this user. |
boolean |
isOnline()
Checks if this user is online or not.
|
setRawData, validateRawData
toContainer
getApplicableProperties, getProperty
copyFrom, copyFrom, get, getContainers, getOrCreate, offer, offer, offer, offer, offer, offer, remove, remove, remove, supports, transform, undo
copy, get, getKeys, getOrElse, getOrNull, getValue, getValues, supports, supports
getBoots, getChestplate, getHelmet, getItemInHand, getLeggings, setBoots, setChestplate, setHelmet, setItemInHand, setLeggings
canEquip, canEquip, equip, getEquipped
getUniqueId
getInventory
getActiveContexts, getCommandSource, getContainingCollection, getIdentifier, getParents, getParents, getPermissionValue, getSubjectData, getTransientSubjectData, hasPermission, hasPermission, isChildOf, isChildOf
GameProfile getProfile()
GameProfile
of this player.String getName()
boolean isOnline()
Optional<Player> getPlayer()
Player
if the player is
in fact online.default AchievementData getAchievementData()
AchievementData
for this user.default StatisticData getStatisticData()
StatisticData
for this user.