Package net.minecraft.server.command
Class FunctionCommand
java.lang.Object
net.minecraft.server.command.FunctionCommand
- Mappings:
Namespace Name official agtintermediary net/minecraft/class_3062named net/minecraft/server/command/FunctionCommand
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionTypestatic final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static intexecute(ServerCommandSource source, Collection<CommandFunction> functions, @Nullable NbtCompound nbtCompound) static FunctionCommand.class_8601method_52312(ServerCommandSource serverCommandSource, CommandFunction commandFunction, @Nullable NbtCompound nbtCompound) private static NbtCompoundmethod_52313(NbtPathArgumentType.NbtPath nbtPath, DataCommandObject dataCommandObject) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> commandDispatcher)
-
Field Details
-
field_44982
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType field_44982- Mappings:
Namespace Name Mixin selector official bLagt;b:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;intermediary field_44982Lnet/minecraft/class_3062;field_44982:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;named field_44982Lnet/minecraft/server/command/FunctionCommand;field_44982:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
SUGGESTION_PROVIDER
public static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> SUGGESTION_PROVIDER- Mappings:
Namespace Name Mixin selector official aLagt;a:Lcom/mojang/brigadier/suggestion/SuggestionProvider;intermediary field_13662Lnet/minecraft/class_3062;field_13662:Lcom/mojang/brigadier/suggestion/SuggestionProvider;named SUGGESTION_PROVIDERLnet/minecraft/server/command/FunctionCommand;SUGGESTION_PROVIDER:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
-
-
Constructor Details
-
FunctionCommand
public FunctionCommand()
-
-
Method Details
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> commandDispatcher) - Mappings:
Namespace Name Mixin selector official aLagt;a(Lcom/mojang/brigadier/CommandDispatcher;)Vintermediary method_13380Lnet/minecraft/class_3062;method_13380(Lcom/mojang/brigadier/CommandDispatcher;)Vnamed registerLnet/minecraft/server/command/FunctionCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
-
method_52313
private static NbtCompound method_52313(NbtPathArgumentType.NbtPath nbtPath, DataCommandObject dataCommandObject) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLagt;a(Lei$g;Laiz;)Lqs;intermediary method_52313Lnet/minecraft/class_3062;method_52313(Lnet/minecraft/class_2203$class_2209;Lnet/minecraft/class_3162;)Lnet/minecraft/class_2487;named method_52313Lnet/minecraft/server/command/FunctionCommand;method_52313(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 nbtCompound) - Mappings:
Namespace Name Mixin selector official aLagt;a(Lds;Ljava/util/Collection;Lqs;)Iintermediary method_13381Lnet/minecraft/class_3062;method_13381(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_2487;)Inamed executeLnet/minecraft/server/command/FunctionCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/nbt/NbtCompound;)I
-
method_52312
public static FunctionCommand.class_8601 method_52312(ServerCommandSource serverCommandSource, CommandFunction commandFunction, @Nullable @Nullable NbtCompound nbtCompound) throws class_8643 - Throws:
class_8643- Mappings:
Namespace Name Mixin selector official aLagt;a(Lds;Ldn;Lqs;)Lagt$a;intermediary method_52312Lnet/minecraft/class_3062;method_52312(Lnet/minecraft/class_2168;Lnet/minecraft/class_2158;Lnet/minecraft/class_2487;)Lnet/minecraft/class_3062$class_8601;named method_52312Lnet/minecraft/server/command/FunctionCommand;method_52312(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/server/function/CommandFunction;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/server/command/FunctionCommand$class_8601;
-