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 managers, LayeredRegistryAccess<RegistryLayer> registries, DataPackReloadCookie cookie) voidWorldOpenFlows.createLevelFromExistingSettings(LevelStorageSource.LevelStorageAccess levelSourceAccess, ReloadableServerResources serverResources, LayeredRegistryAccess<RegistryLayer> registryAccess, LevelDataAndDimensions.WorldDataAndGenSettings worldDataAndGenSettings, Optional<GameRules> gameRules) Constructors in net.minecraft.client.gui.screens.worldselection with parameters of type ReloadableServerResourcesModifierConstructorDescriptionWorldCreationContext(WorldGenSettings worldGenSettings, LayeredRegistryAccess<RegistryLayer> loadedRegistries, ReloadableServerResources dataPackResources, WorldDataConfiguration dataConfiguration) 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 worldOptions, WorldDimensions worldDimensions, LayeredRegistryAccess<RegistryLayer> loadedRegistries, ReloadableServerResources dataPackResources, WorldDataConfiguration dataConfiguration, InitialWorldCreationOptions initialWorldCreationOptions) -
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 resourceManager, LayeredRegistryAccess<RegistryLayer> contextLayers, List<Registry.PendingTags<?>> updatedContextTags, FeatureFlagSet enabledFeatures, Commands.CommandSelection commandSelection, PermissionSet functionCompilationPermissions, Executor backgroundExecutor, Executor mainThreadExecutor) Methods in net.minecraft.server with parameters of type ReloadableServerResourcesModifier and TypeMethodDescriptionWorldLoader.ResultFactory.create(CloseableResourceManager resources, ReloadableServerResources managers, LayeredRegistryAccess<RegistryLayer> registries, D cookie) 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, LevelDataAndDimensions.WorldDataAndGenSettings worldDataAndGenSettings) 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)