Record Class MessageBody.class_7824

java.lang.Object
java.lang.Record
net.minecraft.network.message.MessageBody.class_7824
Record Components:
content -
timeStamp -
salt -
lastSeen -
Enclosing class:
MessageBody

public static record MessageBody.class_7824(String content, Instant timeStamp, long salt, LastSeenMessageList.class_7815 lastSeen) extends Record
Mappings:
Namespace Name
official ta$a
intermediary net/minecraft/class_7608$class_7824
named net/minecraft/network/message/MessageBody$class_7824
official a
intermediary comp_1090
named content
official b
intermediary comp_1091
named timeStamp
official c
intermediary comp_1092
named salt
official d
intermediary comp_1093
named lastSeen
  • Field Details

    • content

      private final String content
      The field for the content record component.
    • timeStamp

      private final Instant timeStamp
      The field for the timeStamp record component.
    • salt

      private final long salt
      The field for the salt record component.
    • lastSeen

      private final LastSeenMessageList.class_7815 lastSeen
      The field for the lastSeen record component.
  • Constructor Details

  • Method Details

    • method_46307

      public void method_46307(PacketByteBuf packetByteBuf)
      Mappings:
      Namespace Name Mixin selector
      official a Lta$a;a(Lrt;)V
      intermediary method_46307 Lnet/minecraft/class_7608$class_7824;method_46307(Lnet/minecraft/class_2540;)V
      named method_46307 Lnet/minecraft/network/message/MessageBody$class_7824;method_46307(Lnet/minecraft/network/PacketByteBuf;)V
    • method_46309

      public Optional<MessageBody> method_46309(MessageSignatureData.class_7821 class_7821)
      Mappings:
      Namespace Name Mixin selector
      official a Lta$a;a(Lst$c;)Ljava/util/Optional;
      intermediary method_46309 Lnet/minecraft/class_7608$class_7824;method_46309(Lnet/minecraft/class_7469$class_7821;)Ljava/util/Optional;
      named method_46309 Lnet/minecraft/network/message/MessageBody$class_7824;method_46309(Lnet/minecraft/network/message/MessageSignatureData$class_7821;)Ljava/util/Optional;
    • 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • content

      public String content()
      Returns the value of the content record component.
      Returns:
      the value of the content record component
    • timeStamp

      public Instant timeStamp()
      Returns the value of the timeStamp record component.
      Returns:
      the value of the timeStamp record component
    • salt

      public long salt()
      Returns the value of the salt record component.
      Returns:
      the value of the salt record component
    • lastSeen

      public LastSeenMessageList.class_7815 lastSeen()
      Returns the value of the lastSeen record component.
      Returns:
      the value of the lastSeen record component