Class SingleCommandAction.MultiSource<T extends AbstractServerCommandSource<T>>

java.lang.Object
net.minecraft.command.SingleCommandAction<T>
net.minecraft.command.SingleCommandAction.MultiSource<T>
All Implemented Interfaces:
CommandAction<T>
Enclosing class:
SingleCommandAction<T extends AbstractServerCommandSource<T>>

public static class SingleCommandAction.MultiSource<T extends AbstractServerCommandSource<T>> extends SingleCommandAction<T> implements CommandAction<T>
Mappings:
Namespace Name
official gs$a
intermediary net/minecraft/class_8858$class_8859
named net/minecraft/command/SingleCommandAction$MultiSource
  • Field Details

    • forkedMode

      private final boolean forkedMode
      Mappings:
      Namespace Name Mixin selector
      official b Lgs$a;b:Z
      intermediary field_46744 Lnet/minecraft/class_8858$class_8859;field_46744:Z
      named forkedMode Lnet/minecraft/command/SingleCommandAction$MultiSource;forkedMode:Z
    • sources

      private final List<T extends AbstractServerCommandSource<T>> sources
      Mappings:
      Namespace Name Mixin selector
      official c Lgs$a;c:Ljava/util/List;
      intermediary field_46745 Lnet/minecraft/class_8858$class_8859;field_46745:Ljava/util/List;
      named sources Lnet/minecraft/command/SingleCommandAction$MultiSource;sources:Ljava/util/List;
  • Constructor Details

    • MultiSource

      public MultiSource(String command, com.mojang.brigadier.context.ContextChain<T> contextChain, boolean forkedMode, List<T> sources)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lgs$a;<init>(Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;ZLjava/util/List;)V
      intermediary <init> Lnet/minecraft/class_8858$class_8859;<init>(Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;ZLjava/util/List;)V
      named <init> Lnet/minecraft/command/SingleCommandAction$MultiSource;<init>(Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;ZLjava/util/List;)V
  • Method Details

    • execute

      public void execute(CommandExecutionContext<T> context, int depth)
      Specified by:
      execute in interface CommandAction<T extends AbstractServerCommandSource<T>>
      Mappings:
      Namespace Name Mixin selector
      official execute Lgm;execute(Lgn;I)V
      intermediary execute Lnet/minecraft/class_8853;execute(Lnet/minecraft/class_8854;I)V
      named execute Lnet/minecraft/command/CommandAction;execute(Lnet/minecraft/command/CommandExecutionContext;I)V