net.minecraft.commands.arguments

public class ComponentArgument

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

er
net.minecraft.commands.arguments.ComponentArgument
net.minecraft.class_2178
net.minecraft.unmapped.C_aluvpfjr
net.minecraft.command.argument.TextArgumentType
net.minecraft.command.argument.TextArgumentType

Field summary

Modifier and TypeField
private static final Collection<String>
b
EXAMPLES
field_9841
f_mmzvznhy
EXAMPLES
EXAMPLES
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
a
ERROR_INVALID_COMPONENT
field_9842
f_onweabxz
INVALID_COMPONENT_EXCEPTION
private final HolderLookup$Provider
c
registries
field_48917
f_fuqvrage
registries
context

Constructor summary

ModifierConstructor
private (HolderLookup$Provider registries)

Method summary

Modifier and TypeMethod
public static Component
a(com.mojang.brigadier.context.CommandContext<ei> 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)
m_mxeurpey(com.mojang.brigadier.context.CommandContext<C_pennblrk> arg0, String arg1)
getTextArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
m_mxeurpey(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String arg1)
public static Component
a(com.mojang.brigadier.context.CommandContext<ei> arg0, String arg1, bwf 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)
m_nbwxjiby(com.mojang.brigadier.context.CommandContext<C_pennblrk> arg0, String arg1, C_astfners arg2)
parseTextArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, Entity sender)
m_nbwxjiby(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String arg1, Entity entity)
public static Component
b(com.mojang.brigadier.context.CommandContext<ei> 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)
m_szudnlid(com.mojang.brigadier.context.CommandContext<C_pennblrk> arg0, String arg1)
parseTextArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
m_szudnlid(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String arg1)
public static ComponentArgument
a(ee arg0)
textComponent(CommandBuildContext arg0)
method_9281(class_7157 arg0)
m_bjuoourz(C_bprdujxm arg0)
text(CommandRegistryAccess registryAccess)
text(CommandBuildContext context)
public Component
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_9283(com.mojang.brigadier.StringReader arg0)
m_rgzmlfls(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader reader)
public Collection<String>
getExamples()
getExamples()