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 tw$a
intermediary net/minecraft/class_7469$class_7819
named net/minecraft/network/message/MessageSignatureData$Indexed
official b
intermediary comp_1079
named id
official c
intermediary comp_1080
named fullSignature
-
Field Summary
Modifier and TypeFieldDescriptionprivate final @Nullable MessageSignatureData
The field for thefullSignature
record component.private final int
The field for theid
record component.static final int
-
Constructor Summary
ConstructorDescriptionIndexed
(int id) Indexed
(int int2, @Nullable MessageSignatureData messageSignatureData) Indexed
(MessageSignatureData signature) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.static MessageSignatureData.Indexed
fromBuf
(PacketByteBuf buf) @Nullable MessageSignatureData
Returns the value of thefullSignature
record component.getSignature
(MessageSignatureStorage storage) final int
hashCode()
Returns a hash code value for this object.int
id()
Returns the value of theid
record component.final String
toString()
Returns a string representation of this record class.static void
write
(PacketByteBuf buf, MessageSignatureData.Indexed indexed)
-
Field Details
-
id
private final int idThe field for theid
record component. -
fullSignature
The field for thefullSignature
record component. -
MISSING_ID
public static final int MISSING_ID- See Also:
- Mappings:
Namespace Name Mixin selector official a
Ltw$a;a:I
intermediary field_40684
Lnet/minecraft/class_7469$class_7819;field_40684:I
named MISSING_ID
Lnet/minecraft/network/message/MessageSignatureData$Indexed;MISSING_ID:I
-
-
Constructor Details
-
Indexed
- Mappings:
Namespace Name Mixin selector official <init>
Ltw$a;<init>(Ltw;)V
intermediary <init>
Lnet/minecraft/class_7469$class_7819;<init>(Lnet/minecraft/class_7469;)V
named <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>
Ltw$a;<init>(I)V
intermediary <init>
Lnet/minecraft/class_7469$class_7819;<init>(I)V
named <init>
Lnet/minecraft/network/message/MessageSignatureData$Indexed;<init>(I)V
-
Indexed
-
-
Method Details
-
fromBuf
- Mappings:
Namespace Name Mixin selector official a
Ltw$a;a(Lso;)Ltw$a;
intermediary method_46278
Lnet/minecraft/class_7469$class_7819;method_46278(Lnet/minecraft/class_2540;)Lnet/minecraft/class_7469$class_7819;
named fromBuf
Lnet/minecraft/network/message/MessageSignatureData$Indexed;fromBuf(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/network/message/MessageSignatureData$Indexed;
-
write
- Mappings:
Namespace Name Mixin selector official a
Ltw$a;a(Lso;Ltw$a;)V
intermediary method_46279
Lnet/minecraft/class_7469$class_7819;method_46279(Lnet/minecraft/class_2540;Lnet/minecraft/class_7469$class_7819;)V
named write
Lnet/minecraft/network/message/MessageSignatureData$Indexed;write(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/network/message/MessageSignatureData$Indexed;)V
-
getSignature
- Mappings:
Namespace Name Mixin selector official a
Ltw$a;a(Ltx;)Ljava/util/Optional;
intermediary method_46280
Lnet/minecraft/class_7469$class_7819;method_46280(Lnet/minecraft/class_7561;)Ljava/util/Optional;
named getSignature
Lnet/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 theid
record component.- Returns:
- the value of the
id
record component
-
fullSignature
Returns the value of thefullSignature
record component.- Returns:
- the value of the
fullSignature
record component
-