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
named net/minecraft/command/SingleCommandAction$MultiSource
intermediary net/minecraft/class_8858$class_8859
official hu$a
  • Field Details

    • flags

      private final ExecutionFlags flags
      Mappings:
      Namespace Name Mixin selector
      named flags Lnet/minecraft/command/SingleCommandAction$MultiSource;flags:Lnet/minecraft/command/ExecutionFlags;
      intermediary field_47164 Lnet/minecraft/class_8858$class_8859;field_47164:Lnet/minecraft/class_8936;
      official b Lhu$a;b:Lhj;
    • baseSource

      private final T extends AbstractServerCommandSource<T> baseSource
      Mappings:
      Namespace Name Mixin selector
      named baseSource Lnet/minecraft/command/SingleCommandAction$MultiSource;baseSource:Lnet/minecraft/server/command/AbstractServerCommandSource;
      intermediary field_47165 Lnet/minecraft/class_8858$class_8859;field_47165:Lnet/minecraft/class_8839;
      official c Lhu$a;c:Ler;
    • sources

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

    • MultiSource

      public MultiSource(String command, com.mojang.brigadier.context.ContextChain<T> contextChain, ExecutionFlags flags, T baseSource, List<T> sources)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/command/SingleCommandAction$MultiSource;<init>(Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;Lnet/minecraft/command/ExecutionFlags;Lnet/minecraft/server/command/AbstractServerCommandSource;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_8858$class_8859;<init>(Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;Lnet/minecraft/class_8936;Lnet/minecraft/class_8839;Ljava/util/List;)V
      official <init> Lhu$a;<init>(Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;Lhj;Ler;Ljava/util/List;)V
  • Method Details

    • execute

      public void execute(CommandExecutionContext<T> context, Frame frame)
      Specified by:
      execute in interface CommandAction<T extends AbstractServerCommandSource<T>>
      Mappings:
      Namespace Name Mixin selector
      named execute Lnet/minecraft/command/CommandAction;execute(Lnet/minecraft/command/CommandExecutionContext;Lnet/minecraft/command/Frame;)V
      intermediary execute Lnet/minecraft/class_8853;execute(Lnet/minecraft/class_8854;Lnet/minecraft/class_8937;)V
      official execute Lhn;execute(Lho;Lhq;)V