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 official th$aintermediary net/minecraft/class_7469$class_7819named net/minecraft/network/message/MessageSignatureData$Indexedofficial bintermediary comp_1079named idofficial cintermediary comp_1080named fullSignature
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @Nullable MessageSignatureDataThe field for thefullSignaturerecord component.private final intThe field for theidrecord component.static final int -
Constructor Summary
ConstructorsConstructorDescriptionIndexed(int id) Indexed(int int2, @Nullable MessageSignatureData messageSignatureData) Indexed(MessageSignatureData signature) -
Method Summary
Modifier 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
-
id
private final int idThe field for theidrecord component. -
fullSignature
The field for thefullSignaturerecord component. -
MISSING_ID
public static final int MISSING_ID- See Also:
- Mappings:
Namespace Name Mixin selector official aLth$a;a:Iintermediary field_40684Lnet/minecraft/class_7469$class_7819;field_40684:Inamed MISSING_IDLnet/minecraft/network/message/MessageSignatureData$Indexed;MISSING_ID:I
-
-
Constructor Details
-
Indexed
- Mappings:
Namespace Name Mixin selector official <init>Lth$a;<init>(Lth;)Vintermediary <init>Lnet/minecraft/class_7469$class_7819;<init>(Lnet/minecraft/class_7469;)Vnamed <init>Lnet/minecraft/network/message/MessageSignatureData$Indexed;<init>(Lnet/minecraft/network/message/MessageSignatureData;)V
-
Indexed
public Indexed(int id) - Mappings:
Namespace Name Mixin selector official <init>Lth$a;<init>(I)Vintermediary <init>Lnet/minecraft/class_7469$class_7819;<init>(I)Vnamed <init>Lnet/minecraft/network/message/MessageSignatureData$Indexed;<init>(I)V
-
Indexed
-
-
Method Details
-
fromBuf
- Mappings:
Namespace Name Mixin selector official aLth$a;a(Lsf;)Lth$a;intermediary method_46278Lnet/minecraft/class_7469$class_7819;method_46278(Lnet/minecraft/class_2540;)Lnet/minecraft/class_7469$class_7819;named fromBufLnet/minecraft/network/message/MessageSignatureData$Indexed;fromBuf(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/network/message/MessageSignatureData$Indexed;
-
write
- Mappings:
Namespace Name Mixin selector official aLth$a;a(Lsf;Lth$a;)Vintermediary method_46279Lnet/minecraft/class_7469$class_7819;method_46279(Lnet/minecraft/class_2540;Lnet/minecraft/class_7469$class_7819;)Vnamed writeLnet/minecraft/network/message/MessageSignatureData$Indexed;write(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/network/message/MessageSignatureData$Indexed;)V
-
getSignature
- Mappings:
Namespace Name Mixin selector official aLth$a;a(Lti;)Ljava/util/Optional;intermediary method_46280Lnet/minecraft/class_7469$class_7819;method_46280(Lnet/minecraft/class_7561;)Ljava/util/Optional;named getSignatureLnet/minecraft/network/message/MessageSignatureData$Indexed;getSignature(Lnet/minecraft/network/message/MessageSignatureStorage;)Ljava/util/Optional;
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
id
public int id()Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
fullSignature
Returns the value of thefullSignaturerecord component.- Returns:
- the value of the
fullSignaturerecord component
-