Package net.minecraft.network.encryption
Record Class ArgumentSignatures
java.lang.Object
java.lang.Record
net.minecraft.network.encryption.ArgumentSignatures
- Record Components:
salt-signatures-
- Mappings:
Namespace Name official dvintermediary net/minecraft/class_7450named net/minecraft/network/encryption/ArgumentSignaturesofficial aintermediary comp_778named saltofficial bintermediary comp_779named signatures
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate final longThe field for thesaltrecord component.The field for thesignaturesrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncollectArguments(com.mojang.brigadier.context.CommandContextBuilder<?> builder) createSignatureData(String argumentName) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static ArgumentSignaturesnone()private static <T> TextresultToText(TextConvertibleArgumentType<T> type, com.mojang.brigadier.context.ParsedArgument<?, ?> argument) longsalt()Returns the value of thesaltrecord component.Returns the value of thesignaturesrecord component.final StringtoString()Returns a string representation of this record class.voidwrite(PacketByteBuf buf)
-
Field Details
-
salt
private final long saltThe field for thesaltrecord component. -
signatures
The field for thesignaturesrecord component. -
MAX_ARGUMENT_NAME_LENGTH
private static final int MAX_ARGUMENT_NAME_LENGTH- See Also:
- Mappings:
Namespace Name Mixin selector official cLdv;c:Iintermediary field_39185Lnet/minecraft/class_7450;field_39185:Inamed MAX_ARGUMENT_NAME_LENGTHLnet/minecraft/network/encryption/ArgumentSignatures;MAX_ARGUMENT_NAME_LENGTH:I
-
-
Constructor Details
-
ArgumentSignatures
- Mappings:
Namespace Name Mixin selector official <init>Ldv;<init>(Lqw;)Vintermediary <init>Lnet/minecraft/class_7450;<init>(Lnet/minecraft/class_2540;)Vnamed <init>Lnet/minecraft/network/encryption/ArgumentSignatures;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
ArgumentSignatures
-
-
Method Details
-
none
- Mappings:
Namespace Name Mixin selector official aLdv;a()Ldv;intermediary method_43745Lnet/minecraft/class_7450;method_43745()Lnet/minecraft/class_7450;named noneLnet/minecraft/network/encryption/ArgumentSignatures;none()Lnet/minecraft/network/encryption/ArgumentSignatures;
-
createSignatureData
- Mappings:
Namespace Name Mixin selector official aLdv;a(Ljava/lang/String;)Lakm$b;intermediary method_43748Lnet/minecraft/class_7450;method_43748(Ljava/lang/String;)Lnet/minecraft/class_3515$class_7425;named createSignatureDataLnet/minecraft/network/encryption/ArgumentSignatures;createSignatureData(Ljava/lang/String;)Lnet/minecraft/network/encryption/NetworkEncryptionUtils$SignatureData;
-
write
- Mappings:
Namespace Name Mixin selector official aLdv;a(Lqw;)Vintermediary method_43749Lnet/minecraft/class_7450;method_43749(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/encryption/ArgumentSignatures;write(Lnet/minecraft/network/PacketByteBuf;)V
-
collectArguments
public static Map<String,Text> collectArguments(com.mojang.brigadier.context.CommandContextBuilder<?> builder) - Mappings:
Namespace Name Mixin selector official aLdv;a(Lcom/mojang/brigadier/context/CommandContextBuilder;)Ljava/util/Map;intermediary method_43746Lnet/minecraft/class_7450;method_43746(Lcom/mojang/brigadier/context/CommandContextBuilder;)Ljava/util/Map;named collectArgumentsLnet/minecraft/network/encryption/ArgumentSignatures;collectArguments(Lcom/mojang/brigadier/context/CommandContextBuilder;)Ljava/util/Map;
-
resultToText
private static <T> Text resultToText(TextConvertibleArgumentType<T> type, com.mojang.brigadier.context.ParsedArgument<?, ?> argument) - Mappings:
Namespace Name Mixin selector official aLdv;a(Let;Lcom/mojang/brigadier/context/ParsedArgument;)Lrl;intermediary method_43747Lnet/minecraft/class_7450;method_43747(Lnet/minecraft/class_7451;Lcom/mojang/brigadier/context/ParsedArgument;)Lnet/minecraft/class_2561;named resultToTextLnet/minecraft/network/encryption/ArgumentSignatures;resultToText(Lnet/minecraft/command/argument/TextConvertibleArgumentType;Lcom/mojang/brigadier/context/ParsedArgument;)Lnet/minecraft/text/Text;
-
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 '=='. -
salt
public long salt()Returns the value of thesaltrecord component.- Returns:
- the value of the
saltrecord component
-
signatures
Returns the value of thesignaturesrecord component.- Returns:
- the value of the
signaturesrecord component
-