Package net.minecraft.server
Class ServerFunctionManager
java.lang.Object
net.minecraft.server.ServerFunctionManager
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) classstatic classstatic interface -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ServerFunctionLibraryprivate static ResourceLocationprivate static Componentprivate boolean(package private) MinecraftServerprivate static ResourceLocationprivate List<CommandFunction> -
Constructor Summary
ConstructorsConstructorDescriptionServerFunctionManager(MinecraftServer p_136110_, ServerFunctionLibrary p_136111_) -
Method Summary
Modifier and TypeMethodDescriptionintexecute(CommandFunction p_136113_, CommandSourceStack p_136114_)intexecute(CommandFunction p_179961_, CommandSourceStack p_179962_, ServerFunctionManager.TraceCallbacks p_179963_)private voidexecuteTagFunctions(Collection<CommandFunction> p_136116_, ResourceLocation p_136117_)get(ResourceLocation p_136119_)intcom.mojang.brigadier.CommandDispatcher<CommandSourceStack>getTag(ResourceLocation p_136124_)private voidpostReload(ServerFunctionLibrary p_136126_)voidreplaceLibrary(ServerFunctionLibrary p_136121_)voidtick()
-
Field Details
-
NO_RECURSIVE_TRACES
-
TICK_FUNCTION_TAG
-
LOAD_FUNCTION_TAG
-
server
-
context
-
ticking
-
postReload
private boolean postReload -
library
-
-
Constructor Details
-
ServerFunctionManager
-
-
Method Details
-
getCommandLimit
public int getCommandLimit() -
getDispatcher
-
tick
public void tick() -
executeTagFunctions
private void executeTagFunctions(Collection<CommandFunction> p_136116_, ResourceLocation p_136117_) -
execute
-
execute
public int execute(CommandFunction p_179961_, CommandSourceStack p_179962_, @Nullable ServerFunctionManager.TraceCallbacks p_179963_) -
replaceLibrary
-
postReload
-
getGameLoopSender
-
get
-
getTag
-
getFunctionNames
-
getTagNames
-