Uses of Enum Class
net.minecraft.server.RegistryLayer
Packages that use RegistryLayer
Package
Description
-
Uses of RegistryLayer in net.minecraft.client.gui.screens.worldselection
Fields in net.minecraft.client.gui.screens.worldselection with type parameters of type RegistryLayerModifier and TypeFieldDescriptionprivate final LayeredRegistryAccess
<RegistryLayer> WorldCreationContext.worldgenRegistries
The field for theworldgenRegistries
record component.Methods in net.minecraft.client.gui.screens.worldselection that return types with arguments of type RegistryLayerModifier and TypeMethodDescriptionWorldCreationContext.worldgenRegistries()
Returns the value of theworldgenRegistries
record component.Method parameters in net.minecraft.client.gui.screens.worldselection with type arguments of type RegistryLayerModifier and TypeMethodDescriptionvoid
WorldOpenFlows.createLevelFromExistingSettings
(LevelStorageSource.LevelStorageAccess pLevelStorage, ReloadableServerResources pResources, LayeredRegistryAccess<RegistryLayer> pRegistries, WorldData pWorldData) private void
CreateWorldScreen.createNewWorld
(PrimaryLevelData.SpecialWorldProperty p_250577_, LayeredRegistryAccess<RegistryLayer> p_249152_, com.mojang.serialization.Lifecycle p_249994_) Constructor parameters in net.minecraft.client.gui.screens.worldselection with type arguments of type RegistryLayerModifierConstructorDescriptionWorldCreationContext
(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) Creates an instance of aWorldCreationContext
record class.WorldCreationContext
(WorldOptions p_249836_, WorldDimensions p_250641_, LayeredRegistryAccess<RegistryLayer> p_251794_, ReloadableServerResources p_250560_, WorldDataConfiguration p_248539_) -
Uses of RegistryLayer in net.minecraft.client.server
Constructor parameters in net.minecraft.client.server with type arguments of type RegistryLayerModifierConstructorDescriptionIntegratedPlayerList
(IntegratedServer pServer, LayeredRegistryAccess<RegistryLayer> pRegistries, PlayerDataStorage pPlayerIo) -
Uses of RegistryLayer in net.minecraft.core
Method parameters in net.minecraft.core with type arguments of type RegistryLayerModifier and TypeMethodDescriptionstatic Stream
<RegistryAccess.RegistryEntry<?>> RegistrySynchronization.networkedRegistries
(LayeredRegistryAccess<RegistryLayer> pRegistryAccess) static Stream
<RegistryAccess.RegistryEntry<?>> RegistrySynchronization.networkSafeRegistries
(LayeredRegistryAccess<RegistryLayer> pRegistryAccess) -
Uses of RegistryLayer in net.minecraft.server
Fields in net.minecraft.server with type parameters of type RegistryLayerModifier and TypeFieldDescriptionprivate final LayeredRegistryAccess
<RegistryLayer> MinecraftServer.registries
private final LayeredRegistryAccess
<RegistryLayer> WorldStem.registries
The field for theregistries
record component.private static final List
<RegistryLayer> RegistryLayer.VALUES
Methods in net.minecraft.server that return RegistryLayerModifier and TypeMethodDescriptionstatic RegistryLayer
Returns the enum constant of this class with the specified name.static RegistryLayer[]
RegistryLayer.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.server that return types with arguments of type RegistryLayerModifier and TypeMethodDescriptionprivate static LayeredRegistryAccess
<RegistryLayer> ReloadableServerRegistries.apply
(LayeredRegistryAccess<RegistryLayer> pRegistryAccess, List<WritableRegistry<?>> pRegistries) static LayeredRegistryAccess
<RegistryLayer> RegistryLayer.createRegistryAccess()
private static LayeredRegistryAccess
<RegistryLayer> ReloadableServerRegistries.createUpdatedRegistries
(LayeredRegistryAccess<RegistryLayer> pRegistryAccess, List<WritableRegistry<?>> pRegistries) private static LayeredRegistryAccess
<RegistryLayer> WorldLoader.loadAndReplaceLayer
(ResourceManager pResourceManager, LayeredRegistryAccess<RegistryLayer> pRegistryAccess, RegistryLayer pRegistryLayer, List<RegistryDataLoader.RegistryData<?>> pRegistryData) MinecraftServer.registries()
WorldStem.registries()
Returns the value of theregistries
record component.ReloadableServerRegistries.reload
(LayeredRegistryAccess<RegistryLayer> pRegistries, ResourceManager pResourceManager, Executor pBackgroundExecutor) Methods in net.minecraft.server with parameters of type RegistryLayerModifier and TypeMethodDescriptionprivate static LayeredRegistryAccess
<RegistryLayer> WorldLoader.loadAndReplaceLayer
(ResourceManager pResourceManager, LayeredRegistryAccess<RegistryLayer> pRegistryAccess, RegistryLayer pRegistryLayer, List<RegistryDataLoader.RegistryData<?>> pRegistryData) private static RegistryAccess.Frozen
WorldLoader.loadLayer
(ResourceManager pResourceManager, LayeredRegistryAccess<RegistryLayer> pRegistryAccess, RegistryLayer pRegistryLayer, List<RegistryDataLoader.RegistryData<?>> pRegistryData) Method parameters in net.minecraft.server with type arguments of type RegistryLayerModifier and TypeMethodDescriptionprivate static LayeredRegistryAccess
<RegistryLayer> ReloadableServerRegistries.apply
(LayeredRegistryAccess<RegistryLayer> pRegistryAccess, List<WritableRegistry<?>> pRegistries) WorldLoader.ResultFactory.create
(CloseableResourceManager pManager, ReloadableServerResources pResources, LayeredRegistryAccess<RegistryLayer> pRegistryAccess, D pCookie) private static LayeredRegistryAccess
<RegistryLayer> ReloadableServerRegistries.createUpdatedRegistries
(LayeredRegistryAccess<RegistryLayer> pRegistryAccess, List<WritableRegistry<?>> pRegistries) private static LayeredRegistryAccess
<RegistryLayer> WorldLoader.loadAndReplaceLayer
(ResourceManager pResourceManager, LayeredRegistryAccess<RegistryLayer> pRegistryAccess, RegistryLayer pRegistryLayer, List<RegistryDataLoader.RegistryData<?>> pRegistryData) private static RegistryAccess.Frozen
WorldLoader.loadLayer
(ResourceManager pResourceManager, LayeredRegistryAccess<RegistryLayer> pRegistryAccess, RegistryLayer pRegistryLayer, List<RegistryDataLoader.RegistryData<?>> pRegistryData) ReloadableServerResources.loadResources
(ResourceManager pResourceManager, LayeredRegistryAccess<RegistryLayer> pRegistries, FeatureFlagSet pEnabledFeatures, Commands.CommandSelection pCommandSelection, int pFunctionCompilationLevel, Executor pBackgroundExecutor, Executor pGameExecutor) ReloadableServerRegistries.reload
(LayeredRegistryAccess<RegistryLayer> pRegistries, ResourceManager pResourceManager, Executor pBackgroundExecutor) Constructor parameters in net.minecraft.server with type arguments of type RegistryLayerModifierConstructorDescriptionWorldStem
(CloseableResourceManager resourceManager, ReloadableServerResources dataPackResources, LayeredRegistryAccess<RegistryLayer> registries, WorldData worldData) Creates an instance of aWorldStem
record class. -
Uses of RegistryLayer in net.minecraft.server.dedicated
Constructor parameters in net.minecraft.server.dedicated with type arguments of type RegistryLayerModifierConstructorDescriptionDedicatedPlayerList
(DedicatedServer pServer, LayeredRegistryAccess<RegistryLayer> pRegistries, PlayerDataStorage pPlayerIo) -
Uses of RegistryLayer in net.minecraft.server.network.config
Fields in net.minecraft.server.network.config with type parameters of type RegistryLayerModifier and TypeFieldDescriptionprivate final LayeredRegistryAccess
<RegistryLayer> SynchronizeRegistriesTask.registries
Constructor parameters in net.minecraft.server.network.config with type arguments of type RegistryLayerModifierConstructorDescriptionSynchronizeRegistriesTask
(List<KnownPack> pRequestedPacks, LayeredRegistryAccess<RegistryLayer> pRegistries) -
Uses of RegistryLayer in net.minecraft.server.players
Fields in net.minecraft.server.players with type parameters of type RegistryLayerModifier and TypeFieldDescriptionprivate final LayeredRegistryAccess
<RegistryLayer> PlayerList.registries
Constructor parameters in net.minecraft.server.players with type arguments of type RegistryLayerModifierConstructorDescriptionPlayerList
(MinecraftServer pServer, LayeredRegistryAccess<RegistryLayer> pRegistries, PlayerDataStorage pPlayerIo, int pMaxPlayers) -
Uses of RegistryLayer in net.minecraft.tags
Method parameters in net.minecraft.tags with type arguments of type RegistryLayerModifier and TypeMethodDescriptionstatic Map
<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> TagNetworkSerialization.serializeTagsToNetwork
(LayeredRegistryAccess<RegistryLayer> pRegistryAccess)