Package net.minecraft.network.message
Record Class LastSeenMessageList
java.lang.Object
java.lang.Record
net.minecraft.network.message.LastSeenMessageList
- Record Components:
entries-
A list of messages a client has seen.
- Mappings:
Namespace Name named net/minecraft/network/message/LastSeenMessageListintermediary net/minecraft/class_7635official xgnamed entriesintermediary comp_965official d
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordA record of messages acknowledged by a client.static final record -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<LastSeenMessageList> static LastSeenMessageListprivate final List<MessageSignatureData> The field for theentriesrecord component.static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionentries()Returns the value of theentriesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.pack(MessageSignatureStorage storage) final StringtoString()Returns a string representation of this record class.void
-
Field Details
-
entries
The field for theentriesrecord component. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/network/message/LastSeenMessageList;CODEC:Lcom/mojang/serialization/Codec;intermediary field_40843Lnet/minecraft/class_7635;field_40843:Lcom/mojang/serialization/Codec;official aLxg;a:Lcom/mojang/serialization/Codec;
-
EMPTY
- Mappings:
Namespace Name Mixin selector named EMPTYLnet/minecraft/network/message/LastSeenMessageList;EMPTY:Lnet/minecraft/network/message/LastSeenMessageList;intermediary field_39883Lnet/minecraft/class_7635;field_39883:Lnet/minecraft/class_7635;official bLxg;b:Lxg;
-
MAX_ENTRIES
public static final int MAX_ENTRIES- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_ENTRIESLnet/minecraft/network/message/LastSeenMessageList;MAX_ENTRIES:Iintermediary field_39884Lnet/minecraft/class_7635;field_39884:Iofficial cLxg;c:I
-
-
Constructor Details
-
LastSeenMessageList
-
-
Method Details
-
updateSignatures
- Throws:
SignatureException- Mappings:
Namespace Name Mixin selector named updateSignaturesLnet/minecraft/network/message/LastSeenMessageList;updateSignatures(Lnet/minecraft/network/encryption/SignatureUpdatable$SignatureUpdater;)Vintermediary method_46257Lnet/minecraft/class_7635;method_46257(Lnet/minecraft/class_7498$class_7499;)Vofficial aLxg;a(Laza$a;)V
-
pack
- Mappings:
Namespace Name Mixin selector named packLnet/minecraft/network/message/LastSeenMessageList;pack(Lnet/minecraft/network/message/MessageSignatureStorage;)Lnet/minecraft/network/message/LastSeenMessageList$Indexed;intermediary method_46258Lnet/minecraft/class_7635;method_46258(Lnet/minecraft/class_7561;)Lnet/minecraft/class_7635$class_7815;official aLxg;a(Lxm;)Lxg$a;
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
entries
Returns the value of theentriesrecord component.- Returns:
- the value of the
entriesrecord component
-