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 official gsintermediary net/minecraft/class_8858named net/minecraft/command/SingleCommandAction
-
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(List<T> forks, CommandExecutionContext<T> context, int depth, boolean silent) private static <T extends AbstractServerCommandSource<T>>
ExecutionControl<T>fixAtDepth(CommandExecutionContext<T> context, int depth) toString()protected voidtraceCommandStart(CommandExecutionContext<T> context, int depth)
-
Field Details
-
FORK_LIMIT_EXCEPTION
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType FORK_LIMIT_EXCEPTION- Mappings:
Namespace Name Mixin selector official aLgs;a:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;intermediary field_46739Lnet/minecraft/class_8858;field_46739:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;named FORK_LIMIT_EXCEPTIONLnet/minecraft/command/SingleCommandAction;FORK_LIMIT_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
command
- Mappings:
Namespace Name Mixin selector official bLgs;b:Ljava/lang/String;intermediary field_46740Lnet/minecraft/class_8858;field_46740:Ljava/lang/String;named commandLnet/minecraft/command/SingleCommandAction;command:Ljava/lang/String;
-
contextChain
private final com.mojang.brigadier.context.ContextChain<T extends AbstractServerCommandSource<T>> contextChain- Mappings:
Namespace Name Mixin selector official cLgs;c:Lcom/mojang/brigadier/context/ContextChain;intermediary field_46741Lnet/minecraft/class_8858;field_46741:Lcom/mojang/brigadier/context/ContextChain;named contextChainLnet/minecraft/command/SingleCommandAction;contextChain:Lcom/mojang/brigadier/context/ContextChain;
-
-
Constructor Details
-
SingleCommandAction
public SingleCommandAction(String command, com.mojang.brigadier.context.ContextChain<T> contextChain) - Mappings:
Namespace Name Mixin selector official <init>Lgs;<init>(Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;)Vintermediary <init>Lnet/minecraft/class_8858;<init>(Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;)Vnamed <init>Lnet/minecraft/command/SingleCommandAction;<init>(Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;)V
-
-
Method Details
-
execute
protected void execute(List<T> forks, CommandExecutionContext<T> context, int depth, boolean silent) - Mappings:
Namespace Name Mixin selector official aLgs;a(Ljava/util/List;Lgn;IZ)Vintermediary method_54410Lnet/minecraft/class_8858;method_54410(Ljava/util/List;Lnet/minecraft/class_8854;IZ)Vnamed executeLnet/minecraft/command/SingleCommandAction;execute(Ljava/util/List;Lnet/minecraft/command/CommandExecutionContext;IZ)V
-
fixAtDepth
private static <T extends AbstractServerCommandSource<T>> ExecutionControl<T> fixAtDepth(CommandExecutionContext<T> context, int depth) - Mappings:
Namespace Name Mixin selector official bLgs;b(Lgn;I)Lgo;intermediary method_54411Lnet/minecraft/class_8858;method_54411(Lnet/minecraft/class_8854;I)Lnet/minecraft/class_8855;named fixAtDepthLnet/minecraft/command/SingleCommandAction;fixAtDepth(Lnet/minecraft/command/CommandExecutionContext;I)Lnet/minecraft/command/ExecutionControl;
-
traceCommandStart
- Mappings:
Namespace Name Mixin selector official aLgs;a(Lgn;I)Vintermediary method_54407Lnet/minecraft/class_8858;method_54407(Lnet/minecraft/class_8854;I)Vnamed traceCommandStartLnet/minecraft/command/SingleCommandAction;traceCommandStart(Lnet/minecraft/command/CommandExecutionContext;I)V
-
toString
-