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 xk$a
named id
intermediary comp_1079
official b
named fullSignature
intermediary comp_1080
official c
-
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) 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 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
Lxk$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>
Lxk$a;<init>(Lxk;)V
-
Indexed
public 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>
Lxk$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
Lxk$a;a(Lvv;)Lxk$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
Lxk$a;a(Lvv;Lxk$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
Lxk$a;a(Lxl;)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
-