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$aintermediary net/minecraft/class_7635$class_7609named net/minecraft/network/message/LastSeenMessageList$Entryofficial aintermediary comp_933named profileIdofficial bintermediary comp_934named lastSignature
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MessageSignatureDataThe field for thelastSignaturerecord component.private final UUIDThe field for theprofileIdrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionEntry(UUID uUID, MessageSignatureData messageSignatureData) Entry(PacketByteBuf buf) -
Method Summary
Modifier 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
-
profileId
The field for theprofileIdrecord component. -
lastSignature
The field for thelastSignaturerecord component.
-
-
Constructor Details
-
Entry
- Mappings:
Namespace Name Mixin selector official <init>Lrw$a;<init>(Lqx;)Vintermediary <init>Lnet/minecraft/class_7635$class_7609;<init>(Lnet/minecraft/class_2540;)Vnamed <init>Lnet/minecraft/network/message/LastSeenMessageList$Entry;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
Entry
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector official aLrw$a;a(Lqx;)Vintermediary method_44873Lnet/minecraft/class_7635$class_7609;method_44873(Lnet/minecraft/class_2540;)Vnamed writeLnet/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 theprofileIdrecord component.- Returns:
- the value of the
profileIdrecord component
-
lastSignature
Returns the value of thelastSignaturerecord component.- Returns:
- the value of the
lastSignaturerecord component
-