Package net.minecraft.server
Class ServerFunctionManager
java.lang.Object
net.minecraft.server.ServerFunctionManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ServerFunctionLibrary
private static final ResourceLocation
private static final org.slf4j.Logger
private boolean
private final MinecraftServer
private static final ResourceLocation
private List
<CommandFunction<CommandSourceStack>> -
Constructor Summary
ConstructorsConstructorDescriptionServerFunctionManager
(MinecraftServer server, ServerFunctionLibrary library) -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(CommandFunction<CommandSourceStack> function, CommandSourceStack source) private void
executeTagFunctions
(Collection<CommandFunction<CommandSourceStack>> functionObjects, ResourceLocation identifier) get
(ResourceLocation functionIdentifier) com.mojang.brigadier.CommandDispatcher
<CommandSourceStack> getTag
(ResourceLocation functionTagIdentifier) private void
postReload
(ServerFunctionLibrary reloader) void
replaceLibrary
(ServerFunctionLibrary reloader) void
tick()
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
TICK_FUNCTION_TAG
-
LOAD_FUNCTION_TAG
-
server
-
ticking
-
postReload
private boolean postReload -
library
-
-
Constructor Details
-
ServerFunctionManager
-
-
Method Details
-
getDispatcher
-
tick
public void tick() -
executeTagFunctions
private void executeTagFunctions(Collection<CommandFunction<CommandSourceStack>> functionObjects, ResourceLocation identifier) -
execute
-
replaceLibrary
-
postReload
-
getGameLoopSender
-
get
-
getTag
public Collection<CommandFunction<CommandSourceStack>> getTag(ResourceLocation functionTagIdentifier) -
getFunctionNames
-
getTagNames
-