Package net.minecraft.network.message
Record Class SignedCommandArguments.Impl
java.lang.Object
java.lang.Record
net.minecraft.network.message.SignedCommandArguments.Impl
- Record Components:
decoder
-metadata
-argumentSignatures
-signedPreview
-lastSeenMessages
-
- All Implemented Interfaces:
SignedCommandArguments
- Enclosing interface:
SignedCommandArguments
public static record SignedCommandArguments.Impl(MessageChain.Unpacker decoder, MessageMetadata metadata, ArgumentSignatureDataMap argumentSignatures, boolean signedPreview, class_7635 lastSeenMessages)
extends Record
implements SignedCommandArguments
A signature for command arguments, consisting of the sender, the timestamp,
and the signature datas for the arguments.
- Mappings:
Namespace Name official dp$b
intermediary net/minecraft/class_7448$class_7449
named net/minecraft/network/message/SignedCommandArguments$Impl
official a
intermediary comp_910
named decoder
official b
intermediary comp_911
named metadata
official c
intermediary comp_777
named argumentSignatures
official d
intermediary comp_854
named signedPreview
official e
intermediary comp_953
named lastSeenMessages
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.network.message.SignedCommandArguments
SignedCommandArguments.class_7622, SignedCommandArguments.Impl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ArgumentSignatureDataMap
The field for theargumentSignatures
record component.private final MessageChain.Unpacker
The field for thedecoder
record component.private final class_7635
The field for thelastSeenMessages
record component.private final MessageMetadata
The field for themetadata
record component.private final boolean
The field for thesignedPreview
record component. -
Constructor Summary
ConstructorsConstructorDescriptionImpl
(MessageChain.Unpacker unpacker, MessageMetadata messageMetadata, ArgumentSignatureDataMap argumentSignatureDataMap, boolean bool, class_7635 class_7635) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theargumentSignatures
record component.decoder()
final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of thelastSeenMessages
record component.metadata()
method_44907
(String string) boolean
Returns the value of thesignedPreview
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
decoder
The field for thedecoder
record component. -
metadata
The field for themetadata
record component. -
argumentSignatures
The field for theargumentSignatures
record component. -
signedPreview
private final boolean signedPreviewThe field for thesignedPreview
record component. -
lastSeenMessages
The field for thelastSeenMessages
record component.
-
-
Constructor Details
-
Impl
public Impl(MessageChain.Unpacker unpacker, MessageMetadata messageMetadata, ArgumentSignatureDataMap argumentSignatureDataMap, boolean bool, class_7635 class_7635)
-
-
Method Details
-
method_44907
- Specified by:
method_44907
in interfaceSignedCommandArguments
- Mappings:
Namespace Name Mixin selector official a
Ldp;a(Ljava/lang/String;)Ldp$a;
intermediary method_44907
Lnet/minecraft/class_7448;method_44907(Ljava/lang/String;)Lnet/minecraft/class_7448$class_7622;
named method_44907
Lnet/minecraft/network/message/SignedCommandArguments;method_44907(Ljava/lang/String;)Lnet/minecraft/network/message/SignedCommandArguments$class_7622;
-
decoder
- Specified by:
decoder
in interfaceSignedCommandArguments
- Mappings:
Namespace Name Mixin selector official c
Ldp;c()Lsc$a;
intermediary comp_910
Lnet/minecraft/class_7448;comp_910()Lnet/minecraft/class_7610$class_7611;
named decoder
Lnet/minecraft/network/message/SignedCommandArguments;decoder()Lnet/minecraft/network/message/MessageChain$Unpacker;
-
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 '=='. -
metadata
- Specified by:
metadata
in interfaceSignedCommandArguments
- Mappings:
Namespace Name Mixin selector official b
Ldp;b()Lrx;
intermediary comp_911
Lnet/minecraft/class_7448;comp_911()Lnet/minecraft/class_7470;
named metadata
Lnet/minecraft/network/message/SignedCommandArguments;metadata()Lnet/minecraft/network/message/MessageMetadata;
-
argumentSignatures
Returns the value of theargumentSignatures
record component.- Returns:
- the value of the
argumentSignatures
record component
-
signedPreview
public boolean signedPreview()Returns the value of thesignedPreview
record component.- Returns:
- the value of the
signedPreview
record component
-
lastSeenMessages
Returns the value of thelastSeenMessages
record component.- Returns:
- the value of the
lastSeenMessages
record component
-