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/FixedCommandActionintermediary net/minecraft/class_8865official ib
-
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 named commandLnet/minecraft/command/FixedCommandAction;command:Ljava/lang/String;intermediary field_46752Lnet/minecraft/class_8865;field_46752:Ljava/lang/String;official aLib;a:Ljava/lang/String;
-
flags
- Mappings:
Namespace Name Mixin selector named flagsLnet/minecraft/command/FixedCommandAction;flags:Lnet/minecraft/command/ExecutionFlags;intermediary field_47168Lnet/minecraft/class_8865;field_47168:Lnet/minecraft/class_8936;official bLib;b:Lhn;
-
context
private final com.mojang.brigadier.context.CommandContext<T extends AbstractServerCommandSource<T>> context- Mappings:
Namespace Name Mixin selector named contextLnet/minecraft/command/FixedCommandAction;context:Lcom/mojang/brigadier/context/CommandContext;intermediary field_46754Lnet/minecraft/class_8865;field_46754:Lcom/mojang/brigadier/context/CommandContext;official cLib;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;)Vintermediary <init>Lnet/minecraft/class_8865;<init>(Ljava/lang/String;Lnet/minecraft/class_8936;Lcom/mojang/brigadier/context/CommandContext;)Vofficial <init>Lib;<init>(Ljava/lang/String;Lhn;Lcom/mojang/brigadier/context/CommandContext;)V
-
-
Method Details
-
execute
- Specified by:
executein interfaceSourcedCommandAction<T extends AbstractServerCommandSource<T>>- Mappings:
Namespace Name Mixin selector named executeLnet/minecraft/command/FixedCommandAction;execute(Lnet/minecraft/server/command/AbstractServerCommandSource;Lnet/minecraft/command/CommandExecutionContext;Lnet/minecraft/command/Frame;)Vintermediary method_54416Lnet/minecraft/class_8865;method_54416(Lnet/minecraft/class_8839;Lnet/minecraft/class_8854;Lnet/minecraft/class_8937;)Vofficial aLib;a(Lev;Lhs;Lhu;)V
-