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 named net/minecraft/server/command/ExecuteCommand$IfUnlessRedirector
intermediary net/minecraft/class_3050$class_8831
official ang$d
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.command.Forkable
Forkable.RedirectModifier<T>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(ServerCommandSource serverCommandSource, List<ServerCommandSource> list, com.mojang.brigadier.context.ContextChain<ServerCommandSource> contextChain, ExecutionFlags executionFlags, ExecutionControl<ServerCommandSource> executionControl) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.command.Forkable.RedirectModifier
apply
-
Field Details
-
predicate
- Mappings:
Namespace Name Mixin selector named predicate
Lnet/minecraft/server/command/ExecuteCommand$IfUnlessRedirector;predicate:Ljava/util/function/IntPredicate;
intermediary field_46643
Lnet/minecraft/class_3050$class_8831;field_46643:Ljava/util/function/IntPredicate;
official a
Lang$d;a:Ljava/util/function/IntPredicate;
-
-
Constructor Details
-
IfUnlessRedirector
IfUnlessRedirector(boolean success) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/server/command/ExecuteCommand$IfUnlessRedirector;<init>(Z)V
intermediary <init>
Lnet/minecraft/class_3050$class_8831;<init>(Z)V
official <init>
Lang$d;<init>(Z)V
-
-
Method Details
-
execute
public void execute(ServerCommandSource serverCommandSource, List<ServerCommandSource> list, com.mojang.brigadier.context.ContextChain<ServerCommandSource> contextChain, ExecutionFlags executionFlags, ExecutionControl<ServerCommandSource> executionControl) - Specified by:
execute
in interfaceForkable<ServerCommandSource>
- Mappings:
Namespace Name Mixin selector named execute
Lnet/minecraft/server/command/ExecuteCommand$IfUnlessRedirector;execute(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/List;Lcom/mojang/brigadier/context/ContextChain;Lnet/minecraft/command/ExecutionFlags;Lnet/minecraft/command/ExecutionControl;)V
intermediary method_54854
Lnet/minecraft/class_3050$class_8831;method_54854(Lnet/minecraft/class_2168;Ljava/util/List;Lcom/mojang/brigadier/context/ContextChain;Lnet/minecraft/class_8936;Lnet/minecraft/class_8855;)V
official a
Lang$d;a(Lep;Ljava/util/List;Lcom/mojang/brigadier/context/ContextChain;Lhj;Lhp;)V
-