net.minecraft.server

public class ServerFunctionLibrary

implements PreparableReloadListener

vw
net.minecraft.server.ServerFunctionLibrary
net.minecraft.class_5349
net.minecraft.server.function.FunctionLoader
net.minecraft.resources.FunctionReloader
net.minecraft.server.v1_16_R3.CustomFunctionManager

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_25326
LOGGER
field_240924_a_
private static final int
b
PATH_PREFIX_LENGTH
field_25327
PATH_PREFIX_LENGTH
field_240925_b_
private static final int
c
PATH_SUFFIX_LENGTH
field_25328
PATH_SUFFIX_LENGTH
field_240926_c_
private volatile Map<ResourceLocation, CommandFunction>
d
functions
field_25329
functions
field_240927_d_
private final TagLoader<CommandFunction>
e
tagsLoader
field_25330
tagLoader
field_244357_e
private volatile TagCollection<CommandFunction>
f
tags
field_25801
tags
field_240928_e_
private final int
g
functionCompilationLevel
field_25331
level
field_240929_f_
private final com.mojang.brigadier.CommandDispatcher<CommandSourceStack>
h
dispatcher
field_25332
commandDispatcher
field_240930_g_

Constructor summary

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

Method summary

Modifier and TypeMethod
public Optional<CommandFunction>
a(vk arg0)
getFunction(ResourceLocation arg0)
method_29456(class_2960 arg0)
get(Identifier id)
func_240940_a_(ResourceLocation arg0)
public Map<ResourceLocation, CommandFunction>
a()
getFunctions()
method_29447()
getFunctions()
func_240931_a_()
public TagCollection<CommandFunction>
b()
getTags()
method_29458()
getTags()
func_240942_b_()
public Tag<CommandFunction>
b(vk arg0)
getTag(ResourceLocation arg0)
method_29459(class_2960 arg0)
getOrCreateTag(Identifier id)
func_240943_b_(ResourceLocation arg0)
public CompletableFuture<Void>
a(acc$a arg0, ach arg1, anw arg2, anw 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(ResourceReloadListener$Synchronizer arg0, ResourceManager arg1, Profiler arg2, Profiler arg3, Executor arg4, Executor arg5)
func_215226_a(IFutureReloadListener$IStage arg0, IResourceManager arg1, IProfiler arg2, IProfiler arg3, Executor arg4, Executor arg5)
private static List<String>
a(ach arg0, vk arg1)
readLines(ResourceManager arg0, ResourceLocation arg1)
method_29450(class_3300 arg0, class_2960 arg1)
readLines(ResourceManager resourceManager, Identifier id)
func_240934_a_(IResourceManager arg0, ResourceLocation arg1)