Package net.minecraft.server.command
Class FunctionCommand
java.lang.Object
net.minecraft.server.command.FunctionCommand
- Mappings:
Namespace Name official aha
intermediary net/minecraft/class_3062
named net/minecraft/server/command/FunctionCommand
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
execute
(ServerCommandSource source, Collection<CommandFunction> functions, @Nullable NbtCompound arguments) execute
(ServerCommandSource source, CommandFunction function, @Nullable NbtCompound arguments) private static NbtCompound
getArgument
(NbtPathArgumentType.NbtPath path, DataCommandObject object) static void
register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
Field Details
-
ARGUMENT_NOT_COMPOUND_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ARGUMENT_NOT_COMPOUND_EXCEPTION- Mappings:
Namespace Name Mixin selector official b
Laha;b:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_44982
Lnet/minecraft/class_3062;field_44982:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
named ARGUMENT_NOT_COMPOUND_EXCEPTION
Lnet/minecraft/server/command/FunctionCommand;ARGUMENT_NOT_COMPOUND_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
SUGGESTION_PROVIDER
public static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> SUGGESTION_PROVIDER- Mappings:
Namespace Name Mixin selector official a
Laha;a:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
intermediary field_13662
Lnet/minecraft/class_3062;field_13662:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
named SUGGESTION_PROVIDER
Lnet/minecraft/server/command/FunctionCommand;SUGGESTION_PROVIDER:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
-
-
Constructor Details
-
FunctionCommand
public FunctionCommand()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector official a
Laha;a(Lcom/mojang/brigadier/CommandDispatcher;)V
intermediary method_13380
Lnet/minecraft/class_3062;method_13380(Lcom/mojang/brigadier/CommandDispatcher;)V
named register
Lnet/minecraft/server/command/FunctionCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
-
getArgument
private 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 official a
Laha;a(Lej$g;Lajg;)Lqw;
intermediary method_52313
Lnet/minecraft/class_3062;method_52313(Lnet/minecraft/class_2203$class_2209;Lnet/minecraft/class_3162;)Lnet/minecraft/class_2487;
named getArgument
Lnet/minecraft/server/command/FunctionCommand;getArgument(Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;Lnet/minecraft/command/DataCommandObject;)Lnet/minecraft/nbt/NbtCompound;
-
execute
private static int execute(ServerCommandSource source, Collection<CommandFunction> functions, @Nullable @Nullable NbtCompound arguments) - Mappings:
Namespace Name Mixin selector official a
Laha;a(Ldt;Ljava/util/Collection;Lqw;)I
intermediary method_13381
Lnet/minecraft/class_3062;method_13381(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_2487;)I
named execute
Lnet/minecraft/server/command/FunctionCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/nbt/NbtCompound;)I
-
execute
public static FunctionCommand.FunctionResult execute(ServerCommandSource source, CommandFunction function, @Nullable @Nullable NbtCompound arguments) throws MacroException - Throws:
MacroException
- Mappings:
Namespace Name Mixin selector official a
Laha;a(Ldt;Ldp;Lqw;)Laha$a;
intermediary method_52312
Lnet/minecraft/class_3062;method_52312(Lnet/minecraft/class_2168;Lnet/minecraft/class_2158;Lnet/minecraft/class_2487;)Lnet/minecraft/class_3062$class_8601;
named execute
Lnet/minecraft/server/command/FunctionCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/server/function/CommandFunction;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/server/command/FunctionCommand$FunctionResult;
-