net.minecraft.command.argument

public class CommandFunctionArgumentType

implements com.mojang.brigadier.arguments.ArgumentType<CommandFunctionArgumentType$FunctionArgument>

net.minecraft.commands.arguments.item.FunctionArgument
net.minecraft.class_2284
net.minecraft.command.argument.CommandFunctionArgumentType

Field summary

Modifier and TypeField
private static final Collection<String>
EXAMPLES
field_10783
EXAMPLES
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
ERROR_UNKNOWN_TAG
field_10782
UNKNOWN_FUNCTION_TAG_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
ERROR_UNKNOWN_FUNCTION
field_10784
UNKNOWN_FUNCTION_EXCEPTION

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static CommandFunctionArgumentType
functions()
method_9760()
commandFunction()
public CommandFunctionArgumentType$FunctionArgument
parse(com.mojang.brigadier.StringReader reader)
method_9764(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
private static CommandFunction<ServerCommandSource>
getFunction(com.mojang.brigadier.context.CommandContext<CommandSourceStack> c, Identifier id)
method_9761(com.mojang.brigadier.context.CommandContext<class_2168> arg0, class_2960 arg1)
getFunction(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Identifier id)
private static Collection<CommandFunction<ServerCommandSource>>
getFunctionTag(com.mojang.brigadier.context.CommandContext<CommandSourceStack> c, Identifier id)
method_9767(com.mojang.brigadier.context.CommandContext<class_2168> arg0, class_2960 arg1)
getFunctionTag(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Identifier id)
public static Collection<CommandFunction<ServerCommandSource>>
getFunctions(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name)
method_9769(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getFunctions(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
public static com.mojang.datafixers.util.Pair<Identifier, com.mojang.datafixers.util.Either<CommandFunction<ServerCommandSource>, Collection<CommandFunction<ServerCommandSource>>>>
getFunctionOrTag(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name)
method_9768(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getFunctionOrTag(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
public static com.mojang.datafixers.util.Pair<Identifier, Collection<CommandFunction<ServerCommandSource>>>
getFunctionCollection(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name)
method_55590(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getIdentifiedFunctions(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
public Collection<String>
getExamples()
public Object
parse(com.mojang.brigadier.StringReader reader)
parse(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader reader)
private static com.mojang.brigadier.exceptions.CommandSyntaxException
lambda$getFunction$0(Identifier arg0)
method_17959(class_2960 arg0)
method_17959(Identifier arg0)
private static com.mojang.brigadier.Message
lambda$static$1(Object arg0)
method_9762(Object arg0)
method_9762(Object id)
private static com.mojang.brigadier.Message
lambda$static$0(Object arg0)
method_9765(Object arg0)
method_9765(Object id)