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 pServer, ServerFunctionLibrary pLibrary) -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(CommandFunction<CommandSourceStack> pFunction, CommandSourceStack pSource) private void
executeTagFunctions
(Collection<CommandFunction<CommandSourceStack>> pFunctionObjects, ResourceLocation pIdentifier) get
(ResourceLocation pFunctionIdentifier) com.mojang.brigadier.CommandDispatcher
<CommandSourceStack> getTag
(ResourceLocation pFunctionTagIdentifier) private void
postReload
(ServerFunctionLibrary pReloader) void
replaceLibrary
(ServerFunctionLibrary pReloader) 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>> pFunctionObjects, ResourceLocation pIdentifier) -
execute
-
replaceLibrary
-
postReload
-
getGameLoopSender
-
get
-
getTag
public Collection<CommandFunction<CommandSourceStack>> getTag(ResourceLocation pFunctionTagIdentifier) -
getFunctionNames
-
getTagNames
-