Uses of Record Class
net.minecraft.world.level.WorldDataConfiguration
Package
Description
-
Uses of WorldDataConfiguration in net.minecraft.client.gui.screens.worldselection
Modifier and TypeFieldDescriptionprivate final WorldDataConfiguration
CreateWorldScreen.DataPackReloadCookie.dataConfiguration
The field for thedataConfiguration
record component.private final WorldDataConfiguration
WorldCreationContext.dataConfiguration
The field for thedataConfiguration
record component.Modifier and TypeMethodDescriptionCreateWorldScreen.DataPackReloadCookie.dataConfiguration()
Returns the value of thedataConfiguration
record component.WorldCreationContext.dataConfiguration()
Returns the value of thedataConfiguration
record component.Modifier and TypeMethodDescriptionprivate void
CreateWorldScreen.applyNewPackConfig
(PackRepository p_270272_, WorldDataConfiguration p_270573_, Consumer<WorldDataConfiguration> p_270552_) private static WorldLoader.InitConfig
CreateWorldScreen.createDefaultLoadConfig
(PackRepository p_251829_, WorldDataConfiguration p_251555_) private com.mojang.datafixers.util.Pair<Path,
PackRepository> CreateWorldScreen.getDataPackSelectionSettings
(WorldDataConfiguration p_268328_) (package private) void
CreateWorldScreen.openDataPackSelectionScreen
(WorldDataConfiguration p_268186_) (package private) void
CreateWorldScreen.openExperimentsScreen
(WorldDataConfiguration p_270214_) protected boolean
WorldCreationUiState.tryUpdateDataConfiguration
(WorldDataConfiguration p_268016_) WorldCreationContext.withDataConfiguration
(WorldDataConfiguration dataConfiguration) Modifier and TypeMethodDescriptionprivate void
CreateWorldScreen.applyNewPackConfig
(PackRepository p_270272_, WorldDataConfiguration p_270573_, Consumer<WorldDataConfiguration> p_270552_) private void
CreateWorldScreen.tryApplyNewDataPacks
(PackRepository p_270299_, boolean p_270896_, Consumer<WorldDataConfiguration> p_270760_) ModifierConstructorDescription(package private)
DataPackReloadCookie
(WorldGenSettings worldGenSettings, WorldDataConfiguration dataConfiguration) Creates an instance of aDataPackReloadCookie
record class.WorldCreationContext
(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 WorldDataConfiguration in net.minecraft.server
Modifier and TypeFieldDescriptionprivate final WorldDataConfiguration
WorldLoader.DataLoadContext.dataConfiguration
The field for thedataConfiguration
record component.private final WorldDataConfiguration
WorldLoader.PackConfig.initialDataConfig
The field for theinitialDataConfig
record component.Modifier and TypeMethodDescriptionstatic WorldDataConfiguration
MinecraftServer.configurePackRepository
(PackRepository p_248681_, DataPackConfig p_248920_, boolean p_249869_, FeatureFlagSet p_251243_) WorldLoader.DataLoadContext.dataConfiguration()
Returns the value of thedataConfiguration
record component.WorldLoader.PackConfig.initialDataConfig()
Returns the value of theinitialDataConfig
record component.Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair<WorldDataConfiguration,
CloseableResourceManager> WorldLoader.PackConfig.createResourceManager()
ModifierConstructorDescriptionDataLoadContext
(ResourceManager resources, WorldDataConfiguration dataConfiguration, RegistryAccess.Frozen datapackWorldgen, RegistryAccess.Frozen datapackDimensions) Creates an instance of aDataLoadContext
record class.PackConfig
(PackRepository packRepository, WorldDataConfiguration initialDataConfig, boolean safeMode, boolean initMode) Creates an instance of aPackConfig
record class. -
Uses of WorldDataConfiguration in net.minecraft.world.level
Modifier and TypeFieldDescriptionprivate final WorldDataConfiguration
LevelSettings.dataConfiguration
static final WorldDataConfiguration
WorldDataConfiguration.DEFAULT
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<WorldDataConfiguration>
WorldDataConfiguration.CODEC
Modifier and TypeMethodDescriptionWorldDataConfiguration.expandFeatures
(FeatureFlagSet p_249090_) LevelSettings.getDataConfiguration()
Modifier and TypeMethodDescriptionstatic LevelSettings
LevelSettings.parse
(com.mojang.serialization.Dynamic<?> p_46925_, WorldDataConfiguration p_251697_) LevelSettings.withDataConfiguration
(WorldDataConfiguration p_250867_) ModifierConstructorDescriptionLevelSettings
(String p_250485_, GameType p_250207_, boolean p_251631_, Difficulty p_252122_, boolean p_248961_, GameRules p_248536_, WorldDataConfiguration p_249797_) LevelSettings
(String p_250485_, GameType p_250207_, boolean p_251631_, Difficulty p_252122_, boolean p_248961_, GameRules p_248536_, WorldDataConfiguration p_249797_, com.mojang.serialization.Lifecycle lifecycle) -
Uses of WorldDataConfiguration in net.minecraft.world.level.storage
Modifier and TypeMethodDescriptionPrimaryLevelData.getDataConfiguration()
WorldData.getDataConfiguration()
static WorldDataConfiguration
LevelStorageSource.readDataConfig
(com.mojang.serialization.Dynamic<?> p_250884_) Modifier and TypeMethodDescriptionstatic LevelDataAndDimensions
LevelStorageSource.getLevelDataAndDimensions
(com.mojang.serialization.Dynamic<?> p_307313_, WorldDataConfiguration p_307486_, Registry<LevelStem> p_307597_, RegistryAccess.Frozen p_307648_) void
PrimaryLevelData.setDataConfiguration
(WorldDataConfiguration p_252328_) void
WorldData.setDataConfiguration
(WorldDataConfiguration p_250014_)