Record Class LastSeenMessageList

java.lang.Object
java.lang.Record
net.minecraft.network.message.LastSeenMessageList
Record Components:
entries -

public record LastSeenMessageList(List<MessageSignatureData> entries) extends Record
A list of messages a client has seen.
Mappings:
Namespace Name
named net/minecraft/network/message/LastSeenMessageList
intermediary net/minecraft/class_7635
official yc
named entries
intermediary comp_965
official d
  • Field Details

    • entries

      private final List<MessageSignatureData> entries
      The field for the entries record component.
    • CODEC

      public static final com.mojang.serialization.Codec<LastSeenMessageList> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/message/LastSeenMessageList;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_40843 Lnet/minecraft/class_7635;field_40843:Lcom/mojang/serialization/Codec;
      official a Lyc;a:Lcom/mojang/serialization/Codec;
    • EMPTY

      public static LastSeenMessageList EMPTY
      Mappings:
      Namespace Name Mixin selector
      named EMPTY Lnet/minecraft/network/message/LastSeenMessageList;EMPTY:Lnet/minecraft/network/message/LastSeenMessageList;
      intermediary field_39883 Lnet/minecraft/class_7635;field_39883:Lnet/minecraft/class_7635;
      official b Lyc;b:Lyc;
    • MAX_ENTRIES

      public static final int MAX_ENTRIES
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MAX_ENTRIES Lnet/minecraft/network/message/LastSeenMessageList;MAX_ENTRIES:I
      intermediary field_39884 Lnet/minecraft/class_7635;field_39884:I
      official c Lyc;c:I
  • Constructor Details

  • Method Details

    • updateSignatures

      public void updateSignatures(SignatureUpdatable.SignatureUpdater updater) throws SignatureException
      Throws:
      SignatureException
      Mappings:
      Namespace Name Mixin selector
      named updateSignatures Lnet/minecraft/network/message/LastSeenMessageList;updateSignatures(Lnet/minecraft/network/encryption/SignatureUpdatable$SignatureUpdater;)V
      intermediary method_46257 Lnet/minecraft/class_7635;method_46257(Lnet/minecraft/class_7498$class_7499;)V
      official a Lyc;a(Lbaq$a;)V
    • pack

      Mappings:
      Namespace Name Mixin selector
      named pack Lnet/minecraft/network/message/LastSeenMessageList;pack(Lnet/minecraft/network/message/MessageSignatureStorage;)Lnet/minecraft/network/message/LastSeenMessageList$Indexed;
      intermediary method_46258 Lnet/minecraft/class_7635;method_46258(Lnet/minecraft/class_7561;)Lnet/minecraft/class_7635$class_7815;
      official a Lyc;a(Lyi;)Lyc$a;
    • 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.
    • entries

      public List<MessageSignatureData> entries()
      Returns the value of the entries record component.
      Returns:
      the value of the entries record component