Uses of Class
net.minecraft.core.LayeredRegistryAccess
Packages that use LayeredRegistryAccess
Package
Description
-
Uses of LayeredRegistryAccess in net.minecraft.client.gui.screens.worldselection
Fields in net.minecraft.client.gui.screens.worldselection declared as LayeredRegistryAccessModifier and TypeFieldDescriptionprivate final LayeredRegistryAccess<RegistryLayer> WorldCreationContext.worldgenRegistriesThe field for theworldgenRegistriesrecord component.Methods in net.minecraft.client.gui.screens.worldselection that return LayeredRegistryAccessModifier and TypeMethodDescriptionWorldCreationContext.worldgenRegistries()Returns the value of theworldgenRegistriesrecord component.Methods in net.minecraft.client.gui.screens.worldselection with parameters of type LayeredRegistryAccessModifier and TypeMethodDescriptionWorldCreationContextMapper.apply(ReloadableServerResources managers, LayeredRegistryAccess<RegistryLayer> registries, DataPackReloadCookie cookie) booleanCreateWorldCallback.create(CreateWorldScreen createWorldScreen, LayeredRegistryAccess<RegistryLayer> finalLayers, LevelDataAndDimensions.WorldDataAndGenSettings worldDataAndGenSettings, Optional<GameRules> gameRules, @Nullable Path tempDataPackDir) voidWorldOpenFlows.createLevelFromExistingSettings(LevelStorageSource.LevelStorageAccess levelSourceAccess, ReloadableServerResources serverResources, LayeredRegistryAccess<RegistryLayer> registryAccess, LevelDataAndDimensions.WorldDataAndGenSettings worldDataAndGenSettings, Optional<GameRules> gameRules) private booleanCreateWorldScreen.createNewWorld(LayeredRegistryAccess<RegistryLayer> finalLayers, LevelDataAndDimensions.WorldDataAndGenSettings worldDataAndGenSettings, Optional<GameRules> gameRules) private voidCreateWorldScreen.createWorldAndCleanup(LayeredRegistryAccess<RegistryLayer> finalLayers, LevelDataAndDimensions.WorldDataAndGenSettings worldDataAndGenSettings, Optional<GameRules> gameRules) Constructors in net.minecraft.client.gui.screens.worldselection with parameters of type LayeredRegistryAccessModifierConstructorDescriptionWorldCreationContext(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 LayeredRegistryAccess in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer that return LayeredRegistryAccess -
Uses of LayeredRegistryAccess in net.minecraft.client.server
Constructors in net.minecraft.client.server with parameters of type LayeredRegistryAccessModifierConstructorDescriptionIntegratedPlayerList(IntegratedServer server, LayeredRegistryAccess<RegistryLayer> registryHolder, PlayerDataStorage playerDataStorage) -
Uses of LayeredRegistryAccess in net.minecraft.core
Methods in net.minecraft.core that return LayeredRegistryAccessModifier and TypeMethodDescriptionLayeredRegistryAccess.replaceFrom(T fromLayer, List<RegistryAccess.Frozen> layers) LayeredRegistryAccess.replaceFrom(T fromLayer, RegistryAccess.Frozen... layers) Methods in net.minecraft.core with parameters of type LayeredRegistryAccessModifier and TypeMethodDescriptionstatic Stream<RegistryAccess.RegistryEntry<?>> RegistrySynchronization.networkedRegistries(LayeredRegistryAccess<RegistryLayer> registries) static Stream<RegistryAccess.RegistryEntry<?>> RegistrySynchronization.networkSafeRegistries(LayeredRegistryAccess<RegistryLayer> registries) -
Uses of LayeredRegistryAccess in net.minecraft.server
Fields in net.minecraft.server declared as LayeredRegistryAccessModifier and TypeFieldDescriptionprivate final LayeredRegistryAccess<RegistryLayer> ReloadableServerRegistries.LoadResult.layersThe field for thelayersrecord component.private final LayeredRegistryAccess<RegistryLayer> MinecraftServer.registriesprivate final LayeredRegistryAccess<RegistryLayer> WorldStem.registriesThe field for theregistriesrecord component.Methods in net.minecraft.server that return LayeredRegistryAccessModifier and TypeMethodDescriptionstatic LayeredRegistryAccess<RegistryLayer> RegistryLayer.createRegistryAccess()private static LayeredRegistryAccess<RegistryLayer> ReloadableServerRegistries.createUpdatedRegistries(LayeredRegistryAccess<RegistryLayer> context, List<WritableRegistry<?>> registries) ReloadableServerRegistries.LoadResult.layers()Returns the value of thelayersrecord component.MinecraftServer.registries()WorldStem.registries()Returns the value of theregistriesrecord component.Methods in net.minecraft.server with parameters of type LayeredRegistryAccessModifier and TypeMethodDescriptionWorldLoader.ResultFactory.create(CloseableResourceManager resources, ReloadableServerResources managers, LayeredRegistryAccess<RegistryLayer> registries, D cookie) private static ReloadableServerRegistries.LoadResultReloadableServerRegistries.createAndValidateFullContext(LayeredRegistryAccess<RegistryLayer> contextLayers, HolderLookup.Provider contextLookupWithUpdatedTags, List<WritableRegistry<?>> newRegistries) private static LayeredRegistryAccess<RegistryLayer> ReloadableServerRegistries.createUpdatedRegistries(LayeredRegistryAccess<RegistryLayer> context, List<WritableRegistry<?>> registries) ReloadableServerResources.loadResources(ResourceManager resourceManager, LayeredRegistryAccess<RegistryLayer> contextLayers, List<Registry.PendingTags<?>> updatedContextTags, FeatureFlagSet enabledFeatures, Commands.CommandSelection commandSelection, PermissionSet functionCompilationPermissions, Executor backgroundExecutor, Executor mainThreadExecutor) ReloadableServerRegistries.reload(LayeredRegistryAccess<RegistryLayer> context, List<Registry.PendingTags<?>> updatedContextTags, ResourceManager manager, Executor executor) Constructors in net.minecraft.server with parameters of type LayeredRegistryAccessModifierConstructorDescriptionLoadResult(LayeredRegistryAccess<RegistryLayer> layers, HolderLookup.Provider lookupWithUpdatedTags) Creates an instance of aLoadResultrecord class.privateReloadableServerResources(LayeredRegistryAccess<RegistryLayer> fullLayers, HolderLookup.Provider loadingContext, FeatureFlagSet enabledFeatures, Commands.CommandSelection commandSelection, List<Registry.PendingTags<?>> postponedTags, PermissionSet functionCompilationPermissions, List<DataComponentInitializers.PendingComponents<?>> newComponents) WorldStem(CloseableResourceManager resourceManager, ReloadableServerResources dataPackResources, LayeredRegistryAccess<RegistryLayer> registries, LevelDataAndDimensions.WorldDataAndGenSettings worldDataAndGenSettings) Creates an instance of aWorldStemrecord class. -
Uses of LayeredRegistryAccess in net.minecraft.server.dedicated
Constructors in net.minecraft.server.dedicated with parameters of type LayeredRegistryAccessModifierConstructorDescriptionDedicatedPlayerList(DedicatedServer server, LayeredRegistryAccess<RegistryLayer> registries, PlayerDataStorage playerDataStorage) -
Uses of LayeredRegistryAccess in net.minecraft.server.network.config
Fields in net.minecraft.server.network.config declared as LayeredRegistryAccessModifier and TypeFieldDescriptionprivate final LayeredRegistryAccess<RegistryLayer> SynchronizeRegistriesTask.registriesConstructors in net.minecraft.server.network.config with parameters of type LayeredRegistryAccessModifierConstructorDescriptionSynchronizeRegistriesTask(List<KnownPack> knownPacks, LayeredRegistryAccess<RegistryLayer> registries) -
Uses of LayeredRegistryAccess in net.minecraft.server.players
Fields in net.minecraft.server.players declared as LayeredRegistryAccessModifier and TypeFieldDescriptionprivate final LayeredRegistryAccess<RegistryLayer> PlayerList.registriesConstructors in net.minecraft.server.players with parameters of type LayeredRegistryAccessModifierConstructorDescriptionPlayerList(MinecraftServer server, LayeredRegistryAccess<RegistryLayer> registries, PlayerDataStorage playerIo, NotificationService notificationService) -
Uses of LayeredRegistryAccess in net.minecraft.tags
Methods in net.minecraft.tags with parameters of type LayeredRegistryAccessModifier and TypeMethodDescriptionstatic Map<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> TagNetworkSerialization.serializeTagsToNetwork(LayeredRegistryAccess<RegistryLayer> registries)