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 - named - net/minecraft/network/encryption/ClientPlayerSession- intermediary - net/minecraft/class_7818- official - xa- named - sessionId- intermediary - comp_1077- official - a- named - keyPair- intermediary - comp_1078- official - b
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic ClientPlayerSessioncreate(PlayerKeyPair keyPair) createPacker(UUID sender) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.keyPair()Returns the value of thekeyPairrecord component.Returns the value of thesessionIdrecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details
- 
Constructor Details- 
ClientPlayerSession
 
- 
- 
Method Details- 
create- Mappings:
- Namespace - Name - Mixin selector - named - create- Lnet/minecraft/network/encryption/ClientPlayerSession;create(Lnet/minecraft/network/encryption/PlayerKeyPair;)Lnet/minecraft/network/encryption/ClientPlayerSession;- intermediary - method_46273- Lnet/minecraft/class_7818;method_46273(Lnet/minecraft/class_7427;)Lnet/minecraft/class_7818;- official - a- Lxa;a(Lcpa;)Lxa;
 
- 
createPacker- Mappings:
- Namespace - Name - Mixin selector - named - createPacker- Lnet/minecraft/network/encryption/ClientPlayerSession;createPacker(Ljava/util/UUID;)Lnet/minecraft/network/message/MessageChain$Packer;- intermediary - method_46274- Lnet/minecraft/class_7818;method_46274(Ljava/util/UUID;)Lnet/minecraft/class_7610$class_7612;- official - a- Lxa;a(Ljava/util/UUID;)Lxj$c;
 
- 
toPublicSession- Mappings:
- Namespace - Name - Mixin selector - named - toPublicSession- Lnet/minecraft/network/encryption/ClientPlayerSession;toPublicSession()Lnet/minecraft/network/encryption/PublicPlayerSession;- intermediary - method_46275- Lnet/minecraft/class_7818;method_46275()Lnet/minecraft/class_7822;- official - a- Lxa;a()Lxg;
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
sessionIdReturns the value of thesessionIdrecord component.- Returns:
- the value of the sessionIdrecord component
 
- 
keyPairReturns the value of thekeyPairrecord component.- Returns:
- the value of the keyPairrecord component
 
 
-