net.minecraft.commands.arguments

public class ComponentArgument

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

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

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_JSON
field_9842
INVALID_COMPONENT_EXCEPTION
f_87110_
private final HolderLookup$Provider
c
registries
field_48917
registryLookup
f_314990_

Constructor summary

ModifierConstructor
private (HolderLookup$Provider registryLookup)

Method summary

Modifier and TypeMethod
public static Component
a(com.mojang.brigadier.context.CommandContext<ep> 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)
m_87117_(com.mojang.brigadier.context.CommandContext<C_2969_> p_87118_, String p_87119_)
public static ComponentArgument
a(el arg0)
textComponent(CommandBuildContext arg0)
method_9281(class_7157 arg0)
text(CommandRegistryAccess registryAccess)
m_87114_(C_213173_ p_330669_)
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()