net.minecraft.server.commands

public class FunctionCommand

anl
net.minecraft.server.commands.FunctionCommand
net.minecraft.class_3062
net.minecraft.server.command.FunctionCommand
net.minecraft.src.C_5334_
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
f_291063_
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
d
ERROR_NO_FUNCTIONS
field_46644
NO_FUNCTIONS_EXCEPTION
f_302766_
public static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
a
ERROR_FUNCTION_INSTANTATION_FAILURE
field_46645
INSTANTIATION_FAILURE_EXCEPTION
f_302704_
public static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
b
SUGGEST_FUNCTION
field_13662
SUGGESTION_PROVIDER
f_137712_
static final FunctionCommand$Callbacks<CommandSourceStack>
e
FULL_CONTEXT_CALLBACKS
field_46646
RESULT_REPORTER
f_302915_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<ep> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_13380(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
m_137714_(com.mojang.brigadier.CommandDispatcher<C_2969_> p_137715_)
static CompoundTag
a(fh$g arg0, apu arg1)
getArgumentTag(NbtPathArgument$NbtPath arg0, DataAccessor arg1)
method_52313(class_2203$class_2209 arg0, class_3162 arg1)
getArgument(NbtPathArgumentType$NbtPath path, DataCommandObject object)
m_294874_(C_3685_$C_3692_ p_298274_, C_5395_ p_301396_)
public static CommandSourceStack
a(ep arg0)
modifySenderForExecution(CommandSourceStack arg0)
method_54272(class_2168 arg0)
createFunctionCommandSource(ServerCommandSource source)
m_306912_(C_2969_ p_309881_)
public static <T extends ExecutionCommandSource<T>> void
a(Collection<ib<T>> arg0, us arg1, T arg2, T arg3, hp<T> arg4, anl$b<T> arg5, hj 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)
m_306890_(Collection<C_302141_<T>> p_311080_, C_4917_ p_311435_, T p_310141_, T p_312402_, C_301895_<T> p_309669_, C_5334_$C_302124_<T> p_312300_, C_302156_ p_312226_)
private static <T extends ExecutionCommandSource<T>> void
a(us arg0, hp<T> arg1, com.mojang.brigadier.CommandDispatcher<T> arg2, T arg3, ib<T> arg4, alf arg5, em 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)
m_307223_(C_4917_ p_312138_, C_301895_<T> p_309532_, com.mojang.brigadier.CommandDispatcher<T> p_312204_, T p_311370_, C_302141_<T> p_310160_, C_5265_ p_311048_, C_302039_ p_312950_, boolean p_312453_)
private static <T extends ExecutionCommandSource<T>> CommandResultCallback
a(T arg0, anl$b<T> arg1, alf arg2, em 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)
m_305371_(T p_309693_, C_5334_$C_302124_<T> p_309991_, C_5265_ p_312510_, C_302039_ p_312314_)
private static <T extends ExecutionCommandSource<T>> void
a(Collection<ib<T>> arg0, us arg1, T arg2, T arg3, hp<T> arg4, anl$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)
m_305345_(Collection<C_302141_<T>> p_309905_, C_4917_ p_312616_, T p_312541_, T p_310023_, C_301895_<T> p_312344_, C_5334_$C_302124_<T> p_309916_)
private static <T extends ExecutionCommandSource<T>> void
b(Collection<ib<T>> arg0, us arg1, T arg2, T arg3, hp<T> arg4, anl$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)
m_305220_(Collection<C_302141_<T>> p_312947_, C_4917_ p_311961_, T p_310755_, T p_312089_, C_301895_<T> p_310294_, C_5334_$C_302124_<T> p_311742_)