JavaScript is disabled on your browser.
 
Record Components: 
content timestamp salt lastSeen  
Enclosing class: 
MessageBody  
The serialized version of MessageBody used in networking.
See Also: 
 
Mappings: 
Namespace 
Name 
 
named 
net/minecraft/network/message/MessageBody$Serialized 
intermediary 
net/minecraft/class_7608$class_7824 
official 
xi$a 
named 
content 
intermediary 
comp_1090 
official 
a 
named 
timestamp 
intermediary 
comp_1091 
official 
b 
named 
salt 
intermediary 
comp_1092 
official 
c 
named 
lastSeen 
intermediary 
comp_1093 
official 
d 
 
 
 
Field Summary 
Fields 
The field for the 
content record component.
 
The field for the 
lastSeen record component.
 
private final long
The field for the 
salt record component.
 
The field for the 
timestamp record component.
 
 
 
 
Constructor Summary 
Constructors 
 
 
Method Summary 
All Methods Instance Methods Concrete Methods 
Returns the value of the 
content record component.
 
final boolean
Indicates whether some other object is "equal to" this one.
 
final int
Returns a hash code value for this object.
 
Returns the value of the 
lastSeen record component.
 
long
Returns the value of the 
salt record component.
 
Returns the value of the 
timestamp record component.
 
 
Returns a string representation of this record class.
 
void
 
 
 
 
 
 
 
 
Field Details 
content 
The field for the 
content record component.
 
 
timestamp 
The field for the 
timestamp record component.
 
 
salt 
private final  long  salt 
The field for the 
salt record component.
 
 
lastSeen 
The field for the 
lastSeen record component.
 
 
 
 
 
Constructor Details 
Serialized 
Mappings: 
Namespace 
Name 
Mixin selector 
 
named 
<init>Lnet/minecraft/network/message/MessageBody$Serialized;<init>(Lnet/minecraft/network/PacketByteBuf;)V 
intermediary 
<init>Lnet/minecraft/class_7608$class_7824;<init>(Lnet/minecraft/class_2540;)V 
official 
<init>Lxi$a;<init>(Lvl;)V 
 
 
 
 
 
 
 
Method Details 
write 
Mappings: 
Namespace 
Name 
Mixin selector 
 
named 
writeLnet/minecraft/network/message/MessageBody$Serialized;write(Lnet/minecraft/network/PacketByteBuf;)V 
intermediary 
method_46307Lnet/minecraft/class_7608$class_7824;method_46307(Lnet/minecraft/class_2540;)V 
official 
aLxi$a;a(Lvl;)V 
 
 
 
toBody 
Mappings: 
Namespace 
Name 
Mixin selector 
 
named 
toBodyLnet/minecraft/network/message/MessageBody$Serialized;toBody(Lnet/minecraft/network/message/MessageSignatureStorage;)Ljava/util/Optional; 
intermediary 
method_46309Lnet/minecraft/class_7608$class_7824;method_46309(Lnet/minecraft/class_7561;)Ljava/util/Optional; 
official 
aLxi$a;a(Lxc;)Ljava/util/Optional; 
 
 
 
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 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 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. Reference components are compared with 
Objects::equals(Object,Object); primitive components are compared with '=='.
Specified by: 
equals Record Parameters: 
object - the object with which to compareReturns: 
true if this object is the same as the object argument; false otherwise. 
 
 
content 
Returns the value of the 
content record component.
Returns: 
the value of the content 
 
 
 
timestamp 
Returns the value of the 
timestamp record component.
Returns: 
the value of the timestamp 
 
 
 
salt 
public  long  salt ()
Returns the value of the 
salt record component.
Returns: 
the value of the salt 
 
 
 
lastSeen 
Returns the value of the 
lastSeen record component.
Returns: 
the value of the lastSeen