net.minecraft.commands

public class CommandFunction

dp
net.minecraft.commands.CommandFunction
net.minecraft.class_2158
net.minecraft.server.function.CommandFunction
net.minecraft.src.C_2773_
net.minecraft.commands.CustomFunction

Field summary

Modifier and TypeField
private final CommandFunction$Entry[]
a
entries
field_9805
elements
f_77976_
final ResourceLocation
b
id
field_9806
id
f_77977_

Constructor summary

ModifierConstructor
public (ResourceLocation id, CommandFunction$Entry[] elements)

Method summary

Modifier and TypeMethod
public ResourceLocation
a()
getId()
method_9194()
getId()
m_77981_()
public CommandFunction$Entry[]
b()
getEntries()
method_9193()
getElements()
m_77989_()
public CommandFunction
a(qw arg0, com.mojang.brigadier.CommandDispatcher<dt> arg1, dt arg2)
instantiate(CompoundTag arg0, com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg1, CommandSourceStack arg2)
method_52595(class_2487 arg0, com.mojang.brigadier.CommandDispatcher<class_2168> arg1, class_2168 arg2)
withMacroReplaced(NbtCompound arguments, com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, ServerCommandSource source)
m_295804_(C_4917_ p_300698_, com.mojang.brigadier.CommandDispatcher<C_2969_> p_298553_, C_2969_ arg2)
private static boolean
a(CharSequence arg0)
shouldConcatenateNextLine(CharSequence arg0)
method_52592(CharSequence arg0)
continuesToNextLine(CharSequence string)
m_292799_(CharSequence p_298962_)
public static CommandFunction
a(aew arg0, com.mojang.brigadier.CommandDispatcher<dt> arg1, dt arg2, List<String> arg3)
fromLines(ResourceLocation arg0, com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg1, CommandSourceStack arg2, List<String> arg3)
method_9195(class_2960 arg0, com.mojang.brigadier.CommandDispatcher<class_2168> arg1, class_2168 arg2, List<String> arg3)
create(Identifier id, com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, ServerCommandSource source, List<String> lines)
m_77984_(C_5265_ p_77985_, com.mojang.brigadier.CommandDispatcher<C_2969_> p_77986_, C_2969_ p_77987_, List<String> p_77988_)
public static CommandFunction$MacroEntry
a(String arg0, int arg1)
decomposeMacro(String arg0, int arg1)
method_52594(String arg0, int arg1)
parseMacro(String macro, int line)
m_295539_(String p_301200_, int p_300045_)
private static boolean
a(String arg0)
isValidVariableName(String arg0)
method_52593(String arg0)
isValidMacroVariableName(String name)
m_295505_(String p_299170_)