net.minecraft.server.function

public class CommandFunctionManager

implements SynchronousResourceReloadListener

rf
net.minecraft.class_2991
net.minecraft.server.function.CommandFunctionManager
net.minecraft.server.FunctionManager
net.minecraft.advancements.FunctionManager
net.minecraft.advancements.FunctionManager

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
c
field_13421
LOGGER
LOGGER
field_193067_a
LOGGER
private static final Identifier
d
field_13417
TICK_FUNCTION
TICK_TAG_LOCATION
field_200001_d
TICK_TAG_ID
private static final Identifier
e
field_13412
LOAD_FUNCTION
LOAD_TAG_LOCATION
field_200222_e
LOAD_TAG_ID
public static final int
a
field_13415
PATH_PREFIX_LENGTH
PATH_PREFIX_LENGTH
field_195454_a
PATH_PREFIX_LENGTH
public static final int
b
field_13414
EXTENSION_LENGTH
PATH_SUFFIX_LENGTH
field_195455_b
PATH_SUFFIX_LENGTH
private final MinecraftServer
f
field_13419
server
server
field_193069_c
server
private final Map<Identifier, CommandFunction>
g
field_13420
idMap
customFunctions
field_193070_d
functions
private boolean
h
field_13411
executing
isInFunction
field_194021_h
isExecuting
private final ArrayDeque<CommandFunctionManager$Entry>
i
field_13413
chain
queuedCommands
field_194020_g
commandQueue
private final List<CommandFunctionManager$Entry>
j
field_19332
pending
f_93140242
field_222855_j
commandChain
private final TagContainer<CommandFunction>
k
field_13416
tags
tags
field_200002_i
tagCollection
private final List<CommandFunction>
l
field_13418
tickFunctions
functions
field_200003_j
tickFunctions
private boolean
m
field_13422
needToRunLoadFunctions
loaded
field_200223_l
loadFunctionsRun

Constructor summary

ModifierConstructor
public (MinecraftServer server)

Method summary

Modifier and TypeMethod
public Optional<CommandFunction>
a(qt arg0)
method_12905(class_2960 arg0)
getFunction(Identifier arg0)
get(Identifier arg0)
func_215361_a(ResourceLocation arg0)
get(ResourceLocation arg0)
public MinecraftServer
a()
method_12907()
getServer()
getServer()
func_195450_a()
getServer()
public int
b()
method_12902()
getMaxCommandChainLength()
getMaxCommandChainLength()
func_193065_c()
getMaxCommandChainLength()
public Map<Identifier, CommandFunction>
c()
method_12912()
getFunctions()
getFunctions()
func_193066_d()
getFunctions()
public CommandDispatcher<ServerCommandSource>
d()
method_12900()
getDispatcher()
getCommandDispatcher()
func_195446_d()
getCommandDispatcher()
public void
e()
method_18699()
tick()
m_12407198()
func_73660_a()
tick()
public int
a(ca arg0, cd arg1)
method_12904(class_2158 arg0, class_2168 arg1)
execute(CommandFunction arg0, ServerCommandSource arg1)
run(CommandFunction function, CommandSourceStack source)
func_195447_a(FunctionObject arg0, CommandSource arg1)
execute(FunctionObject arg0, CommandSource arg1)
public void
a(xg arg0)
method_14491(class_3300 arg0)
apply(ResourceManager arg0)
onResourceManagerReload(ResourceManager arg0)
func_195410_a(IResourceManager arg0)
onResourceManagerReload(IResourceManager arg0)
private CommandFunction
a(ca arg0, Throwable arg1, qt arg2)
method_12903(class_2158 arg0, Throwable arg1, class_2960 arg2)
load(CommandFunction arg0, Throwable arg1, Identifier arg2)
loadFunction(CommandFunction function, Throwable t, Identifier location)
func_212250_a(FunctionObject arg0, Throwable arg1, ResourceLocation arg2)
load(FunctionObject function, Throwable error, ResourceLocation id)
private static List<String>
a(xg arg0, qt arg1)
method_12906(class_3300 arg0, class_2960 arg1)
readLines(ResourceManager arg0, Identifier arg1)
loadResource(ResourceManager resourceManager, Identifier location)
func_195449_a(IResourceManager arg0, ResourceLocation arg1)
readLines(IResourceManager arg0, ResourceLocation arg1)
public ServerCommandSource
f()
method_12899()
getFunctionCommandSource()
getCommandHandler()
func_195448_f()
getCommandSource()
public ServerCommandSource
g()
method_20796()
method_20796()
m_90242354()
func_223402_g()
func_223402_g()
public TagContainer<CommandFunction>
h()
method_12901()
getTags()
getFunctionTags()
func_200000_g()
getTagCollection()