Package net.minecraft.server.command
Class FunctionCommand
java.lang.Object
net.minecraft.server.command.FunctionCommand
- Mappings:
Namespace Name named net/minecraft/server/command/FunctionCommandintermediary net/minecraft/class_3062official amy
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classstatic interface -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionTypestatic final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType(package private) static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType(package private) static final FunctionCommand.ResultConsumer<ServerCommandSource> static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ServerCommandSourcestatic <T extends AbstractServerCommandSource<T>>
voidenqueueAction(Collection<CommandFunction<T>> commandFunctions, @Nullable NbtCompound args, T parentSource, T functionSource, ExecutionControl<T> control, FunctionCommand.ResultConsumer<T> resultConsumer, ExecutionFlags flags) private static <T extends AbstractServerCommandSource<T>>
voidenqueueFunction(@Nullable 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 AbstractServerCommandSource<T>>
voidenqueueInReturnRun(Collection<CommandFunction<T>> functions, @Nullable NbtCompound args, T parentSource, T functionSource, ExecutionControl<T> control, FunctionCommand.ResultConsumer<T> resultConsumer) private static <T extends AbstractServerCommandSource<T>>
voidenqueueOutsideReturnRun(Collection<CommandFunction<T>> functions, @Nullable NbtCompound args, T parentSource, T functionSource, ExecutionControl<T> control, FunctionCommand.ResultConsumer<T> resultConsumer) (package private) static NbtCompoundgetArgument(NbtPathArgumentType.NbtPath path, DataCommandObject object) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) private static <T extends AbstractServerCommandSource<T>>
ReturnValueConsumerwrapReturnValueConsumer(T flags, FunctionCommand.ResultConsumer<T> resultConsumer, Identifier id, ReturnValueConsumer wrapped)
-
Field Details
-
ARGUMENT_NOT_COMPOUND_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ARGUMENT_NOT_COMPOUND_EXCEPTION- Mappings:
Namespace Name Mixin selector named ARGUMENT_NOT_COMPOUND_EXCEPTIONLnet/minecraft/server/command/FunctionCommand;ARGUMENT_NOT_COMPOUND_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;intermediary field_44982Lnet/minecraft/class_3062;field_44982:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;official cLamy;c:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
NO_FUNCTIONS_EXCEPTION
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType NO_FUNCTIONS_EXCEPTION- Mappings:
Namespace Name Mixin selector named NO_FUNCTIONS_EXCEPTIONLnet/minecraft/server/command/FunctionCommand;NO_FUNCTIONS_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;intermediary field_46644Lnet/minecraft/class_3062;field_46644:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;official dLamy;d:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
INSTANTIATION_FAILURE_EXCEPTION
public static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType INSTANTIATION_FAILURE_EXCEPTION- Mappings:
Namespace Name Mixin selector named INSTANTIATION_FAILURE_EXCEPTIONLnet/minecraft/server/command/FunctionCommand;INSTANTIATION_FAILURE_EXCEPTION:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;intermediary field_46645Lnet/minecraft/class_3062;field_46645:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;official aLamy;a:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
-
SUGGESTION_PROVIDER
public static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> SUGGESTION_PROVIDER- Mappings:
Namespace Name Mixin selector named SUGGESTION_PROVIDERLnet/minecraft/server/command/FunctionCommand;SUGGESTION_PROVIDER:Lcom/mojang/brigadier/suggestion/SuggestionProvider;intermediary field_13662Lnet/minecraft/class_3062;field_13662:Lcom/mojang/brigadier/suggestion/SuggestionProvider;official bLamy;b:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
-
RESULT_REPORTER
- Mappings:
Namespace Name Mixin selector named RESULT_REPORTERLnet/minecraft/server/command/FunctionCommand;RESULT_REPORTER:Lnet/minecraft/server/command/FunctionCommand$ResultConsumer;intermediary field_46646Lnet/minecraft/class_3062;field_46646:Lnet/minecraft/class_3062$class_8832;official eLamy;e:Lamy$b;
-
-
Constructor Details
-
FunctionCommand
public FunctionCommand()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector named registerLnet/minecraft/server/command/FunctionCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)Vintermediary method_13380Lnet/minecraft/class_3062;method_13380(Lcom/mojang/brigadier/CommandDispatcher;)Vofficial aLamy;a(Lcom/mojang/brigadier/CommandDispatcher;)V
-
getArgument
static NbtCompound getArgument(NbtPathArgumentType.NbtPath path, DataCommandObject object) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector named getArgumentLnet/minecraft/server/command/FunctionCommand;getArgument(Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;Lnet/minecraft/command/DataCommandObject;)Lnet/minecraft/nbt/NbtCompound;intermediary method_52313Lnet/minecraft/class_3062;method_52313(Lnet/minecraft/class_2203$class_2209;Lnet/minecraft/class_3162;)Lnet/minecraft/class_2487;official aLamy;a(Lfl$g;Lapg;)Lub;
-
createFunctionCommandSource
- Mappings:
Namespace Name Mixin selector named createFunctionCommandSourceLnet/minecraft/server/command/FunctionCommand;createFunctionCommandSource(Lnet/minecraft/server/command/ServerCommandSource;)Lnet/minecraft/server/command/ServerCommandSource;intermediary method_54272Lnet/minecraft/class_3062;method_54272(Lnet/minecraft/class_2168;)Lnet/minecraft/class_2168;official aLamy;a(Let;)Let;
-
enqueueAction
public static <T extends AbstractServerCommandSource<T>> void enqueueAction(Collection<CommandFunction<T>> commandFunctions, @Nullable @Nullable NbtCompound args, T parentSource, T functionSource, ExecutionControl<T> control, FunctionCommand.ResultConsumer<T> resultConsumer, ExecutionFlags flags) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector named enqueueActionLnet/minecraft/server/command/FunctionCommand;enqueueAction(Ljava/util/Collection;Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/server/command/AbstractServerCommandSource;Lnet/minecraft/server/command/AbstractServerCommandSource;Lnet/minecraft/command/ExecutionControl;Lnet/minecraft/server/command/FunctionCommand$ResultConsumer;Lnet/minecraft/command/ExecutionFlags;)Vintermediary method_54275Lnet/minecraft/class_3062;method_54275(Ljava/util/Collection;Lnet/minecraft/class_2487;Lnet/minecraft/class_8839;Lnet/minecraft/class_8839;Lnet/minecraft/class_8855;Lnet/minecraft/class_3062$class_8832;Lnet/minecraft/class_8936;)Vofficial aLamy;a(Ljava/util/Collection;Lub;Lev;Lev;Lht;Lamy$b;Lhn;)V
-
enqueueFunction
private static <T extends AbstractServerCommandSource<T>> void enqueueFunction(@Nullable @Nullable NbtCompound args, ExecutionControl<T> control, com.mojang.brigadier.CommandDispatcher<T> dispatcher, T source, CommandFunction<T> function, Identifier id, ReturnValueConsumer returnValueConsumer, boolean propagateReturn) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector named enqueueFunctionLnet/minecraft/server/command/FunctionCommand;enqueueFunction(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/command/ExecutionControl;Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/server/command/AbstractServerCommandSource;Lnet/minecraft/server/function/CommandFunction;Lnet/minecraft/util/Identifier;Lnet/minecraft/command/ReturnValueConsumer;Z)Vintermediary method_54860Lnet/minecraft/class_3062;method_54860(Lnet/minecraft/class_2487;Lnet/minecraft/class_8855;Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/class_8839;Lnet/minecraft/class_2158;Lnet/minecraft/class_2960;Lnet/minecraft/class_8935;Z)Vofficial aLamy;a(Lub;Lht;Lcom/mojang/brigadier/CommandDispatcher;Lev;Lig;Lakr;Leq;Z)V
-
wrapReturnValueConsumer
private static <T extends AbstractServerCommandSource<T>> ReturnValueConsumer wrapReturnValueConsumer(T flags, FunctionCommand.ResultConsumer<T> resultConsumer, Identifier id, ReturnValueConsumer wrapped) - Mappings:
Namespace Name Mixin selector named wrapReturnValueConsumerLnet/minecraft/server/command/FunctionCommand;wrapReturnValueConsumer(Lnet/minecraft/server/command/AbstractServerCommandSource;Lnet/minecraft/server/command/FunctionCommand$ResultConsumer;Lnet/minecraft/util/Identifier;Lnet/minecraft/command/ReturnValueConsumer;)Lnet/minecraft/command/ReturnValueConsumer;intermediary method_54858Lnet/minecraft/class_3062;method_54858(Lnet/minecraft/class_8839;Lnet/minecraft/class_3062$class_8832;Lnet/minecraft/class_2960;Lnet/minecraft/class_8935;)Lnet/minecraft/class_8935;official aLamy;a(Lev;Lamy$b;Lakr;Leq;)Leq;
-
enqueueInReturnRun
private static <T extends AbstractServerCommandSource<T>> void enqueueInReturnRun(Collection<CommandFunction<T>> functions, @Nullable @Nullable NbtCompound args, T parentSource, T functionSource, ExecutionControl<T> control, FunctionCommand.ResultConsumer<T> resultConsumer) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector named enqueueInReturnRunLnet/minecraft/server/command/FunctionCommand;enqueueInReturnRun(Ljava/util/Collection;Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/server/command/AbstractServerCommandSource;Lnet/minecraft/server/command/AbstractServerCommandSource;Lnet/minecraft/command/ExecutionControl;Lnet/minecraft/server/command/FunctionCommand$ResultConsumer;)Vintermediary method_54859Lnet/minecraft/class_3062;method_54859(Ljava/util/Collection;Lnet/minecraft/class_2487;Lnet/minecraft/class_8839;Lnet/minecraft/class_8839;Lnet/minecraft/class_8855;Lnet/minecraft/class_3062$class_8832;)Vofficial aLamy;a(Ljava/util/Collection;Lub;Lev;Lev;Lht;Lamy$b;)V
-
enqueueOutsideReturnRun
private static <T extends AbstractServerCommandSource<T>> void enqueueOutsideReturnRun(Collection<CommandFunction<T>> functions, @Nullable @Nullable NbtCompound args, T parentSource, T functionSource, ExecutionControl<T> control, FunctionCommand.ResultConsumer<T> resultConsumer) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector named enqueueOutsideReturnRunLnet/minecraft/server/command/FunctionCommand;enqueueOutsideReturnRun(Ljava/util/Collection;Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/server/command/AbstractServerCommandSource;Lnet/minecraft/server/command/AbstractServerCommandSource;Lnet/minecraft/command/ExecutionControl;Lnet/minecraft/server/command/FunctionCommand$ResultConsumer;)Vintermediary method_54861Lnet/minecraft/class_3062;method_54861(Ljava/util/Collection;Lnet/minecraft/class_2487;Lnet/minecraft/class_8839;Lnet/minecraft/class_8839;Lnet/minecraft/class_8855;Lnet/minecraft/class_3062$class_8832;)Vofficial bLamy;b(Ljava/util/Collection;Lub;Lev;Lev;Lht;Lamy$b;)V
-