Package net.minecraft

Record Class class_7818

java.lang.Object
java.lang.Record
net.minecraft.class_7818
Record Components:
sessionId -
keyPair -

public record class_7818(UUID sessionId, @Nullable PlayerKeyPair keyPair) extends Record
Mappings:
Namespace Name
official ss
intermediary net/minecraft/class_7818
named net/minecraft/class_7818
official a
intermediary comp_1077
named sessionId
official b
intermediary comp_1078
named keyPair
  • Field Details

  • Constructor Details

  • Method Details

    • method_46273

      public static class_7818 method_46273(@Nullable @Nullable PlayerKeyPair playerKeyPair)
      Mappings:
      Namespace Name Mixin selector
      official a Lss;a(Lbvu;)Lss;
      intermediary method_46273 Lnet/minecraft/class_7818;method_46273(Lnet/minecraft/class_7427;)Lnet/minecraft/class_7818;
      named method_46273 Lnet/minecraft/class_7818;method_46273(Lnet/minecraft/network/encryption/PlayerKeyPair;)Lnet/minecraft/class_7818;
    • method_46274

      public MessageChain.Packer method_46274(UUID uUID)
      Mappings:
      Namespace Name Mixin selector
      official a Lss;a(Ljava/util/UUID;)Ltb$c;
      intermediary method_46274 Lnet/minecraft/class_7818;method_46274(Ljava/util/UUID;)Lnet/minecraft/class_7610$class_7612;
      named method_46274 Lnet/minecraft/class_7818;method_46274(Ljava/util/UUID;)Lnet/minecraft/network/message/MessageChain$Packer;
    • method_46272

      @Nullable public @Nullable Signer method_46272()
      Mappings:
      Namespace Name Mixin selector
      official a Lss;a()Lanx;
      intermediary method_46272 Lnet/minecraft/class_7818;method_46272()Lnet/minecraft/class_7501;
      named method_46272 Lnet/minecraft/class_7818;method_46272()Lnet/minecraft/network/encryption/Signer;
    • method_46275

      public class_7822 method_46275()
      Mappings:
      Namespace Name Mixin selector
      official b Lss;b()Lsy;
      intermediary method_46275 Lnet/minecraft/class_7818;method_46275()Lnet/minecraft/class_7822;
      named method_46275 Lnet/minecraft/class_7818;method_46275()Lnet/minecraft/class_7822;
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • sessionId

      public UUID sessionId()
      Returns the value of the sessionId record component.
      Returns:
      the value of the sessionId record component
    • keyPair

      @Nullable public @Nullable PlayerKeyPair keyPair()
      Returns the value of the keyPair record component.
      Returns:
      the value of the keyPair record component