Uses of Class
net.minecraft.server.ReloadableServerResources
Packages that use ReloadableServerResources
Package
Description
-
Uses of ReloadableServerResources in net.minecraft.client.gui.screens.worldselection
Fields in net.minecraft.client.gui.screens.worldselection declared as ReloadableServerResourcesModifier and TypeFieldDescriptionprivate final ReloadableServerResourcesWorldCreationContext.dataPackResourcesThe field for thedataPackResourcesrecord component.Methods in net.minecraft.client.gui.screens.worldselection that return ReloadableServerResourcesModifier and TypeMethodDescriptionWorldCreationContext.dataPackResources()Returns the value of thedataPackResourcesrecord component.Methods in net.minecraft.client.gui.screens.worldselection with parameters of type ReloadableServerResourcesModifier and TypeMethodDescriptionWorldCreationContextMapper.apply(ReloadableServerResources pDataPackResources, LayeredRegistryAccess<RegistryLayer> pWorldGenRegistries, DataPackReloadCookie pDataPackReloadCookie) voidWorldOpenFlows.createLevelFromExistingSettings(LevelStorageSource.LevelStorageAccess pLevelStorage, ReloadableServerResources pResources, LayeredRegistryAccess<RegistryLayer> pRegistries, WorldData pWorldData) Constructors in net.minecraft.client.gui.screens.worldselection with parameters of type ReloadableServerResourcesModifierConstructorDescriptionWorldCreationContext(WorldGenSettings p_249130_, LayeredRegistryAccess<RegistryLayer> p_248513_, ReloadableServerResources p_251786_, WorldDataConfiguration p_248593_) WorldCreationContext(WorldOptions options, Registry<LevelStem> datapackDimensions, WorldDimensions selectedDimensions, LayeredRegistryAccess<RegistryLayer> worldgenRegistries, ReloadableServerResources dataPackResources, WorldDataConfiguration dataConfiguration, InitialWorldCreationOptions initialWorldCreationOptions) Creates an instance of aWorldCreationContextrecord class.WorldCreationContext(WorldOptions p_251299_, WorldDimensions p_251746_, LayeredRegistryAccess<RegistryLayer> p_252129_, ReloadableServerResources p_250137_, WorldDataConfiguration p_249510_, InitialWorldCreationOptions p_372904_) -
Uses of ReloadableServerResources in net.minecraft.server
Fields in net.minecraft.server declared as ReloadableServerResourcesModifier and TypeFieldDescriptionprivate final ReloadableServerResourcesWorldStem.dataPackResourcesThe field for thedataPackResourcesrecord component.private final ReloadableServerResourcesMinecraftServer.ReloadableResources.managersThe field for themanagersrecord component.Methods in net.minecraft.server that return ReloadableServerResourcesModifier and TypeMethodDescriptionWorldStem.dataPackResources()Returns the value of thedataPackResourcesrecord component.MinecraftServer.ReloadableResources.managers()Returns the value of themanagersrecord component.Methods in net.minecraft.server that return types with arguments of type ReloadableServerResourcesModifier and TypeMethodDescriptionReloadableServerResources.loadResources(ResourceManager pResourceManager, LayeredRegistryAccess<RegistryLayer> pRegistryAccess, List<Registry.PendingTags<?>> pPostponedTags, FeatureFlagSet pEnabledFeatures, Commands.CommandSelection pCommandSelection, int pFunctionCompilationLevel, Executor pBackgroundExecutor, Executor pGameExecutor) Methods in net.minecraft.server with parameters of type ReloadableServerResourcesModifier and TypeMethodDescriptionWorldLoader.ResultFactory.create(CloseableResourceManager pManager, ReloadableServerResources pResources, LayeredRegistryAccess<RegistryLayer> pRegistryAccess, D pCookie) Constructors in net.minecraft.server with parameters of type ReloadableServerResourcesModifierConstructorDescriptionReloadableResources(CloseableResourceManager resourceManager, ReloadableServerResources managers) Creates an instance of aReloadableResourcesrecord class.WorldStem(CloseableResourceManager resourceManager, ReloadableServerResources dataPackResources, LayeredRegistryAccess<RegistryLayer> registries, WorldData worldData) Creates an instance of aWorldStemrecord class. -
Uses of ReloadableServerResources in net.neoforged.neoforge.event
Fields in net.neoforged.neoforge.event declared as ReloadableServerResourcesModifier and TypeFieldDescriptionprivate final ReloadableServerResourcesAddServerReloadListenersEvent.serverResourcesMethods in net.neoforged.neoforge.event that return ReloadableServerResourcesMethods in net.neoforged.neoforge.event with parameters of type ReloadableServerResourcesModifier and TypeMethodDescriptionstatic List<PreparableReloadListener> EventHooks.onResourceReload(ReloadableServerResources serverResources, RegistryAccess registryAccess) Fires theAddServerReloadListenersEventand returns the sorted list of reload listeners.Constructors in net.neoforged.neoforge.event with parameters of type ReloadableServerResourcesModifierConstructorDescriptionAddServerReloadListenersEvent(ReloadableServerResources serverResources, RegistryAccess registryAccess)