net.minecraft.server

public class ServerFunctionManager

implements ResourceManagerReloadListener

sy
net.minecraft.server.ServerFunctionManager
net.minecraft.class_2991
net.minecraft.server.function.CommandFunctionManager
net.minecraft.advancements.FunctionManager
net.minecraft.server.v1_15_R1.CustomFunctionData

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
c
LOGGER
field_13421
LOGGER
field_193067_a
private static final ResourceLocation
d
TICK_FUNCTION_TAG
field_13417
TICK_FUNCTION
field_200001_d
private static final ResourceLocation
e
LOAD_FUNCTION_TAG
field_13412
LOAD_FUNCTION
field_200222_e
public static final int
a
PATH_PREFIX_LENGTH
field_13415
PATH_PREFIX_LENGTH
field_195454_a
public static final int
b
PATH_SUFFIX_LENGTH
field_13414
EXTENSION_LENGTH
field_195455_b
private final MinecraftServer
f
server
field_13419
server
field_193069_c
server
private final Map<ResourceLocation, CommandFunction>
g
functions
field_13420
idMap
field_193070_d
private boolean
h
isInFunction
field_13411
executing
field_194021_h
private final ArrayDeque<ServerFunctionManager$QueuedCommand>
i
commandQueue
field_13413
chain
field_194020_g
private final List<ServerFunctionManager$QueuedCommand>
j
nestedCalls
field_19332
pending
field_222855_j
private final TagCollection<CommandFunction>
k
tags
field_13416
tags
field_200002_i
private final List<CommandFunction>
l
ticking
field_13418
tickFunctions
field_200003_j
private boolean
m
postReload
field_13422
needToRunLoadFunctions
field_200223_l

Constructor summary

ModifierConstructor
public (MinecraftServer server)

Method summary

Modifier and TypeMethod
public Optional<CommandFunction>
a(sm arg0)
get(ResourceLocation arg0)
method_12905(class_2960 arg0)
getFunction(Identifier id)
func_215361_a(ResourceLocation arg0)
public MinecraftServer
a()
getServer()
method_12907()
getServer()
func_195450_a()
getServer()
public int
b()
getCommandLimit()
method_12902()
getMaxCommandChainLength()
func_193065_c()
public Map<ResourceLocation, CommandFunction>
c()
getFunctions()
method_12912()
getFunctions()
func_193066_d()
public com.mojang.brigadier.CommandDispatcher<CommandSourceStack>
d()
getDispatcher()
method_12900()
getDispatcher()
func_195446_d()
public void
e()
tick()
method_18699()
tick()
func_73660_a()
tick()
public int
a(cn arg0, cq arg1)
execute(CommandFunction arg0, CommandSourceStack arg1)
method_12904(class_2158 arg0, class_2168 arg1)
execute(CommandFunction function, ServerCommandSource source)
func_195447_a(FunctionObject arg0, CommandSource arg1)
public void
a(zb arg0)
onResourceManagerReload(ResourceManager arg0)
method_14491(class_3300 arg0)
apply(ResourceManager arg0)
func_195410_a(IResourceManager arg0)
private CommandFunction
a(cn arg0, Throwable arg1, sm arg2)
addFunction(CommandFunction arg0, Throwable arg1, ResourceLocation arg2)
method_12903(class_2158 arg0, Throwable arg1, class_2960 arg2)
load(CommandFunction function, Throwable exception, Identifier id)
func_212250_a(FunctionObject arg0, Throwable arg1, ResourceLocation arg2)
private static List<String>
a(zb arg0, sm arg1)
readLinesAsync(ResourceManager arg0, ResourceLocation arg1)
method_12906(class_3300 arg0, class_2960 arg1)
readLines(ResourceManager resourceManager, Identifier id)
func_195449_a(IResourceManager arg0, ResourceLocation arg1)
public CommandSourceStack
f()
getGameLoopSender()
method_12899()
getTaggedFunctionSource()
func_195448_f()
public CommandSourceStack
g()
getCompilationContext()
method_20796()
getCommandFunctionSource()
func_223402_g()
public TagCollection<CommandFunction>
h()
getTags()
method_12901()
getTags()
func_200000_g()