Package net.minecraft.server.function
Class FunctionBuilder<T extends AbstractServerCommandSource<T>>
java.lang.Object
net.minecraft.server.function.FunctionBuilder<T>
- Mappings:
Namespace Name named net/minecraft/server/function/FunctionBuilder
intermediary net/minecraft/class_8867
official ih
-
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, T source) 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 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
Lih;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
Lih;b:Ljava/util/List;
-
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
Lih;c:Ljava/util/List;
-
-
Constructor Details
-
FunctionBuilder
FunctionBuilder()
-
-
Method Details
-
addAction
- 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
Lih;a(Lhw;)V
-
indexOfVariable
- 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
Lih;a(Ljava/lang/String;)I
-
indicesOfVariables
- 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
Lih;a(Ljava/util/List;)Lit/unimi/dsi/fastutil/ints/IntList;
-
addMacroCommand
- 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
Lih;a(Ljava/lang/String;ILev;)V
-
toCommandFunction
- 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
Lih;a(Lakq;)Lig;
-