Package net.minecraft.command.argument
Record Class SignedArgumentList.ParsedArgument<S>
java.lang.Object
java.lang.Record
net.minecraft.command.argument.SignedArgumentList.ParsedArgument<S>
- Record Components:
- node-
- value-
- Enclosing class:
- SignedArgumentList<S>
public static record SignedArgumentList.ParsedArgument<S>(com.mojang.brigadier.tree.ArgumentCommandNode<S,?> node, String value)
extends Record 
A parsed signed argument, also used as the entry of 
SignedArgumentList.- Mappings:
- Namespace - Name - named - net/minecraft/command/argument/SignedArgumentList$ParsedArgument- intermediary - net/minecraft/class_7644$class_7645- official - xh$a- named - node- intermediary - comp_975- official - a- named - value- intermediary - comp_1089- official - b
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionParsedArgument(com.mojang.brigadier.tree.ArgumentCommandNode<S, ?> argumentCommandNode, String string) 
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.com.mojang.brigadier.tree.ArgumentCommandNode<S, ?> node()Returns the value of thenoderecord component.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
- 
Field Details
- 
Constructor Details- 
ParsedArgument
 
- 
- 
Method Details- 
getNodeName- Mappings:
- Namespace - Name - Mixin selector - named - getNodeName- Lnet/minecraft/command/argument/SignedArgumentList$ParsedArgument;getNodeName()Ljava/lang/String;- intermediary - method_45046- Lnet/minecraft/class_7644$class_7645;method_45046()Ljava/lang/String;- official - a- Lxh$a;a()Ljava/lang/String;
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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. All components in this record class are compared withObjects::equals(Object,Object).
- 
nodeReturns the value of thenoderecord component.- Returns:
- the value of the noderecord component
 
- 
valueReturns the value of thevaluerecord component.- Returns:
- the value of the valuerecord component
 
 
-