classstableSource
@API(status = STABLE)
public final class OfflineUser
    implements MinecraftAccount

Represents an offline-mode user uuid is the offline uuid for the user (MD5 hash of username, converted to a Version 3 UUID) username is the display name of the user

Implemented interfaces
MinecraftAccount

Constructors

public OfflineUser(String username)
Parameters
usernameString

Methods

public boolean equals(Object o)
Parameters
oObject
Returns
boolean

Overrides Object.equals()

public MinecraftUUID getMinecraftUUID()
Returns
MinecraftUUIDMinecraftUUID, contains dashed and non dashed uuid

Implements MinecraftAccount.getMinecraftUUID()

public int hashCode()
Returns
int

Overrides Object.hashCode()

public String toString()
Returns
String

Overrides Object.toString()

public String username()
Returns
StringThe display name of the account

Implements MinecraftAccount.username(), description copied from there