net.minecraft.server

public class ServerFunctionLibrary

implements PreparableReloadListener

alt
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 FileToIdConverter
b
LISTER
field_39978
FINDER
f_244053_
private volatile Map<ResourceLocation, CommandFunction<CommandSourceStack>>
c
functions
field_25329
functions
f_136046_
private final TagLoader<CommandFunction<CommandSourceStack>>
d
tagsLoader
field_25330
tagLoader
f_136047_
private volatile Map<ResourceLocation, Collection<CommandFunction<CommandSourceStack>>>
e
tags
field_25801
tags
f_136048_
private final int
f
functionCompilationLevel
field_25331
level
f_136049_
private final com.mojang.brigadier.CommandDispatcher<CommandSourceStack>
g
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<CommandSourceStack>>
a(alf arg0)
getFunction(ResourceLocation arg0)
method_29456(class_2960 arg0)
get(Identifier id)
m_136089_(C_5265_ arg0)
public Map<ResourceLocation, CommandFunction<CommandSourceStack>>
a()
getFunctions()
method_29447()
getFunctions()
m_136055_()
public Collection<CommandFunction<CommandSourceStack>>
b(alf 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(auj$a arg0, aup arg1, bnk arg2, bnk 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(aun arg0)
readLines(Resource arg0)
method_29450(class_3298 arg0)
readLines(Resource resource)
m_214316_(C_76_ p_214317_)