Class CommandFunction.CommandElement

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

public static class CommandFunction.CommandElement extends Object implements CommandFunction.Element
Mappings:
Namespace Name
official dm$b
intermediary net/minecraft/class_2158$class_2160
named net/minecraft/server/function/CommandFunction$CommandElement
  • Field Details

    • parsed

      private final com.mojang.brigadier.ParseResults<ServerCommandSource> parsed
      Mappings:
      Namespace Name Mixin selector
      official a Ldm$b;a:Lcom/mojang/brigadier/ParseResults;
      intermediary field_9811 Lnet/minecraft/class_2158$class_2160;field_9811:Lcom/mojang/brigadier/ParseResults;
      named parsed Lnet/minecraft/server/function/CommandFunction$CommandElement;parsed:Lcom/mojang/brigadier/ParseResults;
  • Constructor Details

    • CommandElement

      public CommandElement(com.mojang.brigadier.ParseResults<ServerCommandSource> parsed)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldm$b;<init>(Lcom/mojang/brigadier/ParseResults;)V
      intermediary <init> Lnet/minecraft/class_2158$class_2160;<init>(Lcom/mojang/brigadier/ParseResults;)V
      named <init> Lnet/minecraft/server/function/CommandFunction$CommandElement;<init>(Lcom/mojang/brigadier/ParseResults;)V
  • Method Details

    • execute

      public void execute(CommandFunctionManager manager, ServerCommandSource source, Deque<CommandFunctionManager.Entry> entries, int maxChainLength, int depth, @Nullable CommandFunctionManager.Tracer tracer) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      execute in interface CommandFunction.Element
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official execute Ldm$c;execute(Labo;Ldr;Ljava/util/Deque;IILabo$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
    • execute

      private int execute(CommandFunctionManager manager, ServerCommandSource source) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Ldm$b;a(Labo;Ldr;)I
      intermediary method_36318 Lnet/minecraft/class_2158$class_2160;method_36318(Lnet/minecraft/class_2991;Lnet/minecraft/class_2168;)I
      named execute Lnet/minecraft/server/function/CommandFunction$CommandElement;execute(Lnet/minecraft/server/function/CommandFunctionManager;Lnet/minecraft/server/command/ServerCommandSource;)I
    • toString

      public String toString()
      Overrides:
      toString in class Object