Package net.minecraft.command
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$aintermediary net/minecraft/class_8858$class_8859named net/minecraft/command/SingleCommandAction$MultiSource
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.command.SingleCommandAction
SingleCommandAction.MultiSource<T extends AbstractServerCommandSource<T>>, SingleCommandAction.SingleSource<T extends AbstractServerCommandSource<T>>, SingleCommandAction.Sourced<T extends AbstractServerCommandSource<T>> -
Field Summary
FieldsFields inherited from class net.minecraft.command.SingleCommandAction
FORK_LIMIT_EXCEPTION -
Constructor Summary
ConstructorsConstructorDescriptionMultiSource(String command, com.mojang.brigadier.context.ContextChain<T> contextChain, boolean forkedMode, List<T> sources) -
Method Summary
Methods inherited from class net.minecraft.command.SingleCommandAction
execute, toString, traceCommandStart
-
Field Details
-
forkedMode
private final boolean forkedMode- Mappings:
Namespace Name Mixin selector official bLgs$a;b:Zintermediary field_46744Lnet/minecraft/class_8858$class_8859;field_46744:Znamed forkedModeLnet/minecraft/command/SingleCommandAction$MultiSource;forkedMode:Z
-
sources
- Mappings:
Namespace Name Mixin selector official cLgs$a;c:Ljava/util/List;intermediary field_46745Lnet/minecraft/class_8858$class_8859;field_46745:Ljava/util/List;named sourcesLnet/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;)Vintermediary <init>Lnet/minecraft/class_8858$class_8859;<init>(Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;ZLjava/util/List;)Vnamed <init>Lnet/minecraft/command/SingleCommandAction$MultiSource;<init>(Ljava/lang/String;Lcom/mojang/brigadier/context/ContextChain;ZLjava/util/List;)V
-
-
Method Details
-
execute
- Specified by:
executein interfaceCommandAction<T extends AbstractServerCommandSource<T>>- Mappings:
Namespace Name Mixin selector official executeLgm;execute(Lgn;I)Vintermediary executeLnet/minecraft/class_8853;execute(Lnet/minecraft/class_8854;I)Vnamed executeLnet/minecraft/command/CommandAction;execute(Lnet/minecraft/command/CommandExecutionContext;I)V
-