net.minecraft.server.commands

public class FunctionCommand

and
net.minecraft.server.commands.FunctionCommand
net.minecraft.class_3062
net.minecraft.server.command.FunctionCommand
net.minecraft.server.commands.CommandFunction

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
c
ERROR_ARGUMENT_NOT_COMPOUND
field_44982
ARGUMENT_NOT_COMPOUND_EXCEPTION
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
d
ERROR_NO_FUNCTIONS
field_46644
NO_FUNCTIONS_EXCEPTION
public static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
a
ERROR_FUNCTION_INSTANTATION_FAILURE
field_46645
INSTANTIATION_FAILURE_EXCEPTION
public static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
b
SUGGEST_FUNCTION
field_13662
SUGGESTION_PROVIDER
static final FunctionCommand$Callbacks<CommandSourceStack>
e
FULL_CONTEXT_CALLBACKS
field_46646
RESULT_REPORTER

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<ex> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_13380(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
static CompoundTag
a(fp$g arg0, apn arg1)
getArgumentTag(NbtPathArgument$NbtPath arg0, DataAccessor arg1)
method_52313(class_2203$class_2209 arg0, class_3162 arg1)
getArgument(NbtPathArgumentType$NbtPath path, DataCommandObject object)
public static CommandSourceStack
a(ex arg0)
modifySenderForExecution(CommandSourceStack arg0)
method_54272(class_2168 arg0)
createFunctionCommandSource(ServerCommandSource source)
public static <T extends ExecutionCommandSource<T>> void
a(Collection<il<T>> arg0, tq arg1, T arg2, T arg3, hy<T> arg4, and$b<T> arg5, hs arg6)
queueFunctions(Collection<CommandFunction<T>> arg0, CompoundTag arg1, T arg2, T arg3, ExecutionControl<T> arg4, FunctionCommand$Callbacks<T> arg5, ChainModifiers arg6)
method_54275(Collection<class_2158<T>> arg0, class_2487 arg1, T arg2, T arg3, class_8855<T> arg4, class_3062$class_8832<T> arg5, class_8936 arg6)
enqueueAction(Collection<CommandFunction<T>> commandFunctions, NbtCompound args, T parentSource, T functionSource, ExecutionControl<T> control, FunctionCommand$ResultConsumer<T> resultConsumer, ExecutionFlags flags)
private static <T extends ExecutionCommandSource<T>> void
a(tq arg0, hy<T> arg1, com.mojang.brigadier.CommandDispatcher<T> arg2, T arg3, il<T> arg4, akv arg5, eu arg6, boolean arg7)
instantiateAndQueueFunctions(CompoundTag arg0, ExecutionControl<T> arg1, com.mojang.brigadier.CommandDispatcher<T> arg2, T arg3, CommandFunction<T> arg4, ResourceLocation arg5, CommandResultCallback arg6, boolean arg7)
method_54860(class_2487 arg0, class_8855<T> arg1, com.mojang.brigadier.CommandDispatcher<T> arg2, T arg3, class_2158<T> arg4, class_2960 arg5, class_8935 arg6, boolean arg7)
enqueueFunction(NbtCompound args, ExecutionControl<T> control, com.mojang.brigadier.CommandDispatcher<T> dispatcher, T source, CommandFunction<T> function, Identifier id, ReturnValueConsumer returnValueConsumer, boolean propagateReturn)
private static <T extends ExecutionCommandSource<T>> CommandResultCallback
a(T arg0, and$b<T> arg1, akv arg2, eu arg3)
decorateOutputIfNeeded(T arg0, FunctionCommand$Callbacks<T> arg1, ResourceLocation arg2, CommandResultCallback arg3)
method_54858(T arg0, class_3062$class_8832<T> arg1, class_2960 arg2, class_8935 arg3)
wrapReturnValueConsumer(T flags, FunctionCommand$ResultConsumer<T> resultConsumer, Identifier id, ReturnValueConsumer wrapped)
private static <T extends ExecutionCommandSource<T>> void
a(Collection<il<T>> arg0, tq arg1, T arg2, T arg3, hy<T> arg4, and$b<T> arg5)
queueFunctionsAsReturn(Collection<CommandFunction<T>> arg0, CompoundTag arg1, T arg2, T arg3, ExecutionControl<T> arg4, FunctionCommand$Callbacks<T> arg5)
method_54859(Collection<class_2158<T>> arg0, class_2487 arg1, T arg2, T arg3, class_8855<T> arg4, class_3062$class_8832<T> arg5)
enqueueInReturnRun(Collection<CommandFunction<T>> functions, NbtCompound args, T parentSource, T functionSource, ExecutionControl<T> control, FunctionCommand$ResultConsumer<T> resultConsumer)
private static <T extends ExecutionCommandSource<T>> void
b(Collection<il<T>> arg0, tq arg1, T arg2, T arg3, hy<T> arg4, and$b<T> arg5)
queueFunctionsNoReturn(Collection<CommandFunction<T>> arg0, CompoundTag arg1, T arg2, T arg3, ExecutionControl<T> arg4, FunctionCommand$Callbacks<T> arg5)
method_54861(Collection<class_2158<T>> arg0, class_2487 arg1, T arg2, T arg3, class_8855<T> arg4, class_3062$class_8832<T> arg5)
enqueueOutsideReturnRun(Collection<CommandFunction<T>> functions, NbtCompound args, T parentSource, T functionSource, ExecutionControl<T> control, FunctionCommand$ResultConsumer<T> resultConsumer)