Package net.minecraft.network.message
Record Class LastSeenMessageList.Entry
java.lang.Object
java.lang.Record
net.minecraft.network.message.LastSeenMessageList.Entry
- Record Components:
- profileId-
- lastSignature-
- Enclosing class:
- LastSeenMessageList
public static record LastSeenMessageList.Entry(UUID profileId, MessageSignatureData lastSignature)
extends Record
A pair of a player's UUID and the signature of the last message they saw,
 used as an entry of 
LastSeenMessageList.- Mappings:
- Namespace - Name - official - rw$a- intermediary - net/minecraft/class_7635$class_7609- named - net/minecraft/network/message/LastSeenMessageList$Entry- official - a- intermediary - comp_933- named - profileId- official - b- intermediary - comp_934- named - lastSignature
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final MessageSignatureDataThe field for thelastSignaturerecord component.private final UUIDThe field for theprofileIdrecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionEntry(UUID uUID, MessageSignatureData messageSignatureData) Entry(PacketByteBuf buf) 
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelastSignaturerecord component.Returns the value of theprofileIdrecord component.final StringtoString()Returns a string representation of this record class.voidwrite(PacketByteBuf buf) 
- 
Field Details- 
profileIdThe field for theprofileIdrecord component.
- 
lastSignatureThe field for thelastSignaturerecord component.
 
- 
- 
Constructor Details- 
Entry- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lrw$a;<init>(Lqx;)V- intermediary - <init>- Lnet/minecraft/class_7635$class_7609;<init>(Lnet/minecraft/class_2540;)V- named - <init>- Lnet/minecraft/network/message/LastSeenMessageList$Entry;<init>(Lnet/minecraft/network/PacketByteBuf;)V
 
- 
Entry
 
- 
- 
Method Details- 
write- Mappings:
- Namespace - Name - Mixin selector - official - a- Lrw$a;a(Lqx;)V- intermediary - method_44873- Lnet/minecraft/class_7635$class_7609;method_44873(Lnet/minecraft/class_2540;)V- named - write- Lnet/minecraft/network/message/LastSeenMessageList$Entry;write(Lnet/minecraft/network/PacketByteBuf;)V
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
profileIdReturns the value of theprofileIdrecord component.- Returns:
- the value of the profileIdrecord component
 
- 
lastSignatureReturns the value of thelastSignaturerecord component.- Returns:
- the value of the lastSignaturerecord component
 
 
-