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 named net/minecraft/command/FixedCommandAction
intermediary net/minecraft/class_8865
official ib
-
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 named command
Lnet/minecraft/command/FixedCommandAction;command:Ljava/lang/String;
intermediary field_46752
Lnet/minecraft/class_8865;field_46752:Ljava/lang/String;
official a
Lib;a:Ljava/lang/String;
-
flags
- Mappings:
Namespace Name Mixin selector named flags
Lnet/minecraft/command/FixedCommandAction;flags:Lnet/minecraft/command/ExecutionFlags;
intermediary field_47168
Lnet/minecraft/class_8865;field_47168:Lnet/minecraft/class_8936;
official b
Lib;b:Lhn;
-
context
private final com.mojang.brigadier.context.CommandContext<T extends AbstractServerCommandSource<T>> context- Mappings:
Namespace Name Mixin selector named context
Lnet/minecraft/command/FixedCommandAction;context:Lcom/mojang/brigadier/context/CommandContext;
intermediary field_46754
Lnet/minecraft/class_8865;field_46754:Lcom/mojang/brigadier/context/CommandContext;
official c
Lib;c: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 named <init>
Lnet/minecraft/command/FixedCommandAction;<init>(Ljava/lang/String;Lnet/minecraft/command/ExecutionFlags;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
official <init>
Lib;<init>(Ljava/lang/String;Lhn;Lcom/mojang/brigadier/context/CommandContext;)V
-
-
Method Details
-
execute
- Specified by:
execute
in interfaceSourcedCommandAction<T extends AbstractServerCommandSource<T>>
- Mappings:
Namespace Name Mixin selector named execute
Lnet/minecraft/command/FixedCommandAction;execute(Lnet/minecraft/server/command/AbstractServerCommandSource;Lnet/minecraft/command/CommandExecutionContext;Lnet/minecraft/command/Frame;)V
intermediary method_54416
Lnet/minecraft/class_8865;method_54416(Lnet/minecraft/class_8839;Lnet/minecraft/class_8854;Lnet/minecraft/class_8937;)V
official a
Lib;a(Lev;Lhs;Lhu;)V
-