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$a
intermediary net/minecraft/class_7448$class_7449
named net/minecraft/network/message/CommandArgumentSigner$Signatures
official a
intermediary comp_910
named decoder
official b
intermediary comp_911
named argumentSigner
official c
intermediary comp_777
named argumentSignatures
official d
intermediary comp_854
named signedPreview
  • Field Details

  • Constructor Details

  • Method Details

    • getArgumentSignature

      public MessageSignature getArgumentSignature(String argumentName)
      Specified by:
      getArgumentSignature in interface CommandArgumentSigner
      Mappings:
      Namespace Name Mixin selector
      official a Ldp;a(Ljava/lang/String;)Lrr;
      intermediary method_44796 Lnet/minecraft/class_7448;method_44796(Ljava/lang/String;)Lnet/minecraft/class_7469;
      named getArgumentSignature Lnet/minecraft/network/message/CommandArgumentSigner;getArgumentSignature(Ljava/lang/String;)Lnet/minecraft/network/message/MessageSignature;
    • isPreviewSigned

      public boolean isPreviewSigned(String argumentName)
      Specified by:
      isPreviewSigned in interface CommandArgumentSigner
      Mappings:
      Namespace Name Mixin selector
      official b Ldp;b(Ljava/lang/String;)Z
      intermediary method_44250 Lnet/minecraft/class_7448;method_44250(Ljava/lang/String;)Z
      named isPreviewSigned Lnet/minecraft/network/message/CommandArgumentSigner;isPreviewSigned(Ljava/lang/String;)Z
    • decoder

      public class_7610.class_7611 decoder()
      Specified by:
      decoder in interface CommandArgumentSigner
      Mappings:
      Namespace Name Mixin selector
      official c Ldp;c()Lrx$a;
      intermediary comp_910 Lnet/minecraft/class_7448;comp_910()Lnet/minecraft/class_7610$class_7611;
      named decoder Lnet/minecraft/network/message/CommandArgumentSigner;decoder()Lnet/minecraft/class_7610$class_7611;
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • argumentSigner

      public ChatMessageSigner argumentSigner()
      Specified by:
      argumentSigner in interface CommandArgumentSigner
      Mappings:
      Namespace Name Mixin selector
      official b Ldp;b()Lrs;
      intermediary comp_911 Lnet/minecraft/class_7448;comp_911()Lnet/minecraft/class_7470;
      named argumentSigner Lnet/minecraft/network/message/CommandArgumentSigner;argumentSigner()Lnet/minecraft/network/message/ChatMessageSigner;
    • argumentSignatures

      public ArgumentSignatureDataMap argumentSignatures()
      Returns the value of the argumentSignatures record component.
      Returns:
      the value of the argumentSignatures record component
    • signedPreview

      public boolean signedPreview()
      Returns the value of the signedPreview record component.
      Returns:
      the value of the signedPreview record component