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

    • flags

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

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

      private final List<T extends AbstractServerCommandSource<T>> sources
      Mappings:
      Namespace Name Mixin selector
      official d Lgu$a;d: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, ExecutionFlags flags, T baseSource, List<T> sources)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lgu$a;<init>(Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;Lgj;Ldu;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
      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
  • 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
      official execute Lgn;execute(Lgo;Lgq;)V
      intermediary execute Lnet/minecraft/class_8853;execute(Lnet/minecraft/class_8854;Lnet/minecraft/class_8937;)V
      named execute Lnet/minecraft/command/CommandAction;execute(Lnet/minecraft/command/CommandExecutionContext;Lnet/minecraft/command/Frame;)V