Package net.minecraft.advancements
Class FunctionManager
java.lang.Object
net.minecraft.advancements.FunctionManager
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ArrayDeque<FunctionManager.QueuedCommand>private booleanprivate FunctionReloaderprivate static final ResourceLocationprivate final List<FunctionManager.QueuedCommand>private booleanprivate final MinecraftServerprivate static final ResourceLocationprivate final List<FunctionObject> -
Constructor Summary
ConstructorsConstructorDescriptionFunctionManager(MinecraftServer p_i232597_1_, FunctionReloader p_i232597_2_) -
Method Summary
Modifier and TypeMethodDescriptionintexecute(FunctionObject p_195447_1_, CommandSource p_195447_2_) private voidexecuteTagFunctions(Collection<FunctionObject> p_240945_1_, ResourceLocation p_240945_2_) get(ResourceLocation p_215361_1_) intcom.mojang.brigadier.CommandDispatcher<CommandSource>getTag(ResourceLocation p_240947_1_) private voidpostReload(FunctionReloader p_240948_1_) voidreplaceLibrary(FunctionReloader p_240946_1_) voidtick()
-
Field Details
-
TICK_FUNCTION_TAG
-
LOAD_FUNCTION_TAG
-
server
-
isInFunction
private boolean isInFunction -
commandQueue
-
nestedCalls
-
ticking
-
postReload
private boolean postReload -
library
-
-
Constructor Details
-
FunctionManager
-
-
Method Details
-
getCommandLimit
public int getCommandLimit() -
getDispatcher
-
tick
public void tick() -
executeTagFunctions
private void executeTagFunctions(Collection<FunctionObject> p_240945_1_, ResourceLocation p_240945_2_) -
execute
-
replaceLibrary
-
postReload
-
getGameLoopSender
-
get
-
getTag
-
getFunctionNames
-
getTagNames
-