Package net.minecraft.server
Class ServerFunctionLibrary
java.lang.Object
net.minecraft.server.ServerFunctionLibrary
- All Implemented Interfaces:
- PreparableReloadListener
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListenerPreparableReloadListener.PreparationBarrier
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final com.mojang.brigadier.CommandDispatcher<CommandSourceStack>private final intprivate Map<ResourceLocation,CommandFunction> private static final FileToIdConverterprivate static final org.slf4j.Loggerprivate Map<ResourceLocation,Collection<CommandFunction>> private final TagLoader<CommandFunction>
- 
Constructor SummaryConstructorsConstructorDescriptionServerFunctionLibrary(int p_136053_, com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_136054_) 
- 
Method SummaryModifier and TypeMethodDescriptiongetFunction(ResourceLocation p_136090_) getTag(ResourceLocation p_214328_) reload(PreparableReloadListener.PreparationBarrier p_136057_, ResourceManager p_136058_, ProfilerFiller p_136059_, ProfilerFiller p_136060_, Executor p_136061_, Executor p_136062_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.server.packs.resources.PreparableReloadListenergetName
- 
Field Details- 
LOGGERprivate static final org.slf4j.Logger LOGGER
- 
LISTER
- 
functions
- 
tagsLoader
- 
tags
- 
functionCompilationLevelprivate final int functionCompilationLevel
- 
dispatcher
 
- 
- 
Constructor Details- 
ServerFunctionLibrarypublic ServerFunctionLibrary(int p_136053_, com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_136054_) 
 
- 
- 
Method Details- 
getFunction
- 
getFunctions
- 
getTag
- 
getAvailableTags
- 
reloadpublic CompletableFuture<Void> reload(PreparableReloadListener.PreparationBarrier p_136057_, ResourceManager p_136058_, ProfilerFiller p_136059_, ProfilerFiller p_136060_, Executor p_136061_, Executor p_136062_) - Specified by:
- reloadin interface- PreparableReloadListener
 
- 
readLines
 
-