Package net.minecraft.network.encryption
Record Class ClientPlayerSession
java.lang.Object
java.lang.Record
net.minecraft.network.encryption.ClientPlayerSession
- Record Components:
sessionId
-keyPair
-
- Mappings:
Namespace Name official vq
intermediary net/minecraft/class_7818
named net/minecraft/network/encryption/ClientPlayerSession
official a
intermediary comp_1077
named sessionId
official b
intermediary comp_1078
named keyPair
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClientPlayerSession
create
(PlayerKeyPair keyPair) createPacker
(UUID sender) final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.keyPair()
Returns the value of thekeyPair
record component.Returns the value of thesessionId
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
ClientPlayerSession
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official a
Lvq;a(Lcfk;)Lvq;
intermediary method_46273
Lnet/minecraft/class_7818;method_46273(Lnet/minecraft/class_7427;)Lnet/minecraft/class_7818;
named create
Lnet/minecraft/network/encryption/ClientPlayerSession;create(Lnet/minecraft/network/encryption/PlayerKeyPair;)Lnet/minecraft/network/encryption/ClientPlayerSession;
-
createPacker
- Mappings:
Namespace Name Mixin selector official a
Lvq;a(Ljava/util/UUID;)Lvz$c;
intermediary method_46274
Lnet/minecraft/class_7818;method_46274(Ljava/util/UUID;)Lnet/minecraft/class_7610$class_7612;
named createPacker
Lnet/minecraft/network/encryption/ClientPlayerSession;createPacker(Ljava/util/UUID;)Lnet/minecraft/network/message/MessageChain$Packer;
-
toPublicSession
- Mappings:
Namespace Name Mixin selector official a
Lvq;a()Lvw;
intermediary method_46275
Lnet/minecraft/class_7818;method_46275()Lnet/minecraft/class_7822;
named toPublicSession
Lnet/minecraft/network/encryption/ClientPlayerSession;toPublicSession()Lnet/minecraft/network/encryption/PublicPlayerSession;
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
sessionId
Returns the value of thesessionId
record component.- Returns:
- the value of the
sessionId
record component
-
keyPair
Returns the value of thekeyPair
record component.- Returns:
- the value of the
keyPair
record component
-