类 ServerFunctionLibrary
java.lang.Object
net.minecraft.server.ServerFunctionLibrary
- 所有已实现的接口:
PreparableReloadListener
-
嵌套类概要
从接口继承的嵌套类/接口 net.minecraft.server.packs.resources.PreparableReloadListener
PreparableReloadListener.PreparationBarrier
-
字段概要
字段修饰符和类型字段说明private final com.mojang.brigadier.CommandDispatcher<CommandSourceStack>
private final int
private Map<ResourceLocation,
CommandFunction> private static final FileToIdConverter
private static final org.slf4j.Logger
private Map<ResourceLocation,
Collection<CommandFunction>> private final TagLoader<CommandFunction>
-
构造器概要
构造器构造器说明ServerFunctionLibrary
(int p_136053_, com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_136054_) -
方法概要
修饰符和类型方法说明getFunction
(ResourceLocation p_136090_) getTag
(ResourceLocation p_214328_) reload
(PreparableReloadListener.PreparationBarrier pStage, ResourceManager pResourceManager, ProfilerFiller pPreparationsProfiler, ProfilerFiller pReloadProfiler, Executor pBackgroundExecutor, Executor pGameExecutor) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.server.packs.resources.PreparableReloadListener
getName
-
字段详细资料
-
LOGGER
private static final org.slf4j.Logger LOGGER -
LISTER
-
functions
-
tagsLoader
-
tags
-
functionCompilationLevel
private final int functionCompilationLevel -
dispatcher
-
-
构造器详细资料
-
ServerFunctionLibrary
public ServerFunctionLibrary(int p_136053_, com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_136054_)
-
-
方法详细资料
-
getFunction
-
getFunctions
-
getTag
-
getAvailableTags
-
reload
public CompletableFuture<Void> reload(PreparableReloadListener.PreparationBarrier pStage, ResourceManager pResourceManager, ProfilerFiller pPreparationsProfiler, ProfilerFiller pReloadProfiler, Executor pBackgroundExecutor, Executor pGameExecutor) - 指定者:
reload
在接口中PreparableReloadListener
-
readLines
-