net.minecraft.commands.functions

class FunctionBuilder<T extends ExecutionCommandSource<T>>

hc
net.minecraft.commands.functions.FunctionBuilder
net.minecraft.class_8867
net.minecraft.server.function.FunctionBuilder
net.minecraft.src.C_302047_
net.minecraft.commands.functions.FunctionBuilder

Field summary

Modifier and TypeField
private List<UnboundEntryAction<T>>
a
plainEntries
field_46755
actions
f_302654_
private List<MacroFunction$Entry<T>>
b
macroEntries
field_46756
macroLines
f_302447_
private final List<String>
c
macroArguments
field_46757
usedVariables
f_302518_

Constructor summary

ModifierConstructor
()

Method summary

Modifier and TypeMethod
public void
a(gs<T> arg0)
addCommand(UnboundEntryAction<T> arg0)
method_54419(class_8856<T> arg0)
addAction(SourcedCommandAction<T> action)
m_305257_(C_302004_<T> arg0)
private int
a(String arg0)
getArgumentIndex(String arg0)
method_54420(String arg0)
indexOfVariable(String variable)
m_305772_(String arg0)
private it.unimi.dsi.fastutil.ints.IntList
a(List<String> arg0)
convertToIndices(List<String> arg0)
method_54422(List<String> arg0)
indicesOfVariables(List<String> variables)
m_307723_(List<String> arg0)
public void
a(String arg0, int arg1)
addMacro(String arg0, int arg1)
method_54421(String arg0, int arg1)
addMacroCommand(String command, int lineNum)
m_307020_(String p_310777_, int arg1)
public CommandFunction<T>
a(ahg arg0)
build(ResourceLocation arg0)
method_54418(class_2960 arg0)
toCommandFunction(Identifier id)
m_306609_(C_5265_ arg0)