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 Summary
Modifier and TypeFieldDescriptionprivate final MessageSignatureData
The field for thelastSignature
record component.private final UUID
The field for theprofileId
record component. -
Constructor Summary
ConstructorDescriptionEntry
(UUID uUID, MessageSignatureData messageSignatureData) Entry
(PacketByteBuf buf) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of thelastSignature
record component.Returns the value of theprofileId
record component.final String
toString()
Returns a string representation of this record class.void
write
(PacketByteBuf buf)
-
Field Details
-
profileId
The field for theprofileId
record component. -
lastSignature
The field for thelastSignature
record 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
-
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)
. -
profileId
Returns the value of theprofileId
record component.- Returns:
- the value of the
profileId
record component
-
lastSignature
Returns the value of thelastSignature
record component.- Returns:
- the value of the
lastSignature
record component
-