net.minecraft.commands.arguments.item

public class FunctionArgument

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

gx
net.minecraft.commands.arguments.item.FunctionArgument
net.minecraft.class_2284
net.minecraft.command.argument.CommandFunctionArgumentType
net.minecraft.src.C_4638_
net.minecraft.commands.arguments.item.ArgumentTag

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static FunctionArgument
a()
functions()
method_9760()
commandFunction()
m_120907_()
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)
parse(com.mojang.brigadier.StringReader arg0)
static CommandFunction<CommandSourceStack>
a(com.mojang.brigadier.context.CommandContext<ep> arg0, alf 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)
m_120928_(com.mojang.brigadier.context.CommandContext<C_2969_> p_120929_, C_5265_ p_120930_)
static Collection<CommandFunction<CommandSourceStack>>
b(com.mojang.brigadier.context.CommandContext<ep> arg0, alf 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)
m_235273_(com.mojang.brigadier.context.CommandContext<C_2969_> p_235274_, C_5265_ p_235275_)
public static Collection<CommandFunction<CommandSourceStack>>
a(com.mojang.brigadier.context.CommandContext<ep> 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)
m_120910_(com.mojang.brigadier.context.CommandContext<C_2969_> p_120911_, String p_120912_)
public static com.mojang.datafixers.util.Pair<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>>
b(com.mojang.brigadier.context.CommandContext<ep> 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)
m_120920_(com.mojang.brigadier.context.CommandContext<C_2969_> p_120921_, String p_120922_)
public static com.mojang.datafixers.util.Pair<ResourceLocation, Collection<CommandFunction<CommandSourceStack>>>
c(com.mojang.brigadier.context.CommandContext<ep> 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)
m_306861_(com.mojang.brigadier.context.CommandContext<C_2969_> p_312555_, String p_311726_)
public Collection<String>
getExamples()
getExamples()
getExamples()