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 gx
intermediary net/minecraft/class_8865
named net/minecraft/command/FixedCommandAction
-
Field Summary
-
Constructor Summary
ConstructorDescriptionFixedCommandAction
(String command, ExecutionFlags flags, com.mojang.brigadier.context.CommandContext<T> context) -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(T t, CommandExecutionContext<T> commandExecutionContext, Frame frame) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.command.SourcedCommandAction
bind
-
Field Details
-
command
- Mappings:
Namespace Name Mixin selector official a
Lgx;a:Ljava/lang/String;
intermediary field_46752
Lnet/minecraft/class_8865;field_46752:Ljava/lang/String;
named command
Lnet/minecraft/command/FixedCommandAction;command:Ljava/lang/String;
-
flags
- Mappings:
Namespace Name Mixin selector official b
Lgx;b:Lgj;
intermediary field_47168
Lnet/minecraft/class_8865;field_47168:Lnet/minecraft/class_8936;
named flags
Lnet/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 c
Lgx;c:Lcom/mojang/brigadier/context/CommandContext;
intermediary field_46754
Lnet/minecraft/class_8865;field_46754:Lcom/mojang/brigadier/context/CommandContext;
named context
Lnet/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;)V
intermediary <init>
Lnet/minecraft/class_8865;<init>(Ljava/lang/String;Lnet/minecraft/class_8936;Lcom/mojang/brigadier/context/CommandContext;)V
named <init>
Lnet/minecraft/command/FixedCommandAction;<init>(Ljava/lang/String;Lnet/minecraft/command/ExecutionFlags;Lcom/mojang/brigadier/context/CommandContext;)V
-
-
Method Details
-
execute
- Specified by:
execute
in interfaceSourcedCommandAction<T extends AbstractServerCommandSource<T>>
- Mappings:
Namespace Name Mixin selector official a
Lgx;a(Ldu;Lgo;Lgq;)V
intermediary method_54416
Lnet/minecraft/class_8865;method_54416(Lnet/minecraft/class_8839;Lnet/minecraft/class_8854;Lnet/minecraft/class_8937;)V
named execute
Lnet/minecraft/command/FixedCommandAction;execute(Lnet/minecraft/server/command/AbstractServerCommandSource;Lnet/minecraft/command/CommandExecutionContext;Lnet/minecraft/command/Frame;)V
-