Package net.minecraft

Record Class class_7630.class_7631

java.lang.Object
java.lang.Record
net.minecraft.class_7630.class_7631
Record Components:
header -
headerSignature -
bodyDigest -
All Implemented Interfaces:
class_7629, class_7630
Enclosing interface:
class_7630

@Environment(CLIENT) public static record class_7630.class_7631(MessageHeader header, MessageSignatureData headerSignature, byte[] bodyDigest) extends Record implements class_7630
Mappings:
Namespace Name
official evf$a
intermediary net/minecraft/class_7630$class_7631
named net/minecraft/class_7630$class_7631
official a
intermediary comp_960
named header
official b
intermediary comp_961
named headerSignature
official c
intermediary comp_962
named bodyDigest
  • Field Details

  • Constructor Details

  • Method Details

    • 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.
    • header

      public MessageHeader header()
      Specified by:
      header in interface class_7630
      Mappings:
      Namespace Name Mixin selector
      official d Levf;d()Lsd;
      intermediary comp_960 Lnet/minecraft/class_7630;comp_960()Lnet/minecraft/class_7614;
      named header Lnet/minecraft/class_7630;header()Lnet/minecraft/network/message/MessageHeader;
    • headerSignature

      public MessageSignatureData headerSignature()
      Specified by:
      headerSignature in interface class_7630
      Mappings:
      Namespace Name Mixin selector
      official f Levf;f()Lrw;
      intermediary comp_961 Lnet/minecraft/class_7630;comp_961()Lnet/minecraft/class_7469;
      named headerSignature Lnet/minecraft/class_7630;headerSignature()Lnet/minecraft/network/message/MessageSignatureData;
    • bodyDigest

      public byte[] bodyDigest()
      Specified by:
      bodyDigest in interface class_7630
      Mappings:
      Namespace Name Mixin selector
      official e Levf;e()[B
      intermediary comp_962 Lnet/minecraft/class_7630;comp_962()[B
      named bodyDigest Lnet/minecraft/class_7630;bodyDigest()[B