Package net.minecraft.server
Class ReloadableServerResources
java.lang.Object
net.minecraft.server.ReloadableServerResources
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final ServerAdvancementManagerprivate final CommandBuildContext.Configurableprivate final Commandsprivate final ICondition.IContextprivate static final CompletableFuture<Unit>private final ServerFunctionLibraryprivate static final org.slf4j.Loggerprivate final LootDataManagerprivate final RecipeManagerprivate final TagManager
- 
Constructor SummaryConstructorsConstructorDescriptionReloadableServerResources(RegistryAccess.Frozen p_206857_, FeatureFlagSet p_250695_, Commands.CommandSelection p_206858_, int p_206859_) 
- 
Method SummaryModifier and TypeMethodDescriptionExposes the current condition context for usage in other reload listeners.
 This is not useful outside the reloading stage.loadResources(ResourceManager p_248588_, RegistryAccess.Frozen p_251163_, FeatureFlagSet p_250212_, Commands.CommandSelection p_249301_, int p_251126_, Executor p_249136_, Executor p_249601_) voidupdateRegistryTags(RegistryAccess p_206869_) private static <T> voidupdateRegistryTags(RegistryAccess p_206871_, TagManager.LoadResult<T> p_206872_) 
- 
Field Details- 
LOGGERprivate static final org.slf4j.Logger LOGGER
- 
DATA_RELOAD_INITIAL_TASK
- 
commandBuildContext
- 
commands
- 
recipes
- 
tagManager
- 
lootData
- 
advancements
- 
functionLibrary
- 
context
 
- 
- 
Constructor Details- 
ReloadableServerResourcespublic ReloadableServerResources(RegistryAccess.Frozen p_206857_, FeatureFlagSet p_250695_, Commands.CommandSelection p_206858_, int p_206859_) 
 
- 
- 
Method Details- 
getFunctionLibrary
- 
getLootData
- 
getRecipeManager
- 
getCommands
- 
getAdvancements
- 
listeners
- 
loadResourcespublic static CompletableFuture<ReloadableServerResources> loadResources(ResourceManager p_248588_, RegistryAccess.Frozen p_251163_, FeatureFlagSet p_250212_, Commands.CommandSelection p_249301_, int p_251126_, Executor p_249136_, Executor p_249601_) 
- 
updateRegistryTags
- 
updateRegistryTagsprivate static <T> void updateRegistryTags(RegistryAccess p_206871_, TagManager.LoadResult<T> p_206872_) 
- 
getConditionContextExposes the current condition context for usage in other reload listeners.
 This is not useful outside the reloading stage.- Returns:
- The condition context for the currently active reload.
 
 
-