net.minecraft.server.function

public class CommandFunctionManager

net.minecraft.server.ServerFunctionManager
net.minecraft.class_2991
net.minecraft.server.function.CommandFunctionManager

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
field_47181
LOGGER
private static final Identifier
TICK_FUNCTION_TAG
field_13417
TICK_TAG_ID
private static final Identifier
LOAD_FUNCTION_TAG
field_13412
LOAD_TAG_ID
private final MinecraftServer
server
field_13419
server
private List<CommandFunction<ServerCommandSource>>
ticking
field_13418
tickFunctions
private boolean
postReload
field_13422
justLoaded
private FunctionLoader
library
field_25333
loader

Constructor summary

ModifierConstructor
public (MinecraftServer server, FunctionLoader loader)

Method summary

Modifier and TypeMethod
public com.mojang.brigadier.CommandDispatcher<ServerCommandSource>
getDispatcher()
method_12900()
getDispatcher()
public void
tick()
method_18699()
tick()
private void
executeTagFunctions(Collection<CommandFunction<CommandSourceStack>> functions, Identifier loadFunctionTag)
method_29460(Collection<class_2158<class_2168>> arg0, class_2960 arg1)
executeAll(Collection<CommandFunction<ServerCommandSource>> functions, Identifier label)
public void
execute(CommandFunction<CommandSourceStack> functionIn, CommandSourceStack sender)
method_12904(class_2158<class_2168> arg0, class_2168 arg1)
execute(CommandFunction<ServerCommandSource> function, ServerCommandSource source)
public void
replaceLibrary(ServerFunctionLibrary library)
method_29461(class_5349 arg0)
setFunctions(FunctionLoader loader)
private void
postReload(ServerFunctionLibrary library)
method_29773(class_5349 arg0)
load(FunctionLoader loader)
public ServerCommandSource
getGameLoopSender()
method_12899()
getScheduledCommandSource()
public Optional<CommandFunction<ServerCommandSource>>
get(Identifier id)
method_12905(class_2960 arg0)
getFunction(Identifier id)
public List<CommandFunction<ServerCommandSource>>
getTag(Identifier id)
method_29462(class_2960 arg0)
getTag(Identifier id)
public Iterable<Identifier>
getFunctionNames()
method_29463()
getAllFunctions()
public Iterable<Identifier>
getTagNames()
method_29464()
getFunctionTags()
private static void
lambda$execute$1(InstantiatedFunction arg0, CommandSourceStack arg1, ExecutionContext arg2)
method_54252(class_8868 arg0, class_2168 arg1, class_8854 arg2)
method_54252(Procedure arg0, ServerCommandSource arg1, CommandExecutionContext context)
private static String
lambda$execute$0(CommandFunction arg0)
method_54251(class_2158 arg0)
method_54251(CommandFunction arg0)