net.minecraft.commands.arguments

public class ComponentArgument

implements com.mojang.brigadier.arguments.ArgumentType<Component>

dg
net.minecraft.commands.arguments.ComponentArgument
net.minecraft.class_2178
net.minecraft.command.argument.TextArgumentType
net.minecraft.command.arguments.ComponentArgument
net.minecraft.server.v1_16_R2.ArgumentChatComponent

Field summary

Modifier and TypeField
private static final Collection<String>
b
EXAMPLES
field_9841
EXAMPLES
field_201307_b
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
a
ERROR_INVALID_JSON
field_9842
INVALID_COMPONENT_EXCEPTION
field_197070_a

Constructor summary

ModifierConstructor
private ()

Method summary

Modifier and TypeMethod
public static Component
a(com.mojang.brigadier.context.CommandContext<db> arg0, String arg1)
getComponent(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_9280(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getTextArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
func_197068_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
public static ComponentArgument
a()
textComponent()
method_9281()
text()
func_197067_a()
public Component
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_9283(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
public Collection<String>
getExamples()
getExamples()
getExamples()
getExamples()
getExamples()