Package net.minecraft.server.function
Class FunctionBuilder<T extends AbstractServerCommandSource<T>>
java.lang.Object
net.minecraft.server.function.FunctionBuilder<T>
- Mappings:
Namespace Name official hc
intermediary net/minecraft/class_8867
named net/minecraft/server/function/FunctionBuilder
-
Field Summary
Modifier and TypeFieldDescriptionprivate @Nullable List<SourcedCommandAction<T>>
private @Nullable List<Macro.Line<T>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAction
(SourcedCommandAction<T> action) void
addMacroCommand
(String command, int lineNum) private int
indexOfVariable
(String variable) private IntList
indicesOfVariables
(List<String> variables)
-
Field Details
-
actions
@Nullable private @Nullable List<SourcedCommandAction<T extends AbstractServerCommandSource<T>>> 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
- 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
- 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
- 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
- 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
- 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
- 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;
-