Package net.minecraft.command
Class SingleCommandAction<T extends AbstractServerCommandSource<T>>
java.lang.Object
net.minecraft.command.SingleCommandAction<T>
- Direct Known Subclasses:
SingleCommandAction.MultiSource,SingleCommandAction.SingleSource,SingleCommandAction.Sourced
- Mappings:
Namespace Name named net/minecraft/command/SingleCommandActionintermediary net/minecraft/class_8858official hy
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSingleCommandAction(String command, com.mojang.brigadier.context.ContextChain<T> contextChain) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(T baseSource, List<T> sources, CommandExecutionContext<T> context, Frame frame, ExecutionFlags flags) toString()protected voidtraceCommandStart(CommandExecutionContext<T> context, Frame frame)
-
Field Details
-
FORK_LIMIT_EXCEPTION
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType FORK_LIMIT_EXCEPTION- Mappings:
Namespace Name Mixin selector named FORK_LIMIT_EXCEPTIONLnet/minecraft/command/SingleCommandAction;FORK_LIMIT_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;intermediary field_46739Lnet/minecraft/class_8858;field_46739:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;official aLhy;a:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
command
- Mappings:
Namespace Name Mixin selector named commandLnet/minecraft/command/SingleCommandAction;command:Ljava/lang/String;intermediary field_46740Lnet/minecraft/class_8858;field_46740:Ljava/lang/String;official bLhy;b:Ljava/lang/String;
-
contextChain
private final com.mojang.brigadier.context.ContextChain<T extends AbstractServerCommandSource<T>> contextChain- Mappings:
Namespace Name Mixin selector named contextChainLnet/minecraft/command/SingleCommandAction;contextChain:Lcom/mojang/brigadier/context/ContextChain;intermediary field_46741Lnet/minecraft/class_8858;field_46741:Lcom/mojang/brigadier/context/ContextChain;official cLhy;c:Lcom/mojang/brigadier/context/ContextChain;
-
-
Constructor Details
-
SingleCommandAction
public SingleCommandAction(String command, com.mojang.brigadier.context.ContextChain<T> contextChain) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/command/SingleCommandAction;<init>(Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;)Vintermediary <init>Lnet/minecraft/class_8858;<init>(Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;)Vofficial <init>Lhy;<init>(Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;)V
-
-
Method Details
-
execute
protected void execute(T baseSource, List<T> sources, CommandExecutionContext<T> context, Frame frame, ExecutionFlags flags) - Mappings:
Namespace Name Mixin selector named executeLnet/minecraft/command/SingleCommandAction;execute(Lnet/minecraft/server/command/AbstractServerCommandSource;Ljava/util/List;Lnet/minecraft/command/CommandExecutionContext;Lnet/minecraft/command/Frame;Lnet/minecraft/command/ExecutionFlags;)Vintermediary method_54410Lnet/minecraft/class_8858;method_54410(Lnet/minecraft/class_8839;Ljava/util/List;Lnet/minecraft/class_8854;Lnet/minecraft/class_8937;Lnet/minecraft/class_8936;)Vofficial aLhy;a(Lev;Ljava/util/List;Lhs;Lhu;Lhn;)V
-
traceCommandStart
- Mappings:
Namespace Name Mixin selector named traceCommandStartLnet/minecraft/command/SingleCommandAction;traceCommandStart(Lnet/minecraft/command/CommandExecutionContext;Lnet/minecraft/command/Frame;)Vintermediary method_54407Lnet/minecraft/class_8858;method_54407(Lnet/minecraft/class_8854;Lnet/minecraft/class_8937;)Vofficial aLhy;a(Lhs;Lhu;)V
-
toString
-