Package net.minecraft.server.function
Class CommandFunctionManager
java.lang.Object
net.minecraft.server.function.CommandFunctionManager
public class CommandFunctionManager extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCommandFunctionManager.Entry -
Field Summary
Fields Modifier and Type Field Description private ArrayDeque<CommandFunctionManager.Entry>chainprivate booleanexecutingprivate FunctionLoaderfield_25333private static IdentifierLOAD_FUNCTIONprivate booleanneedToRunLoadFunctionsprivate List<CommandFunctionManager.Entry>pendingprivate MinecraftServerserverprivate static IdentifierTICK_FUNCTIONprivate List<CommandFunction>tickFunctions -
Constructor Summary
Constructors Constructor Description CommandFunctionManager(MinecraftServer minecraftServer, FunctionLoader functionLoader) -
Method Summary
Modifier and Type Method Description intexecute(CommandFunction function, ServerCommandSource source)com.mojang.brigadier.CommandDispatcher<ServerCommandSource>getDispatcher()Optional<CommandFunction>getFunction(Identifier id)intgetMaxCommandChainLength()ServerCommandSourcegetTaggedFunctionSource()private voidmethod_29460(Collection<CommandFunction> collection, Identifier identifier)voidmethod_29461(FunctionLoader functionLoader)Tag<CommandFunction>method_29462(Identifier identifier)Iterable<Identifier>method_29463()Iterable<Identifier>method_29464()private voidmethod_29773(FunctionLoader functionLoader)voidtick()
-
Field Details
-
TICK_FUNCTION
-
LOAD_FUNCTION
-
server
-
executing
private boolean executing -
chain
-
pending
-
tickFunctions
-
needToRunLoadFunctions
private boolean needToRunLoadFunctions -
field_25333
-
-
Constructor Details
-
CommandFunctionManager
-
-
Method Details
-
getMaxCommandChainLength
public int getMaxCommandChainLength() -
getDispatcher
-
tick
public void tick() -
method_29460
-
execute
-
method_29461
-
method_29773
-
getTaggedFunctionSource
-
getFunction
-
method_29462
-
method_29463
-
method_29464
-