net.minecraft.server

public class ServerFunctionLibrary

implements PreparableReloadListener

amn
net.minecraft.server.ServerFunctionLibrary
net.minecraft.class_5349
net.minecraft.server.function.FunctionLoader
net.minecraft.server.CustomFunctionManager

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
b
LOGGER
field_25326
LOGGER
public static final ResourceKey<Registry<CommandFunction<CommandSourceStack>>>
a
TYPE_KEY
field_51976
FUNCTION_REGISTRY_KEY
private static final FileToIdConverter
c
LISTER
field_39978
FINDER
private volatile Map<ResourceLocation, CommandFunction<CommandSourceStack>>
d
functions
field_25329
functions
private final TagLoader<CommandFunction<CommandSourceStack>>
e
tagsLoader
field_25330
tagLoader
private volatile Map<ResourceLocation, List<CommandFunction<CommandSourceStack>>>
f
tags
field_25801
tags
private final int
g
functionCompilationLevel
field_25331
level
private final com.mojang.brigadier.CommandDispatcher<CommandSourceStack>
h
dispatcher
field_25332
commandDispatcher

Constructor summary

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

Method summary

Modifier and TypeMethod
public Optional<CommandFunction<CommandSourceStack>>
a(alz arg0)
getFunction(ResourceLocation arg0)
method_29456(class_2960 arg0)
get(Identifier id)
public Map<ResourceLocation, CommandFunction<CommandSourceStack>>
a()
getFunctions()
method_29447()
getFunctions()
public List<CommandFunction<CommandSourceStack>>
b(alz arg0)
getTag(ResourceLocation arg0)
method_29459(class_2960 arg0)
getTagOrEmpty(Identifier id)
public Iterable<ResourceLocation>
b()
getAvailableTags()
method_29458()
getTags()
public CompletableFuture<Void>
a(avp$a arg0, avv arg1, Executor arg2, Executor arg3)
reload(PreparableReloadListener$PreparationBarrier arg0, ResourceManager arg1, Executor arg2, Executor arg3)
method_25931(class_3302$class_4045 arg0, class_3300 arg1, Executor arg2, Executor arg3)
reload(ResourceReloader$Synchronizer arg0, ResourceManager arg1, Executor arg2, Executor arg3)
private static List<String>
a(avt arg0)
readLines(Resource arg0)
method_29450(class_3298 arg0)
readLines(Resource resource)