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 hy
  • Field Details

    • command

      private final String 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 Lhy;a:Ljava/lang/String;
    • flags

      private final ExecutionFlags 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 Lhy;b:Lhk;
    • 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 Lhy;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> Lhy;<init>(Ljava/lang/String;Lhk;Lcom/mojang/brigadier/context/CommandContext;)V
  • Method Details

    • execute

      public void execute(T t, CommandExecutionContext<T> commandExecutionContext, Frame frame)
      Specified by:
      execute in interface SourcedCommandAction<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 Lhy;a(Les;Lhp;Lhr;)V