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
named net/minecraft/server/function/FunctionBuilder
intermediary net/minecraft/class_8867
official il
  • Field Details

    • actions

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

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

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

    • FunctionBuilder

      FunctionBuilder()
  • Method Details

    • addAction

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

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

      private IntList indicesOfVariables(List<String> variables)
      Mappings:
      Namespace Name Mixin selector
      named indicesOfVariables Lnet/minecraft/server/function/FunctionBuilder;indicesOfVariables(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;
      official a Lil;a(Ljava/util/List;)Lit/unimi/dsi/fastutil/ints/IntList;
    • addMacroCommand

      public void addMacroCommand(String command, int lineNum, T source)
      Mappings:
      Namespace Name Mixin selector
      named addMacroCommand Lnet/minecraft/server/function/FunctionBuilder;addMacroCommand(Ljava/lang/String;ILnet/minecraft/server/command/AbstractServerCommandSource;)V
      intermediary method_54421 Lnet/minecraft/class_8867;method_54421(Ljava/lang/String;ILnet/minecraft/class_8839;)V
      official a Lil;a(Ljava/lang/String;ILey;)V
    • toCommandFunction

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