Class CommandFunction.FunctionElement

java.lang.Object
net.minecraft.server.function.CommandFunction.FunctionElement
All Implemented Interfaces:
CommandFunction.Element
Enclosing class:
CommandFunction

public static class CommandFunction.FunctionElement extends Object implements CommandFunction.Element
A synthetic element to be stored in a CommandFunctionManager.Entry. This is not present as parts of command functions, but created by CommandFunctionManager.Execution#recursiveRun.
Mappings:
Namespace Name
official di$d
intermediary net/minecraft/class_2158$class_2162
named net/minecraft/server/function/CommandFunction$FunctionElement
  • Field Details

    • function

      private final CommandFunction.LazyContainer function
      Mappings:
      Namespace Name Mixin selector
      official a Ldi$d;a:Ldi$a;
      intermediary field_9812 Lnet/minecraft/class_2158$class_2162;field_9812:Lnet/minecraft/class_2158$class_2159;
      named function Lnet/minecraft/server/function/CommandFunction$FunctionElement;function:Lnet/minecraft/server/function/CommandFunction$LazyContainer;
  • Constructor Details

    • FunctionElement

      public FunctionElement(CommandFunction function)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldi$d;<init>(Ldi;)V
      intermediary <init> Lnet/minecraft/class_2158$class_2162;<init>(Lnet/minecraft/class_2158;)V
      named <init> Lnet/minecraft/server/function/CommandFunction$FunctionElement;<init>(Lnet/minecraft/server/function/CommandFunction;)V
  • Method Details

    • execute

      public void execute(CommandFunctionManager manager, ServerCommandSource source, Deque<CommandFunctionManager.Entry> entries, int maxChainLength, int depth, @Nullable CommandFunctionManager.Tracer tracer)
      Specified by:
      execute in interface CommandFunction.Element
      Mappings:
      Namespace Name Mixin selector
      official a Ldi$c;a(Lxi;Ldl;Ljava/util/Deque;IILxi$c;)V
      intermediary method_9198 Lnet/minecraft/class_2158$class_2161;method_9198(Lnet/minecraft/class_2991;Lnet/minecraft/class_2168;Ljava/util/Deque;IILnet/minecraft/class_2991$class_6346;)V
      named execute Lnet/minecraft/server/function/CommandFunction$Element;execute(Lnet/minecraft/server/function/CommandFunctionManager;Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Deque;IILnet/minecraft/server/function/CommandFunctionManager$Tracer;)V
    • toString

      public String toString()
      Overrides:
      toString in class Object