Package net.minecraft.network.message
Record Class CommandArgumentSigner.Signatures
java.lang.Object
java.lang.Record
net.minecraft.network.message.CommandArgumentSigner.Signatures
- Record Components:
decoder-argumentSigner-argumentSignatures-signedPreview-
- All Implemented Interfaces:
CommandArgumentSigner
- Enclosing interface:
CommandArgumentSigner
public static record CommandArgumentSigner.Signatures(class_7610.class_7611 decoder, ChatMessageSigner argumentSigner, ArgumentSignatureDataMap argumentSignatures, boolean signedPreview)
extends Record
implements CommandArgumentSigner
A signature for command arguments, consisting of the sender, the timestamp,
and the signature datas for the arguments.
- Mappings:
Namespace Name official dp$aintermediary net/minecraft/class_7448$class_7449named net/minecraft/network/message/CommandArgumentSigner$Signaturesofficial aintermediary comp_910named decoderofficial bintermediary comp_911named argumentSignerofficial cintermediary comp_777named argumentSignaturesofficial dintermediary comp_854named signedPreview
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.network.message.CommandArgumentSigner
CommandArgumentSigner.Signatures -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ArgumentSignatureDataMapThe field for theargumentSignaturesrecord component.private final ChatMessageSignerThe field for theargumentSignerrecord component.private final class_7610.class_7611The field for thedecoderrecord component.private final booleanThe field for thesignedPreviewrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionSignatures(class_7610.class_7611 class_7611, ChatMessageSigner chatMessageSigner, ArgumentSignatureDataMap argumentSignatureDataMap, boolean bool) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theargumentSignaturesrecord component.decoder()final booleanIndicates whether some other object is "equal to" this one.getArgumentSignature(String argumentName) final inthashCode()Returns a hash code value for this object.booleanisPreviewSigned(String argumentName) booleanReturns the value of thesignedPreviewrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
decoder
The field for thedecoderrecord component. -
argumentSigner
The field for theargumentSignerrecord component. -
argumentSignatures
The field for theargumentSignaturesrecord component. -
signedPreview
private final boolean signedPreviewThe field for thesignedPreviewrecord component.
-
-
Constructor Details
-
Signatures
public Signatures(class_7610.class_7611 class_7611, ChatMessageSigner chatMessageSigner, ArgumentSignatureDataMap argumentSignatureDataMap, boolean bool)
-
-
Method Details
-
getArgumentSignature
- Specified by:
getArgumentSignaturein interfaceCommandArgumentSigner- Mappings:
Namespace Name Mixin selector official aLdp;a(Ljava/lang/String;)Lrr;intermediary method_44796Lnet/minecraft/class_7448;method_44796(Ljava/lang/String;)Lnet/minecraft/class_7469;named getArgumentSignatureLnet/minecraft/network/message/CommandArgumentSigner;getArgumentSignature(Ljava/lang/String;)Lnet/minecraft/network/message/MessageSignature;
-
isPreviewSigned
- Specified by:
isPreviewSignedin interfaceCommandArgumentSigner- Mappings:
Namespace Name Mixin selector official bLdp;b(Ljava/lang/String;)Zintermediary method_44250Lnet/minecraft/class_7448;method_44250(Ljava/lang/String;)Znamed isPreviewSignedLnet/minecraft/network/message/CommandArgumentSigner;isPreviewSigned(Ljava/lang/String;)Z
-
decoder
- Specified by:
decoderin interfaceCommandArgumentSigner- Mappings:
Namespace Name Mixin selector official cLdp;c()Lrx$a;intermediary comp_910Lnet/minecraft/class_7448;comp_910()Lnet/minecraft/class_7610$class_7611;named decoderLnet/minecraft/network/message/CommandArgumentSigner;decoder()Lnet/minecraft/class_7610$class_7611;
-
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 '=='. -
argumentSigner
- Specified by:
argumentSignerin interfaceCommandArgumentSigner- Mappings:
Namespace Name Mixin selector official bLdp;b()Lrs;intermediary comp_911Lnet/minecraft/class_7448;comp_911()Lnet/minecraft/class_7470;named argumentSignerLnet/minecraft/network/message/CommandArgumentSigner;argumentSigner()Lnet/minecraft/network/message/ChatMessageSigner;
-
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
-