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 ajg$d
intermediary net/minecraft/class_3050$class_8831
named net/minecraft/server/command/ExecuteCommand$IfUnlessRedirector
  • Field Details

    • predicate

      private final IntPredicate predicate
      Mappings:
      Namespace Name Mixin selector
      official a Lajg$d;a:Ljava/util/function/IntPredicate;
      intermediary field_46643 Lnet/minecraft/class_3050$class_8831;field_46643:Ljava/util/function/IntPredicate;
      named predicate Lnet/minecraft/server/command/ExecuteCommand$IfUnlessRedirector;predicate:Ljava/util/function/IntPredicate;
  • Constructor Details

    • IfUnlessRedirector

      IfUnlessRedirector(boolean success)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lajg$d;<init>(Z)V
      intermediary <init> Lnet/minecraft/class_3050$class_8831;<init>(Z)V
      named <init> Lnet/minecraft/server/command/ExecuteCommand$IfUnlessRedirector;<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 interface Forkable<ServerCommandSource>
      Mappings:
      Namespace Name Mixin selector
      official a Lajg$d;a(Lds;Ljava/util/List;Lcom/mojang/brigadier/context/ContextChain;Lgj;Lgp;)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
      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