Package net.minecraft.command
Class FixedCommandAction<T extends AbstractServerCommandSource<T>>
java.lang.Object
net.minecraft.command.FixedCommandAction<T>
- All Implemented Interfaces:
SourcedCommandAction<T>
public class FixedCommandAction<T extends AbstractServerCommandSource<T>>
extends Object
implements SourcedCommandAction<T>
- Mappings:
Namespace Name official gxintermediary net/minecraft/class_8865named net/minecraft/command/FixedCommandAction
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFixedCommandAction(String command, ExecutionFlags flags, com.mojang.brigadier.context.CommandContext<T> context) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(T t, CommandExecutionContext<T> commandExecutionContext, Frame frame) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.command.SourcedCommandAction
bind
-
Field Details
-
command
- Mappings:
Namespace Name Mixin selector official aLgx;a:Ljava/lang/String;intermediary field_46752Lnet/minecraft/class_8865;field_46752:Ljava/lang/String;named commandLnet/minecraft/command/FixedCommandAction;command:Ljava/lang/String;
-
flags
- Mappings:
Namespace Name Mixin selector official bLgx;b:Lgj;intermediary field_47168Lnet/minecraft/class_8865;field_47168:Lnet/minecraft/class_8936;named flagsLnet/minecraft/command/FixedCommandAction;flags:Lnet/minecraft/command/ExecutionFlags;
-
context
private final com.mojang.brigadier.context.CommandContext<T extends AbstractServerCommandSource<T>> context- Mappings:
Namespace Name Mixin selector official cLgx;c:Lcom/mojang/brigadier/context/CommandContext;intermediary field_46754Lnet/minecraft/class_8865;field_46754:Lcom/mojang/brigadier/context/CommandContext;named contextLnet/minecraft/command/FixedCommandAction;context:Lcom/mojang/brigadier/context/CommandContext;
-
-
Constructor Details
-
FixedCommandAction
public FixedCommandAction(String command, ExecutionFlags flags, com.mojang.brigadier.context.CommandContext<T> context) - Mappings:
Namespace Name Mixin selector official <init>Lgx;<init>(Ljava/lang/String;Lgj;Lcom/mojang/brigadier/context/CommandContext;)Vintermediary <init>Lnet/minecraft/class_8865;<init>(Ljava/lang/String;Lnet/minecraft/class_8936;Lcom/mojang/brigadier/context/CommandContext;)Vnamed <init>Lnet/minecraft/command/FixedCommandAction;<init>(Ljava/lang/String;Lnet/minecraft/command/ExecutionFlags;Lcom/mojang/brigadier/context/CommandContext;)V
-
-
Method Details
-
execute
- Specified by:
executein interfaceSourcedCommandAction<T extends AbstractServerCommandSource<T>>- Mappings:
Namespace Name Mixin selector official aLgx;a(Ldu;Lgo;Lgq;)Vintermediary method_54416Lnet/minecraft/class_8865;method_54416(Lnet/minecraft/class_8839;Lnet/minecraft/class_8854;Lnet/minecraft/class_8937;)Vnamed executeLnet/minecraft/command/FixedCommandAction;execute(Lnet/minecraft/server/command/AbstractServerCommandSource;Lnet/minecraft/command/CommandExecutionContext;Lnet/minecraft/command/Frame;)V
-