Package net.minecraft.server.command
Class FunctionCommand.Command
java.lang.Object
net.minecraft.command.ControlFlowAware.Helper<ServerCommandSource>
net.minecraft.server.command.FunctionCommand.Command
- All Implemented Interfaces:
com.mojang.brigadier.Command<ServerCommandSource>,ControlFlowAware<ServerCommandSource>,ControlFlowAware.Command<ServerCommandSource>
- Enclosing class:
FunctionCommand
private abstract static class FunctionCommand.Command
extends ControlFlowAware.Helper<ServerCommandSource>
implements ControlFlowAware.Command<ServerCommandSource>
- Mappings:
Namespace Name named net/minecraft/server/command/FunctionCommand$Commandintermediary net/minecraft/class_3062$class_8833official amy$c
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.command.ControlFlowAware
ControlFlowAware.Command<T>, ControlFlowAware.Helper<T extends AbstractServerCommandSource<T>> -
Field Summary
Fields inherited from interface com.mojang.brigadier.Command
SINGLE_SUCCESS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteInner(ServerCommandSource serverCommandSource, com.mojang.brigadier.context.ContextChain<ServerCommandSource> contextChain, ExecutionFlags executionFlags, ExecutionControl<ServerCommandSource> executionControl) protected abstract @Nullable NbtCompoundgetArguments(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) Methods inherited from class net.minecraft.command.ControlFlowAware.Helper
execute, sendErrorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.command.ControlFlowAware
executeMethods inherited from interface net.minecraft.command.ControlFlowAware.Command
run
-
Constructor Details
-
Command
Command()
-
-
Method Details
-
getArguments
@Nullable protected abstract @Nullable NbtCompound getArguments(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector named getArgumentsLnet/minecraft/server/command/FunctionCommand$Command;getArguments(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/nbt/NbtCompound;intermediary method_54277Lnet/minecraft/class_3062$class_8833;method_54277(Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/class_2487;official aLamy$c;a(Lcom/mojang/brigadier/context/CommandContext;)Lub;
-
executeInner
public void executeInner(ServerCommandSource serverCommandSource, com.mojang.brigadier.context.ContextChain<ServerCommandSource> contextChain, ExecutionFlags executionFlags, ExecutionControl<ServerCommandSource> executionControl) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
executeInnerin classControlFlowAware.Helper<ServerCommandSource>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector named executeInnerLnet/minecraft/server/command/FunctionCommand$Command;executeInner(Lnet/minecraft/server/command/ServerCommandSource;Lcom/mojang/brigadier/context/ContextChain;Lnet/minecraft/command/ExecutionFlags;Lnet/minecraft/command/ExecutionControl;)Vintermediary method_54283Lnet/minecraft/class_3062$class_8833;method_54283(Lnet/minecraft/class_2168;Lcom/mojang/brigadier/context/ContextChain;Lnet/minecraft/class_8936;Lnet/minecraft/class_8855;)Vofficial aLamy$c;a(Let;Lcom/mojang/brigadier/context/ContextChain;Lhn;Lht;)V
-