net.minecraft.server

public class ServerFunctionLibrary

implements PreparableReloadListener

xh
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.apache.logging.log4j.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 TagCollection<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(ww 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 TagCollection<CommandFunction>
b()
getTags()
method_29458()
getTags()
m_136096_()
public Tag<CommandFunction>
b(ww arg0)
getTag(ResourceLocation arg0)
method_29459(class_2960 arg0)
getTagOrEmpty(Identifier id)
m_136097_(C_5265_ arg0)
public CompletableFuture<Void>
a(ado$a arg0, adt arg1, apv arg2, apv 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_69_$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(adt arg0, ww arg1)
readLines(ResourceManager arg0, ResourceLocation arg1)
method_29450(class_3300 arg0, class_2960 arg1)
readLines(ResourceManager resourceManager, Identifier id)
m_136069_(C_77_ p_136070_, C_5265_ p_136071_)