Package net.minecraft.server
Class ServerFunctionManager
java.lang.Object
net.minecraft.server.ServerFunctionManager
-
Nested Class Summary
Modifier and TypeClassDescription(package private) class
static class
static interface
-
Field Summary
Modifier and TypeFieldDescriptionprivate ServerFunctionLibrary
private static final ResourceLocation
private static final Component
private boolean
(package private) final MinecraftServer
private static final ResourceLocation
private List<CommandFunction>
-
Constructor Summary
ConstructorDescriptionServerFunctionManager
(MinecraftServer p_136110_, ServerFunctionLibrary p_136111_) -
Method Summary
Modifier and TypeMethodDescriptionint
execute
(CommandFunction p_136113_, CommandSourceStack p_136114_) int
execute
(CommandFunction p_179961_, CommandSourceStack p_179962_, ServerFunctionManager.TraceCallbacks p_179963_, CompoundTag p_295910_) private void
executeTagFunctions
(Collection<CommandFunction> p_136116_, ResourceLocation p_136117_) get
(ResourceLocation p_136119_) int
com.mojang.brigadier.CommandDispatcher<CommandSourceStack>
getTag
(ResourceLocation p_214332_) private void
postReload
(ServerFunctionLibrary p_136126_) void
replaceLibrary
(ServerFunctionLibrary p_136121_) void
tick()
-
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
-
execute
-
execute
public int execute(CommandFunction p_179961_, CommandSourceStack p_179962_, @Nullable ServerFunctionManager.TraceCallbacks p_179963_, @Nullable CompoundTag p_295910_) throws FunctionInstantiationException - Throws:
FunctionInstantiationException
-
replaceLibrary
-
postReload
-
getGameLoopSender
-
get
-
getTag
-
getFunctionNames
-
getTagNames
-