Package net.minecraft

Record Class class_7428.class_7429

java.lang.Object
java.lang.Record
net.minecraft.class_7428.class_7429
Record Components:
key -
data -
Enclosing class:
class_7428

public static record class_7428.class_7429(PublicKey key, class_7428 data) extends Record
Mappings:
Namespace Name
official brv$a
intermediary net/minecraft/class_7428$class_7429
named net/minecraft/class_7428$class_7429
official a
intermediary comp_747
named key
official b
intermediary comp_748
named data
  • Field Details

    • key

      private final PublicKey key
      The field for the key record component.
    • data

      private final class_7428 data
      The field for the data record component.
  • Constructor Details

  • Method Details

    • method_43557

      public Signature method_43557() throws NetworkEncryptionException
      Throws:
      NetworkEncryptionException
      Mappings:
      Namespace Name Mixin selector
      official a Lbrv$a;a()Ljava/security/Signature;
      intermediary method_43557 Lnet/minecraft/class_7428$class_7429;method_43557()Ljava/security/Signature;
      named method_43557 Lnet/minecraft/class_7428$class_7429;method_43557()Ljava/security/Signature;
    • 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.
    • key

      public PublicKey key()
      Returns the value of the key record component.
      Returns:
      the value of the key record component
    • data

      public class_7428 data()
      Returns the value of the data record component.
      Returns:
      the value of the data record component