net.minecraft.server.function

class FunctionBuilder<T extends AbstractServerCommandSource<T>>

net.minecraft.commands.functions.FunctionBuilder
net.minecraft.class_8867
net.minecraft.server.function.FunctionBuilder

Field summary

Modifier and TypeField
private List<SourcedCommandAction<T>>
plainEntries
field_46755
actions
private List<Macro$Line<T>>
macroEntries
field_46756
macroLines
private final List<String>
macroArguments
field_46757
usedVariables

Constructor summary

ModifierConstructor
()

Method summary

Modifier and TypeMethod
public void
addCommand(UnboundEntryAction<T> command)
method_54419(class_8856<T> arg0)
addAction(SourcedCommandAction<T> action)
private int
getArgumentIndex(String id)
method_54420(String arg0)
indexOfVariable(String variable)
private it.unimi.dsi.fastutil.ints.IntList
convertToIndices(List<String> ids)
method_54422(List<String> arg0)
indicesOfVariables(List<String> variables)
public void
addMacro(String command, int line, T compilationContext)
method_54421(String arg0, int arg1, T arg2)
addMacroCommand(String command, int lineNum, T source)
public CommandFunction<T>
build(Identifier id)
method_54418(class_2960 arg0)
toCommandFunction(Identifier id)