Package net.minecraft.network.message
Record Class MessageSignatureData.Indexed
java.lang.Object
java.lang.Record
net.minecraft.network.message.MessageSignatureData.Indexed
- Record Components:
- id-
- fullSignature-
- Enclosing class:
- MessageSignatureData
public static record MessageSignatureData.Indexed(int id, @Nullable MessageSignatureData fullSignature)
extends Record
- Mappings:
- Namespace - Name - named - net/minecraft/network/message/MessageSignatureData$Indexed- intermediary - net/minecraft/class_7469$class_7819- official - xb$a- named - id- intermediary - comp_1079- official - b- named - fullSignature- intermediary - comp_1080- official - c
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final @Nullable MessageSignatureDataThe field for thefullSignaturerecord component.private final intThe field for theidrecord component.static final int
- 
Constructor SummaryConstructorsConstructorDescriptionIndexed(int id) Indexed(int int2, @Nullable MessageSignatureData messageSignatureData) Indexed(MessageSignatureData signature) 
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.static MessageSignatureData.IndexedfromBuf(PacketByteBuf buf) Returns the value of thefullSignaturerecord component.getSignature(MessageSignatureStorage storage) final inthashCode()Returns a hash code value for this object.intid()Returns the value of theidrecord component.final StringtoString()Returns a string representation of this record class.static voidwrite(PacketByteBuf buf, MessageSignatureData.Indexed indexed) 
- 
Field Details- 
idprivate final int idThe field for theidrecord component.
- 
fullSignatureThe field for thefullSignaturerecord component.
- 
MISSING_IDpublic static final int MISSING_ID- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - MISSING_ID- Lnet/minecraft/network/message/MessageSignatureData$Indexed;MISSING_ID:I- intermediary - field_40684- Lnet/minecraft/class_7469$class_7819;field_40684:I- official - a- Lxb$a;a:I
 
 
- 
- 
Constructor Details- 
Indexed- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/network/message/MessageSignatureData$Indexed;<init>(Lnet/minecraft/network/message/MessageSignatureData;)V- intermediary - <init>- Lnet/minecraft/class_7469$class_7819;<init>(Lnet/minecraft/class_7469;)V- official - <init>- Lxb$a;<init>(Lxb;)V
 
- 
Indexedpublic Indexed(int id) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/network/message/MessageSignatureData$Indexed;<init>(I)V- intermediary - <init>- Lnet/minecraft/class_7469$class_7819;<init>(I)V- official - <init>- Lxb$a;<init>(I)V
 
- 
Indexed
 
- 
- 
Method Details- 
fromBuf- Mappings:
- Namespace - Name - Mixin selector - named - fromBuf- Lnet/minecraft/network/message/MessageSignatureData$Indexed;fromBuf(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/network/message/MessageSignatureData$Indexed;- intermediary - method_46278- Lnet/minecraft/class_7469$class_7819;method_46278(Lnet/minecraft/class_2540;)Lnet/minecraft/class_7469$class_7819;- official - a- Lxb$a;a(Lvl;)Lxb$a;
 
- 
write- Mappings:
- Namespace - Name - Mixin selector - named - write- Lnet/minecraft/network/message/MessageSignatureData$Indexed;write(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/network/message/MessageSignatureData$Indexed;)V- intermediary - method_46279- Lnet/minecraft/class_7469$class_7819;method_46279(Lnet/minecraft/class_2540;Lnet/minecraft/class_7469$class_7819;)V- official - a- Lxb$a;a(Lvl;Lxb$a;)V
 
- 
getSignature- Mappings:
- Namespace - Name - Mixin selector - named - getSignature- Lnet/minecraft/network/message/MessageSignatureData$Indexed;getSignature(Lnet/minecraft/network/message/MessageSignatureStorage;)Ljava/util/Optional;- intermediary - method_46280- Lnet/minecraft/class_7469$class_7819;method_46280(Lnet/minecraft/class_7561;)Ljava/util/Optional;- official - a- Lxb$a;a(Lxc;)Ljava/util/Optional;
 
- 
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='.
- 
idpublic int id()Returns the value of theidrecord component.- Returns:
- the value of the idrecord component
 
- 
fullSignatureReturns the value of thefullSignaturerecord component.- Returns:
- the value of the fullSignaturerecord component
 
 
-