Class User

java.lang.Object
net.minecraft.client.User

public class User extends Object
  • Field Details

    • name

      private final String name
    • uuid

      private final String uuid
    • accessToken

      private final String accessToken
    • xuid

      private final Optional<String> xuid
    • clientId

      private final Optional<String> clientId
    • type

      private final User.Type type
    • properties

      private com.mojang.authlib.properties.PropertyMap properties
      Forge: Cache of the local session's GameProfile properties.
  • Constructor Details

  • Method Details

    • getSessionId

      public String getSessionId()
    • getUuid

      public String getUuid()
    • getName

      public String getName()
    • getAccessToken

      public String getAccessToken()
    • getClientId

      public Optional<String> getClientId()
    • getXuid

      public Optional<String> getXuid()
    • getProfileId

      @Nullable public UUID getProfileId()
    • setProperties

      public void setProperties(com.mojang.authlib.properties.PropertyMap properties)
    • hasCachedProperties

      public boolean hasCachedProperties()
    • getGameProfile

      public com.mojang.authlib.GameProfile getGameProfile()
    • getType

      public User.Type getType()