类 ReloadableServerResources
java.lang.Object
net.minecraft.server.ReloadableServerResources
-
字段概要
字段修饰符和类型字段说明private final ServerAdvancementManager
private final Commands
private final ICondition.IContext
private static final CompletableFuture
<Unit> private final ReloadableServerRegistries.Holder
private final ServerFunctionLibrary
private static final org.slf4j.Logger
private final List
<Registry.PendingTags<?>> private final RecipeManager
-
构造器概要
构造器限定符构造器说明private
ReloadableServerResources
(LayeredRegistryAccess<RegistryLayer> p_368059_, HolderLookup.Provider p_363207_, FeatureFlagSet p_250695_, Commands.CommandSelection p_206858_, List<Registry.PendingTags<?>> p_364269_, int p_206859_) -
方法概要
修饰符和类型方法说明Exposes the current condition context for usage in other reload listeners.
This is not useful outside the reloading stage.loadResources
(ResourceManager p_248588_, LayeredRegistryAccess<RegistryLayer> p_330376_, List<Registry.PendingTags<?>> p_366334_, FeatureFlagSet p_250212_, Commands.CommandSelection p_249301_, int p_251126_, Executor p_249136_, Executor p_249601_) void
-
字段详细资料
-
LOGGER
private static final org.slf4j.Logger LOGGER -
DATA_RELOAD_INITIAL_TASK
-
fullRegistryHolder
-
commands
-
recipes
-
advancements
-
functionLibrary
-
postponedTags
-
context
-
-
构造器详细资料
-
ReloadableServerResources
private ReloadableServerResources(LayeredRegistryAccess<RegistryLayer> p_368059_, HolderLookup.Provider p_363207_, FeatureFlagSet p_250695_, Commands.CommandSelection p_206858_, List<Registry.PendingTags<?>> p_364269_, int p_206859_)
-
-
方法详细资料
-
getFunctionLibrary
-
fullRegistries
-
getRecipeManager
-
getCommands
-
getAdvancements
-
listeners
-
loadResources
public static CompletableFuture<ReloadableServerResources> loadResources(ResourceManager p_248588_, LayeredRegistryAccess<RegistryLayer> p_330376_, List<Registry.PendingTags<?>> p_366334_, FeatureFlagSet p_250212_, Commands.CommandSelection p_249301_, int p_251126_, Executor p_249136_, Executor p_249601_) -
updateStaticRegistryTags
public void updateStaticRegistryTags() -
getConditionContext
Exposes the current condition context for usage in other reload listeners.
This is not useful outside the reloading stage.- 返回:
- The condition context for the currently active reload.
-