Package net.minecraft
Record Class class_7818
java.lang.Object
java.lang.Record
net.minecraft.class_7818
- Record Components:
sessionId-keyPair-
- Mappings:
Namespace Name official ssintermediary net/minecraft/class_7818named net/minecraft/class_7818official aintermediary comp_1077named sessionIdofficial bintermediary comp_1078named keyPair
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal 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.static class_7818method_46273(@Nullable PlayerKeyPair playerKeyPair) method_46274(UUID uUID) Returns the value of thesessionIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
class_7818
-
-
Method Details
-
method_46273
- Mappings:
Namespace Name Mixin selector official aLss;a(Lbvu;)Lss;intermediary method_46273Lnet/minecraft/class_7818;method_46273(Lnet/minecraft/class_7427;)Lnet/minecraft/class_7818;named method_46273Lnet/minecraft/class_7818;method_46273(Lnet/minecraft/network/encryption/PlayerKeyPair;)Lnet/minecraft/class_7818;
-
method_46274
- Mappings:
Namespace Name Mixin selector official aLss;a(Ljava/util/UUID;)Ltb$c;intermediary method_46274Lnet/minecraft/class_7818;method_46274(Ljava/util/UUID;)Lnet/minecraft/class_7610$class_7612;named method_46274Lnet/minecraft/class_7818;method_46274(Ljava/util/UUID;)Lnet/minecraft/network/message/MessageChain$Packer;
-
method_46272
- Mappings:
Namespace Name Mixin selector official aLss;a()Lanx;intermediary method_46272Lnet/minecraft/class_7818;method_46272()Lnet/minecraft/class_7501;named method_46272Lnet/minecraft/class_7818;method_46272()Lnet/minecraft/network/encryption/Signer;
-
method_46275
- Mappings:
Namespace Name Mixin selector official bLss;b()Lsy;intermediary method_46275Lnet/minecraft/class_7818;method_46275()Lnet/minecraft/class_7822;named method_46275Lnet/minecraft/class_7818;method_46275()Lnet/minecraft/class_7822;
-
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
-
keyPair
Returns the value of thekeyPairrecord component.- Returns:
- the value of the
keyPairrecord component
-