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 gv
intermediary net/minecraft/class_8865
named net/minecraft/command/FixedCommandAction
  • Field Details

    • command

      private final String command
      Mappings:
      Namespace Name Mixin selector
      official a Lgv;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;
    • forkedMode

      private final boolean forkedMode
      Mappings:
      Namespace Name Mixin selector
      official b Lgv;b:Z
      intermediary field_46753 Lnet/minecraft/class_8865;field_46753:Z
      named forkedMode Lnet/minecraft/command/FixedCommandAction;forkedMode:Z
    • context

      private final com.mojang.brigadier.context.CommandContext<T extends AbstractServerCommandSource<T>> context
      Mappings:
      Namespace Name Mixin selector
      official c Lgv;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, boolean forkedMode, com.mojang.brigadier.context.CommandContext<T> context)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lgv;<init>(Ljava/lang/String;ZLcom/mojang/brigadier/context/CommandContext;)V
      intermediary <init> Lnet/minecraft/class_8865;<init>(Ljava/lang/String;ZLcom/mojang/brigadier/context/CommandContext;)V
      named <init> Lnet/minecraft/command/FixedCommandAction;<init>(Ljava/lang/String;ZLcom/mojang/brigadier/context/CommandContext;)V
  • Method Details

    • execute

      public void execute(T t, CommandExecutionContext<T> commandExecutionContext, int int2)
      Specified by:
      execute in interface SourcedCommandAction<T extends AbstractServerCommandSource<T>>
      Mappings:
      Namespace Name Mixin selector
      official a Lgv;a(Ldw;Lgn;I)V
      intermediary method_54416 Lnet/minecraft/class_8865;method_54416(Lnet/minecraft/class_8839;Lnet/minecraft/class_8854;I)V
      named execute Lnet/minecraft/command/FixedCommandAction;execute(Lnet/minecraft/server/command/AbstractServerCommandSource;Lnet/minecraft/command/CommandExecutionContext;I)V