net.minecraft.server

public class ReloadableServerResources

alg
net.minecraft.server.ReloadableServerResources
net.minecraft.class_5350
net.minecraft.server.DataPackContents
net.minecraft.server.DataPackResources

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_36491
LOGGER
private static final CompletableFuture<Unit>
b
DATA_RELOAD_INITIAL_TASK
field_25334
COMPLETED_UNIT
private final ReloadableServerRegistries$Holder
c
fullRegistryHolder
field_49921
reloadableRegistries
private final Commands
d
commands
field_25336
commandManager
private final RecipeManager
e
recipes
field_25337
recipeManager
private final ServerAdvancementManager
f
advancements
field_25341
serverAdvancementLoader
private final ServerFunctionLibrary
g
functionLibrary
field_25342
functionLoader
private final List<Registry$PendingTags<?>>
h
postponedTags
field_52345
pendingTagLoads

Constructor summary

ModifierConstructor
private (LayeredRegistryAccess<RegistryLayer> dynamicRegistries, HolderLookup$Provider registries, FeatureFlagSet enabledFeatures, Commands$CommandSelection environment, List<Registry$PendingTags<?>> pendingTagLoads, int functionPermissionLevel)

Method summary

Modifier and TypeMethod
public ServerFunctionLibrary
a()
getFunctionLibrary()
method_29465()
getFunctionLoader()
public ReloadableServerRegistries$Holder
b()
fullRegistries()
method_58297()
getReloadableRegistries()
public RecipeManager
c()
getRecipeManager()
method_29471()
getRecipeManager()
public Commands
d()
getCommands()
method_29472()
getCommandManager()
public ServerAdvancementManager
e()
getAdvancements()
method_29473()
getServerAdvancementLoader()
public List<PreparableReloadListener>
f()
listeners()
method_40427()
getContents()
public static CompletableFuture<ReloadableServerResources>
a(aup arg0, jy<ale> arg1, List<ke$a<?>> arg2, cru arg3, ey$a arg4, int arg5, Executor arg6, Executor arg7)
loadResources(ResourceManager arg0, LayeredRegistryAccess<RegistryLayer> arg1, List<Registry$PendingTags<?>> arg2, FeatureFlagSet arg3, Commands$CommandSelection arg4, int arg5, Executor arg6, Executor arg7)
method_29466(class_3300 arg0, class_7780<class_7659> arg1, List<class_2378$class_10106<?>> arg2, class_7699 arg3, class_2170$class_5364 arg4, int arg5, Executor arg6, Executor arg7)
reload(ResourceManager resourceManager, CombinedDynamicRegistries<ServerDynamicRegistryType> dynamicRegistries, List<Registry$PendingTagLoad<?>> pendingTagLoads, FeatureSet enabledFeatures, CommandManager$RegistrationEnvironment environment, int functionPermissionLevel, Executor prepareExecutor, Executor applyExecutor)
public void
g()
updateStaticRegistryTags()
method_61248()
applyPendingTagLoads()