net.minecraft.commands.arguments

public class ComponentArgument

extends ParserBasedArgument<Component>

et
net.minecraft.commands.arguments.ComponentArgument
net.minecraft.class_2178
net.minecraft.command.argument.TextArgumentType
net.minecraft.src.C_3220_

Field summary

Modifier and TypeField
private static final Collection<String>
b
EXAMPLES
field_9841
EXAMPLES
f_87111_
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
a
ERROR_INVALID_COMPONENT
field_9842
INVALID_COMPONENT_EXCEPTION
f_380284_
private static final com.mojang.serialization.DynamicOps<Tag>
c
OPS
field_58143
OPS
f_382605_
private static final CommandArgumentParser<Tag>
d
TAG_PARSER
field_57829
PARSER
f_382208_

Constructor summary

ModifierConstructor
private (HolderLookup$Provider registries)

Method summary

Modifier and TypeMethod
public static Component
a(com.mojang.brigadier.context.CommandContext<ek> arg0, String arg1)
getRawComponent(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_67414(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getTextArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
m_87117_(com.mojang.brigadier.context.CommandContext<C_2969_> p_87118_, String p_87119_)
public static Component
a(com.mojang.brigadier.context.CommandContext<ek> arg0, String arg1, bxe arg2)
getResolvedComponent(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1, Entity arg2)
method_67415(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1, class_1297 arg2)
parseTextArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, Entity sender)
m_388580_(com.mojang.brigadier.context.CommandContext<C_2969_> p_395258_, String p_396011_, C_507_ p_391430_)
public static Component
b(com.mojang.brigadier.context.CommandContext<ek> arg0, String arg1)
getResolvedComponent(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_67416(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
parseTextArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
m_386134_(com.mojang.brigadier.context.CommandContext<C_2969_> p_394442_, String p_394478_)
public static ComponentArgument
a(eg arg0)
textComponent(CommandBuildContext arg0)
method_9281(class_7157 arg0)
text(CommandRegistryAccess registryAccess)
m_87114_(C_213173_ p_330669_)
public Collection<String>
getExamples()
getExamples()
getExamples()