Package net.minecraft.command.argument
Record Class SignedArgumentList<S>
java.lang.Object
java.lang.Record
net.minecraft.command.argument.SignedArgumentList<S>
- Record Components:
- arguments-
public record SignedArgumentList<S>(List<SignedArgumentList.ParsedArgument<S>> arguments)
extends Record
A list of parsed signed arguments.
- See Also:
- Mappings:
- Namespace - Name - official - tn- intermediary - net/minecraft/class_7644- named - net/minecraft/command/argument/SignedArgumentList- official - a- intermediary - comp_974- named - arguments
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final recordA parsed signed argument, also used as the entry ofSignedArgumentList.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final List<SignedArgumentList.ParsedArgument<S>>The field for theargumentsrecord component.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns the value of theargumentsrecord component.private static <S> List<SignedArgumentList.ParsedArgument<S>>collectDecoratableArguments(String argumentName, com.mojang.brigadier.context.CommandContextBuilder<S> builder) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static <S> SignedArgumentList<S>of(com.mojang.brigadier.ParseResults<S> parseResults) Returns a new instance of this list fromparseResults.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
argumentsThe field for theargumentsrecord component.
 
- 
- 
Constructor Details- 
SignedArgumentList
 
- 
- 
Method Details- 
ofReturns a new instance of this list fromparseResults.- Returns:
- a new instance of this list from parseResults
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ltn;a(Lcom/mojang/brigadier/ParseResults;)Ltn;- intermediary - method_45043- Lnet/minecraft/class_7644;method_45043(Lcom/mojang/brigadier/ParseResults;)Lnet/minecraft/class_7644;- named - of- Lnet/minecraft/command/argument/SignedArgumentList;of(Lcom/mojang/brigadier/ParseResults;)Lnet/minecraft/command/argument/SignedArgumentList;
 
- 
collectDecoratableArgumentsprivate static <S> List<SignedArgumentList.ParsedArgument<S>> collectDecoratableArguments(String argumentName, com.mojang.brigadier.context.CommandContextBuilder<S> builder) - Mappings:
- Namespace - Name - Mixin selector - official - a- Ltn;a(Ljava/lang/String;Lcom/mojang/brigadier/context/CommandContextBuilder;)Ljava/util/List;- intermediary - method_45044- Lnet/minecraft/class_7644;method_45044(Ljava/lang/String;Lcom/mojang/brigadier/context/CommandContextBuilder;)Ljava/util/List;- named - collectDecoratableArguments- Lnet/minecraft/command/argument/SignedArgumentList;collectDecoratableArguments(Ljava/lang/String;Lcom/mojang/brigadier/context/CommandContextBuilder;)Ljava/util/List;
 
- 
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).
- 
argumentsReturns the value of theargumentsrecord component.- Returns:
- the value of the argumentsrecord component
 
 
-