Package net.minecraft.server.command
Class ExecuteCommand.IfUnlessRedirector
java.lang.Object
net.minecraft.server.command.ExecuteCommand.IfUnlessRedirector
- All Implemented Interfaces:
com.mojang.brigadier.RedirectModifier<ServerCommandSource>,Forkable<ServerCommandSource>,Forkable.RedirectModifier<ServerCommandSource>
- Enclosing class:
ExecuteCommand
private static class ExecuteCommand.IfUnlessRedirector
extends Object
implements Forkable.RedirectModifier<ServerCommandSource>
- Mappings:
Namespace Name official aii$dintermediary net/minecraft/class_3050$class_8831named net/minecraft/server/command/ExecuteCommand$IfUnlessRedirector
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.command.Forkable
Forkable.RedirectModifier<T> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(List<ServerCommandSource> sources, com.mojang.brigadier.context.ContextChain<ServerCommandSource> contextChain, boolean forkedMode, ExecutionControl<ServerCommandSource> control) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.command.Forkable.RedirectModifier
apply
-
Field Details
-
predicate
- Mappings:
Namespace Name Mixin selector official aLaii$d;a:Ljava/util/function/IntPredicate;intermediary field_46643Lnet/minecraft/class_3050$class_8831;field_46643:Ljava/util/function/IntPredicate;named predicateLnet/minecraft/server/command/ExecuteCommand$IfUnlessRedirector;predicate:Ljava/util/function/IntPredicate;
-
-
Constructor Details
-
IfUnlessRedirector
IfUnlessRedirector(boolean success) - Mappings:
Namespace Name Mixin selector official <init>Laii$d;<init>(Z)Vintermediary <init>Lnet/minecraft/class_3050$class_8831;<init>(Z)Vnamed <init>Lnet/minecraft/server/command/ExecuteCommand$IfUnlessRedirector;<init>(Z)V
-
-
Method Details
-
execute
public void execute(List<ServerCommandSource> sources, com.mojang.brigadier.context.ContextChain<ServerCommandSource> contextChain, boolean forkedMode, ExecutionControl<ServerCommandSource> control) - Specified by:
executein interfaceForkable<ServerCommandSource>- Mappings:
Namespace Name Mixin selector official aLgl;a(Ljava/util/List;Lcom/mojang/brigadier/context/ContextChain;ZLgo;)Vintermediary method_54270Lnet/minecraft/class_8851;method_54270(Ljava/util/List;Lcom/mojang/brigadier/context/ContextChain;ZLnet/minecraft/class_8855;)Vnamed executeLnet/minecraft/command/Forkable;execute(Ljava/util/List;Lcom/mojang/brigadier/context/ContextChain;ZLnet/minecraft/command/ExecutionControl;)V
-