net.minecraft.commands.arguments.item

public class FunctionArgument

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

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

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static FunctionArgument
a()
functions()
method_9760()
commandFunction()
public FunctionArgument$Result
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_9764(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
static CommandFunction<CommandSourceStack>
a(com.mojang.brigadier.context.CommandContext<ew> arg0, alz arg1)
getFunction(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, ResourceLocation arg1)
method_9761(com.mojang.brigadier.context.CommandContext<class_2168> arg0, class_2960 arg1)
getFunction(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Identifier id)
static Collection<CommandFunction<CommandSourceStack>>
b(com.mojang.brigadier.context.CommandContext<ew> arg0, alz arg1)
getFunctionTag(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, ResourceLocation arg1)
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<CommandSourceStack>>
a(com.mojang.brigadier.context.CommandContext<ew> arg0, String arg1)
getFunctions(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
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<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>>
b(com.mojang.brigadier.context.CommandContext<ew> arg0, String arg1)
getFunctionOrTag(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
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<ResourceLocation, Collection<CommandFunction<CommandSourceStack>>>
c(com.mojang.brigadier.context.CommandContext<ew> arg0, String arg1)
getFunctionCollection(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
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()
getExamples()