net.minecraft.server

public class ServerFunctionLibrary

implements PreparableReloadListener

abn
net.minecraft.server.ServerFunctionLibrary
net.minecraft.class_5349
net.minecraft.server.function.FunctionLoader
net.minecraft.src.C_5280_
net.minecraft.server.CustomFunctionManager

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_25326
LOGGER
f_136043_
private static final String
b
FILE_EXTENSION
field_33385
EXTENSION
f_179927_
private static final int
c
PATH_PREFIX_LENGTH
field_25327
PATH_PREFIX_LENGTH
f_136044_
private static final int
d
PATH_SUFFIX_LENGTH
field_25328
EXTENSION_LENGTH
f_136045_
private volatile Map<ResourceLocation, CommandFunction>
e
functions
field_25329
functions
f_136046_
private final TagLoader<CommandFunction>
f
tagsLoader
field_25330
tagLoader
f_136047_
private volatile Map<ResourceLocation, Collection<CommandFunction>>
g
tags
field_25801
tags
f_136048_
private final int
h
functionCompilationLevel
field_25331
level
f_136049_
private final com.mojang.brigadier.CommandDispatcher<CommandSourceStack>
i
dispatcher
field_25332
commandDispatcher
f_136050_

Constructor summary

ModifierConstructor
public (int level, com.mojang.brigadier.CommandDispatcher<CommandSourceStack> commandDispatcher)

Method summary

Modifier and TypeMethod
public Optional<CommandFunction>
a(abb arg0)
getFunction(ResourceLocation arg0)
method_29456(class_2960 arg0)
get(Identifier id)
m_136089_(C_5265_ arg0)
public Map<ResourceLocation, CommandFunction>
a()
getFunctions()
method_29447()
getFunctions()
m_136055_()
public Collection<CommandFunction>
b(abb arg0)
getTag(ResourceLocation arg0)
method_29459(class_2960 arg0)
getTagOrEmpty(Identifier id)
m_214327_(C_5265_ arg0)
public Iterable<ResourceLocation>
b()
getAvailableTags()
method_29458()
getTags()
m_206891_()
public CompletableFuture<Void>
a(aig$a arg0, aim arg1, awz arg2, awz arg3, Executor arg4, Executor arg5)
reload(PreparableReloadListener$PreparationBarrier arg0, ResourceManager arg1, ProfilerFiller arg2, ProfilerFiller arg3, Executor arg4, Executor arg5)
method_25931(class_3302$class_4045 arg0, class_3300 arg1, class_3695 arg2, class_3695 arg3, Executor arg4, Executor arg5)
reload(ResourceReloader$Synchronizer arg0, ResourceManager arg1, Profiler arg2, Profiler arg3, Executor arg4, Executor arg5)
m_5540_(C_70_ p_136058_, C_77_ p_136059_, C_442_ p_136060_, C_442_ p_136061_, Executor p_136062_, Executor arg5)
private static List<String>
a(aik arg0)
readLines(Resource arg0)
method_29450(class_3298 arg0)
readLines(Resource arg0)
m_214316_(C_76_ p_214317_)