Class Session

java.lang.Object
net.minecraft.util.Session

public class Session extends Object
  • Field Details

    • name

      private final String name
    • uuid

      private final String uuid
    • accessToken

      private final String accessToken
    • type

      private final Session.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()
    • getGameProfile

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

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

      public boolean hasCachedProperties()