Package net.minecraft.command.argument
Class TextArgumentType
java.lang.Object
net.minecraft.command.argument.TextArgumentType
- All Implemented Interfaces:
 com.mojang.brigadier.arguments.ArgumentType<Text>
public class TextArgumentType
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<Text>
- Mappings:
 Namespace Name named net/minecraft/command/argument/TextArgumentTypeintermediary net/minecraft/class_2178official ff
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Collection<String> static final com.mojang.brigadier.exceptions.DynamicCommandExceptionTypeprivate final RegistryWrapper.WrapperLookup - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic TextgetTextArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) parse(com.mojang.brigadier.StringReader stringReader) static TextArgumentTypetext(CommandRegistryAccess registryAccess) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mojang.brigadier.arguments.ArgumentType
listSuggestions, parse 
- 
Field Details
- 
EXAMPLES
- Mappings:
 Namespace Name Mixin selector named EXAMPLESLnet/minecraft/command/argument/TextArgumentType;EXAMPLES:Ljava/util/Collection;intermediary field_9841Lnet/minecraft/class_2178;field_9841:Ljava/util/Collection;official bLff;b:Ljava/util/Collection;
 - 
INVALID_COMPONENT_EXCEPTION
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType INVALID_COMPONENT_EXCEPTION- Mappings:
 Namespace Name Mixin selector named INVALID_COMPONENT_EXCEPTIONLnet/minecraft/command/argument/TextArgumentType;INVALID_COMPONENT_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;intermediary field_9842Lnet/minecraft/class_2178;field_9842:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;official aLff;a:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
 - 
registries
- Mappings:
 Namespace Name Mixin selector named registriesLnet/minecraft/command/argument/TextArgumentType;registries:Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;intermediary field_48917Lnet/minecraft/class_2178;field_48917:Lnet/minecraft/class_7225$class_7874;official cLff;c:Ljs$a;
 
 - 
 - 
Constructor Details
- 
TextArgumentType
- Mappings:
 Namespace Name Mixin selector named <init>Lnet/minecraft/command/argument/TextArgumentType;<init>(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Vintermediary <init>Lnet/minecraft/class_2178;<init>(Lnet/minecraft/class_7225$class_7874;)Vofficial <init>Lff;<init>(Ljs$a;)V
 
 - 
 - 
Method Details
- 
getTextArgument
public static Text getTextArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) - Mappings:
 Namespace Name Mixin selector named getTextArgumentLnet/minecraft/command/argument/TextArgumentType;getTextArgument(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/text/Text;intermediary method_9280Lnet/minecraft/class_2178;method_9280(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2561;official aLff;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lxv;
 - 
text
- Mappings:
 Namespace Name Mixin selector named textLnet/minecraft/command/argument/TextArgumentType;text(Lnet/minecraft/command/CommandRegistryAccess;)Lnet/minecraft/command/argument/TextArgumentType;intermediary method_9281Lnet/minecraft/class_2178;method_9281(Lnet/minecraft/class_7157;)Lnet/minecraft/class_2178;official aLff;a(Les;)Lff;
 - 
parse
public Text parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
 parsein interfacecom.mojang.brigadier.arguments.ArgumentType<Text>- Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
 Namespace Name Mixin selector named parseLnet/minecraft/command/argument/TextArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/text/Text;intermediary method_9283Lnet/minecraft/class_2178;method_9283(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2561;official aLff;a(Lcom/mojang/brigadier/StringReader;)Lxv;
 - 
getExamples
- Specified by:
 getExamplesin interfacecom.mojang.brigadier.arguments.ArgumentType<Text>
 
 -