Package net.minecraft.network.encryption
Record Class PublicPlayerSession
java.lang.Object
java.lang.Record
net.minecraft.network.encryption.PublicPlayerSession
- Record Components:
sessionId-publicKeyData-
- Mappings:
Namespace Name official tmintermediary net/minecraft/class_7822named net/minecraft/network/encryption/PublicPlayerSessionofficial aintermediary comp_1085named sessionIdofficial bintermediary comp_1086named publicKeyData
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PlayerPublicKeyThe field for thepublicKeyDatarecord component.private final UUIDThe field for thesessionIdrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateUnpacker(UUID sender) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thepublicKeyDatarecord component.Returns the value of thesessionIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
sessionId
The field for thesessionIdrecord component. -
publicKeyData
The field for thepublicKeyDatarecord component.
-
-
Constructor Details
-
PublicPlayerSession
-
-
Method Details
-
createVerifier
- Mappings:
Namespace Name Mixin selector official aLtm;a()Ltr;intermediary method_46296Lnet/minecraft/class_7822;method_46296()Lnet/minecraft/class_7615;named createVerifierLnet/minecraft/network/encryption/PublicPlayerSession;createVerifier()Lnet/minecraft/network/message/MessageVerifier;
-
createUnpacker
- Mappings:
Namespace Name Mixin selector official aLtm;a(Ljava/util/UUID;)Ltp$b;intermediary method_46297Lnet/minecraft/class_7822;method_46297(Ljava/util/UUID;)Lnet/minecraft/class_7610$class_7611;named createUnpackerLnet/minecraft/network/encryption/PublicPlayerSession;createUnpacker(Ljava/util/UUID;)Lnet/minecraft/network/message/MessageChain$Unpacker;
-
toSerialized
- Mappings:
Namespace Name Mixin selector official bLtm;b()Ltm$a;intermediary method_46298Lnet/minecraft/class_7822;method_46298()Lnet/minecraft/class_7822$class_7823;named toSerializedLnet/minecraft/network/encryption/PublicPlayerSession;toSerialized()Lnet/minecraft/network/encryption/PublicPlayerSession$Serialized;
-
isKeyExpired
public boolean isKeyExpired()- Mappings:
Namespace Name Mixin selector official cLtm;c()Zintermediary method_51466Lnet/minecraft/class_7822;method_51466()Znamed isKeyExpiredLnet/minecraft/network/encryption/PublicPlayerSession;isKeyExpired()Z
-
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 thesessionIdrecord component.- Returns:
- the value of the
sessionIdrecord component
-
publicKeyData
Returns the value of thepublicKeyDatarecord component.- Returns:
- the value of the
publicKeyDatarecord component
-