Class FunctionBuilder<T extends AbstractServerCommandSource<T>>

java.lang.Object
net.minecraft.server.function.FunctionBuilder<T>

class FunctionBuilder<T extends AbstractServerCommandSource<T>> extends Object
Mappings:
Namespace Name
official hc
intermediary net/minecraft/class_8867
named net/minecraft/server/function/FunctionBuilder
  • Field Details

    • actions

      Mappings:
      Namespace Name Mixin selector
      official a Lhc;a:Ljava/util/List;
      intermediary field_46755 Lnet/minecraft/class_8867;field_46755:Ljava/util/List;
      named actions Lnet/minecraft/server/function/FunctionBuilder;actions:Ljava/util/List;
    • macroLines

      Mappings:
      Namespace Name Mixin selector
      official b Lhc;b:Ljava/util/List;
      intermediary field_46756 Lnet/minecraft/class_8867;field_46756:Ljava/util/List;
      named macroLines Lnet/minecraft/server/function/FunctionBuilder;macroLines:Ljava/util/List;
    • usedVariables

      private final List<String> usedVariables
      Mappings:
      Namespace Name Mixin selector
      official c Lhc;c:Ljava/util/List;
      intermediary field_46757 Lnet/minecraft/class_8867;field_46757:Ljava/util/List;
      named usedVariables Lnet/minecraft/server/function/FunctionBuilder;usedVariables:Ljava/util/List;
  • Constructor Details

    • FunctionBuilder

      FunctionBuilder()
  • Method Details

    • addAction

      public void addAction(SourcedCommandAction<T> action)
      Mappings:
      Namespace Name Mixin selector
      official a Lhc;a(Lgs;)V
      intermediary method_54419 Lnet/minecraft/class_8867;method_54419(Lnet/minecraft/class_8856;)V
      named addAction Lnet/minecraft/server/function/FunctionBuilder;addAction(Lnet/minecraft/command/SourcedCommandAction;)V
    • indexOfVariable

      private int indexOfVariable(String variable)
      Mappings:
      Namespace Name Mixin selector
      official a Lhc;a(Ljava/lang/String;)I
      intermediary method_54420 Lnet/minecraft/class_8867;method_54420(Ljava/lang/String;)I
      named indexOfVariable Lnet/minecraft/server/function/FunctionBuilder;indexOfVariable(Ljava/lang/String;)I
    • indicesOfVariables

      private IntList indicesOfVariables(List<String> variables)
      Mappings:
      Namespace Name Mixin selector
      official a Lhc;a(Ljava/util/List;)Lit/unimi/dsi/fastutil/ints/IntList;
      intermediary method_54422 Lnet/minecraft/class_8867;method_54422(Ljava/util/List;)Lit/unimi/dsi/fastutil/ints/IntList;
      named indicesOfVariables Lnet/minecraft/server/function/FunctionBuilder;indicesOfVariables(Ljava/util/List;)Lit/unimi/dsi/fastutil/ints/IntList;
    • addMacroCommand

      public void addMacroCommand(String command, int lineNum)
      Mappings:
      Namespace Name Mixin selector
      official a Lhc;a(Ljava/lang/String;I)V
      intermediary method_54421 Lnet/minecraft/class_8867;method_54421(Ljava/lang/String;I)V
      named addMacroCommand Lnet/minecraft/server/function/FunctionBuilder;addMacroCommand(Ljava/lang/String;I)V
    • toCommandFunction

      public CommandFunction<T> toCommandFunction(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official a Lhc;a(Lahg;)Lhb;
      intermediary method_54418 Lnet/minecraft/class_8867;method_54418(Lnet/minecraft/class_2960;)Lnet/minecraft/class_2158;
      named toCommandFunction Lnet/minecraft/server/function/FunctionBuilder;toCommandFunction(Lnet/minecraft/util/Identifier;)Lnet/minecraft/server/function/CommandFunction;