Package net.minecraft.client.session
Class Session
java.lang.Object
net.minecraft.client.session.Session
- Mappings:
Namespace Name named net/minecraft/client/session/Session
intermediary net/minecraft/class_320
official ffu
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final String
private final Session.AccountType
private final String
private final UUID
-
Constructor Summary
-
Method Summary
-
Field Details
-
username
- Mappings:
Namespace Name Mixin selector named username
Lnet/minecraft/client/session/Session;username:Ljava/lang/String;
intermediary field_1982
Lnet/minecraft/class_320;field_1982:Ljava/lang/String;
official a
Lffu;a:Ljava/lang/String;
-
uuid
- Mappings:
Namespace Name Mixin selector named uuid
Lnet/minecraft/client/session/Session;uuid:Ljava/util/UUID;
intermediary field_1985
Lnet/minecraft/class_320;field_1985:Ljava/util/UUID;
official b
Lffu;b:Ljava/util/UUID;
-
accessToken
- Mappings:
Namespace Name Mixin selector named accessToken
Lnet/minecraft/client/session/Session;accessToken:Ljava/lang/String;
intermediary field_1983
Lnet/minecraft/class_320;field_1983:Ljava/lang/String;
official c
Lffu;c:Ljava/lang/String;
-
xuid
- Mappings:
Namespace Name Mixin selector named xuid
Lnet/minecraft/client/session/Session;xuid:Ljava/util/Optional;
intermediary field_34960
Lnet/minecraft/class_320;field_34960:Ljava/util/Optional;
official d
Lffu;d:Ljava/util/Optional;
-
clientId
- Mappings:
Namespace Name Mixin selector named clientId
Lnet/minecraft/client/session/Session;clientId:Ljava/util/Optional;
intermediary field_34961
Lnet/minecraft/class_320;field_34961:Ljava/util/Optional;
official e
Lffu;e:Ljava/util/Optional;
-
accountType
- Mappings:
Namespace Name Mixin selector named accountType
Lnet/minecraft/client/session/Session;accountType:Lnet/minecraft/client/session/Session$AccountType;
intermediary field_1984
Lnet/minecraft/class_320;field_1984:Lnet/minecraft/class_320$class_321;
official f
Lffu;f:Lffu$a;
-
-
Constructor Details
-
Session
public Session(String username, UUID uuid, String accessToken, Optional<String> xuid, Optional<String> clientId, Session.AccountType accountType) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/session/Session;<init>(Ljava/lang/String;Ljava/util/UUID;Ljava/lang/String;Ljava/util/Optional;Ljava/util/Optional;Lnet/minecraft/client/session/Session$AccountType;)V
intermediary <init>
Lnet/minecraft/class_320;<init>(Ljava/lang/String;Ljava/util/UUID;Ljava/lang/String;Ljava/util/Optional;Ljava/util/Optional;Lnet/minecraft/class_320$class_321;)V
official <init>
Lffu;<init>(Ljava/lang/String;Ljava/util/UUID;Ljava/lang/String;Ljava/util/Optional;Ljava/util/Optional;Lffu$a;)V
-
-
Method Details
-
getSessionId
- Mappings:
Namespace Name Mixin selector named getSessionId
Lnet/minecraft/client/session/Session;getSessionId()Ljava/lang/String;
intermediary method_1675
Lnet/minecraft/class_320;method_1675()Ljava/lang/String;
official a
Lffu;a()Ljava/lang/String;
-
getUuidOrNull
Returns the UUID, ornull
if it is invalid.- Returns:
- the UUID, or
null
if it is invalid - Mappings:
Namespace Name Mixin selector named getUuidOrNull
Lnet/minecraft/client/session/Session;getUuidOrNull()Ljava/util/UUID;
intermediary method_44717
Lnet/minecraft/class_320;method_44717()Ljava/util/UUID;
official b
Lffu;b()Ljava/util/UUID;
-
getUsername
- Mappings:
Namespace Name Mixin selector named getUsername
Lnet/minecraft/client/session/Session;getUsername()Ljava/lang/String;
intermediary method_1676
Lnet/minecraft/class_320;method_1676()Ljava/lang/String;
official c
Lffu;c()Ljava/lang/String;
-
getAccessToken
- Mappings:
Namespace Name Mixin selector named getAccessToken
Lnet/minecraft/client/session/Session;getAccessToken()Ljava/lang/String;
intermediary method_1674
Lnet/minecraft/class_320;method_1674()Ljava/lang/String;
official d
Lffu;d()Ljava/lang/String;
-
getClientId
- Mappings:
Namespace Name Mixin selector named getClientId
Lnet/minecraft/client/session/Session;getClientId()Ljava/util/Optional;
intermediary method_38740
Lnet/minecraft/class_320;method_38740()Ljava/util/Optional;
official e
Lffu;e()Ljava/util/Optional;
-
getXuid
- Mappings:
Namespace Name Mixin selector named getXuid
Lnet/minecraft/client/session/Session;getXuid()Ljava/util/Optional;
intermediary method_38741
Lnet/minecraft/class_320;method_38741()Ljava/util/Optional;
official f
Lffu;f()Ljava/util/Optional;
-
getAccountType
- Mappings:
Namespace Name Mixin selector named getAccountType
Lnet/minecraft/client/session/Session;getAccountType()Lnet/minecraft/client/session/Session$AccountType;
intermediary method_35718
Lnet/minecraft/class_320;method_35718()Lnet/minecraft/class_320$class_321;
official g
Lffu;g()Lffu$a;
-