net.minecraft.commands.arguments.item

public class FunctionArgument

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

dv
net.minecraft.commands.arguments.item.FunctionArgument
net.minecraft.class_2284
net.minecraft.command.arguments.FunctionArgumentType
net.minecraft.command.arguments.FunctionArgument
net.minecraft.server.v1_14_R1.ArgumentTag

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static FunctionArgument
a()
functions()
method_9760()
function()
func_200021_a()
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)
private static CommandFunction
c(com.mojang.brigadier.context.CommandContext<cd> arg0, qv 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)
func_218108_c(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, ResourceLocation arg1)
private static Tag<CommandFunction>
d(com.mojang.brigadier.context.CommandContext<cd> arg0, qv 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)
func_218111_d(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, ResourceLocation arg1)
public static Collection<CommandFunction>
a(com.mojang.brigadier.context.CommandContext<cd> 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)
func_200022_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
public static com.mojang.datafixers.util.Either<CommandFunction, Tag<CommandFunction>>
b(com.mojang.brigadier.context.CommandContext<cd> 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)
func_218110_b(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
public Collection<String>
getExamples()
getExamples()
getExamples()
getExamples()