Package net.minecraft.commands.arguments
Class ComponentArgument
java.lang.Object
net.minecraft.commands.arguments.ComponentArgument
- All Implemented Interfaces:
 com.mojang.brigadier.arguments.ArgumentType<Component>
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.brigadier.exceptions.DynamicCommandExceptionTypeprivate static final Collection<String> - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentgetComponent(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_87118_, String p_87119_) parse(com.mojang.brigadier.StringReader p_87116_) static ComponentArgumentMethods 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 
- 
Field Details
- 
EXAMPLES
 - 
ERROR_INVALID_JSON
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_INVALID_JSON 
 - 
 - 
Constructor Details
- 
ComponentArgument
private ComponentArgument() 
 - 
 - 
Method Details
- 
getComponent
public static Component getComponent(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_87118_, String p_87119_)  - 
textComponent
 - 
parse
public Component parse(com.mojang.brigadier.StringReader p_87116_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
 parsein interfacecom.mojang.brigadier.arguments.ArgumentType<Component>- Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException
 - 
getExamples
- Specified by:
 getExamplesin interfacecom.mojang.brigadier.arguments.ArgumentType<Component>
 
 -