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/SingleCommandAction
intermediary net/minecraft/class_8858
official hu
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSingleCommandAction
(String command, com.mojang.brigadier.context.ContextChain<T> contextChain) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
execute
(T baseSource, List<T> sources, CommandExecutionContext<T> context, Frame frame, ExecutionFlags flags) toString()
protected void
traceCommandStart
(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_EXCEPTION
Lnet/minecraft/command/SingleCommandAction;FORK_LIMIT_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_46739
Lnet/minecraft/class_8858;field_46739:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
official a
Lhu;a:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
command
- Mappings:
Namespace Name Mixin selector named command
Lnet/minecraft/command/SingleCommandAction;command:Ljava/lang/String;
intermediary field_46740
Lnet/minecraft/class_8858;field_46740:Ljava/lang/String;
official b
Lhu;b:Ljava/lang/String;
-
contextChain
private final com.mojang.brigadier.context.ContextChain<T extends AbstractServerCommandSource<T>> contextChain- Mappings:
Namespace Name Mixin selector named contextChain
Lnet/minecraft/command/SingleCommandAction;contextChain:Lcom/mojang/brigadier/context/ContextChain;
intermediary field_46741
Lnet/minecraft/class_8858;field_46741:Lcom/mojang/brigadier/context/ContextChain;
official c
Lhu;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;)V
intermediary <init>
Lnet/minecraft/class_8858;<init>(Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;)V
official <init>
Lhu;<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 execute
Lnet/minecraft/command/SingleCommandAction;execute(Lnet/minecraft/server/command/AbstractServerCommandSource;Ljava/util/List;Lnet/minecraft/command/CommandExecutionContext;Lnet/minecraft/command/Frame;Lnet/minecraft/command/ExecutionFlags;)V
intermediary method_54410
Lnet/minecraft/class_8858;method_54410(Lnet/minecraft/class_8839;Ljava/util/List;Lnet/minecraft/class_8854;Lnet/minecraft/class_8937;Lnet/minecraft/class_8936;)V
official a
Lhu;a(Ler;Ljava/util/List;Lho;Lhq;Lhj;)V
-
traceCommandStart
- Mappings:
Namespace Name Mixin selector named traceCommandStart
Lnet/minecraft/command/SingleCommandAction;traceCommandStart(Lnet/minecraft/command/CommandExecutionContext;Lnet/minecraft/command/Frame;)V
intermediary method_54407
Lnet/minecraft/class_8858;method_54407(Lnet/minecraft/class_8854;Lnet/minecraft/class_8937;)V
official a
Lhu;a(Lho;Lhq;)V
-
toString
-