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$bintermediary net/minecraft/class_7448$class_7449named net/minecraft/network/message/SignedCommandArguments$Implofficial aintermediary comp_910named decoderofficial bintermediary comp_911named metadataofficial cintermediary comp_777named argumentSignaturesofficial dintermediary comp_854named signedPreviewofficial eintermediary comp_953named 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 ArgumentSignatureDataMapThe field for theargumentSignaturesrecord component.private final MessageChain.UnpackerThe field for thedecoderrecord component.private final class_7635The field for thelastSeenMessagesrecord component.private final MessageMetadataThe field for themetadatarecord component.private final booleanThe field for thesignedPreviewrecord 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 theargumentSignaturesrecord component.decoder()final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelastSeenMessagesrecord component.metadata()method_44907(String string) booleanReturns the value of thesignedPreviewrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
decoder
The field for thedecoderrecord component. -
metadata
The field for themetadatarecord component. -
argumentSignatures
The field for theargumentSignaturesrecord component. -
signedPreview
private final boolean signedPreviewThe field for thesignedPreviewrecord component. -
lastSeenMessages
The field for thelastSeenMessagesrecord 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_44907in interfaceSignedCommandArguments- Mappings:
Namespace Name Mixin selector official aLdp;a(Ljava/lang/String;)Ldp$a;intermediary method_44907Lnet/minecraft/class_7448;method_44907(Ljava/lang/String;)Lnet/minecraft/class_7448$class_7622;named method_44907Lnet/minecraft/network/message/SignedCommandArguments;method_44907(Ljava/lang/String;)Lnet/minecraft/network/message/SignedCommandArguments$class_7622;
-
decoder
- Specified by:
decoderin interfaceSignedCommandArguments- Mappings:
Namespace Name Mixin selector official cLdp;c()Lsc$a;intermediary comp_910Lnet/minecraft/class_7448;comp_910()Lnet/minecraft/class_7610$class_7611;named decoderLnet/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:
metadatain interfaceSignedCommandArguments- Mappings:
Namespace Name Mixin selector official bLdp;b()Lrx;intermediary comp_911Lnet/minecraft/class_7448;comp_911()Lnet/minecraft/class_7470;named metadataLnet/minecraft/network/message/SignedCommandArguments;metadata()Lnet/minecraft/network/message/MessageMetadata;
-
argumentSignatures
Returns the value of theargumentSignaturesrecord component.- Returns:
- the value of the
argumentSignaturesrecord component
-
signedPreview
public boolean signedPreview()Returns the value of thesignedPreviewrecord component.- Returns:
- the value of the
signedPreviewrecord component
-
lastSeenMessages
Returns the value of thelastSeenMessagesrecord component.- Returns:
- the value of the
lastSeenMessagesrecord component
-