Package net.minecraft.server.command
Class FunctionCommand
java.lang.Object
net.minecraft.server.command.FunctionCommand
- Mappings:
Namespace Name named net/minecraft/server/command/FunctionCommand
intermediary net/minecraft/class_3062
official anl
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
static interface
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
static 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
-
Method Summary
Modifier and TypeMethodDescriptionstatic ServerCommandSource
static <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 NbtCompound
getArgument
(NbtPathArgumentType.NbtPath path, DataCommandObject object) static void
register
(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_EXCEPTION
Lnet/minecraft/server/command/FunctionCommand;ARGUMENT_NOT_COMPOUND_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_44982
Lnet/minecraft/class_3062;field_44982:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
official c
Lanl;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_EXCEPTION
Lnet/minecraft/server/command/FunctionCommand;NO_FUNCTIONS_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_46644
Lnet/minecraft/class_3062;field_46644:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
official d
Lanl;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_EXCEPTION
Lnet/minecraft/server/command/FunctionCommand;INSTANTIATION_FAILURE_EXCEPTION:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
intermediary field_46645
Lnet/minecraft/class_3062;field_46645:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
official a
Lanl;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_PROVIDER
Lnet/minecraft/server/command/FunctionCommand;SUGGESTION_PROVIDER:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
intermediary field_13662
Lnet/minecraft/class_3062;field_13662:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
official b
Lanl;b:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
-
RESULT_REPORTER
- Mappings:
Namespace Name Mixin selector named RESULT_REPORTER
Lnet/minecraft/server/command/FunctionCommand;RESULT_REPORTER:Lnet/minecraft/server/command/FunctionCommand$ResultConsumer;
intermediary field_46646
Lnet/minecraft/class_3062;field_46646:Lnet/minecraft/class_3062$class_8832;
official e
Lanl;e:Lanl$b;
-
-
Constructor Details
-
FunctionCommand
public FunctionCommand()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector named register
Lnet/minecraft/server/command/FunctionCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
intermediary method_13380
Lnet/minecraft/class_3062;method_13380(Lcom/mojang/brigadier/CommandDispatcher;)V
official a
Lanl;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 getArgument
Lnet/minecraft/server/command/FunctionCommand;getArgument(Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;Lnet/minecraft/command/DataCommandObject;)Lnet/minecraft/nbt/NbtCompound;
intermediary method_52313
Lnet/minecraft/class_3062;method_52313(Lnet/minecraft/class_2203$class_2209;Lnet/minecraft/class_3162;)Lnet/minecraft/class_2487;
official a
Lanl;a(Lfh$g;Lapu;)Lus;
-
createFunctionCommandSource
- Mappings:
Namespace Name Mixin selector named createFunctionCommandSource
Lnet/minecraft/server/command/FunctionCommand;createFunctionCommandSource(Lnet/minecraft/server/command/ServerCommandSource;)Lnet/minecraft/server/command/ServerCommandSource;
intermediary method_54272
Lnet/minecraft/class_3062;method_54272(Lnet/minecraft/class_2168;)Lnet/minecraft/class_2168;
official a
Lanl;a(Lep;)Lep;
-
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 enqueueAction
Lnet/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;)V
intermediary method_54275
Lnet/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;)V
official a
Lanl;a(Ljava/util/Collection;Lus;Ler;Ler;Lhp;Lanl$b;Lhj;)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 enqueueFunction
Lnet/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)V
intermediary method_54860
Lnet/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)V
official a
Lanl;a(Lus;Lhp;Lcom/mojang/brigadier/CommandDispatcher;Ler;Lib;Lalf;Lem;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 wrapReturnValueConsumer
Lnet/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_54858
Lnet/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 a
Lanl;a(Ler;Lanl$b;Lalf;Lem;)Lem;
-
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 enqueueInReturnRun
Lnet/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;)V
intermediary method_54859
Lnet/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;)V
official a
Lanl;a(Ljava/util/Collection;Lus;Ler;Ler;Lhp;Lanl$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 enqueueOutsideReturnRun
Lnet/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;)V
intermediary method_54861
Lnet/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;)V
official b
Lanl;b(Ljava/util/Collection;Lus;Ler;Ler;Lhp;Lanl$b;)V
-