Package net.minecraft.advancements
Class FunctionManager
java.lang.Object
net.minecraft.advancements.FunctionManager
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ArrayDeque<FunctionManager.QueuedCommand>
private boolean
private FunctionReloader
private static final ResourceLocation
private final List<FunctionManager.QueuedCommand>
private boolean
private final MinecraftServer
private static final ResourceLocation
private final List<FunctionObject>
-
Constructor Summary
ConstructorDescriptionFunctionManager
(MinecraftServer p_i232597_1_, FunctionReloader p_i232597_2_) -
Method Summary
Modifier and TypeMethodDescriptionint
execute
(FunctionObject p_195447_1_, CommandSource p_195447_2_) private void
executeTagFunctions
(Collection<FunctionObject> p_240945_1_, ResourceLocation p_240945_2_) get
(ResourceLocation p_215361_1_) int
com.mojang.brigadier.CommandDispatcher<CommandSource>
getTag
(ResourceLocation p_240947_1_) private void
postReload
(FunctionReloader p_240948_1_) void
replaceLibrary
(FunctionReloader p_240946_1_) void
tick()
-
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
-