Uses of Record Class
net.minecraft.world.level.WorldDataConfiguration
Package
Description
-
Uses of WorldDataConfiguration in net.minecraft.client.gui.screens.worldselection
Modifier and TypeFieldDescriptionprotected WorldDataConfiguration
CreateWorldScreen.dataConfiguration
private 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_251497_, WorldDataConfiguration p_249845_) private static WorldLoader.InitConfig
CreateWorldScreen.createDefaultLoadConfig
(PackRepository p_251829_, WorldDataConfiguration p_251555_) ModifierConstructorDescriptionprivate
CreateWorldScreen
(Screen p_249549_, WorldDataConfiguration p_250099_, WorldGenSettingsComponent p_249670_) (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 TypeMethodDescriptionprivate static WorldDataConfiguration
LevelStorageSource.getDataConfiguration
(Path p_230829_, com.mojang.datafixers.DataFixer p_230830_) LevelStorageSource.LevelStorageAccess.getDataConfiguration()
PrimaryLevelData.getDataConfiguration()
WorldData.getDataConfiguration()
private static WorldDataConfiguration
LevelStorageSource.readDataConfig
(com.mojang.serialization.Dynamic<?> p_250884_) Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair<WorldData,
WorldDimensions.Complete> LevelStorageSource.LevelStorageAccess.getDataTag
(com.mojang.serialization.DynamicOps<Tag> p_248747_, WorldDataConfiguration p_251873_, Registry<LevelStem> p_249187_, com.mojang.serialization.Lifecycle p_249736_) (package private) static BiFunction<Path,
com.mojang.datafixers.DataFixer, com.mojang.datafixers.util.Pair<WorldData, WorldDimensions.Complete>> LevelStorageSource.getLevelData
(com.mojang.serialization.DynamicOps<Tag> p_250592_, WorldDataConfiguration p_249054_, Registry<LevelStem> p_249363_, com.mojang.serialization.Lifecycle p_251214_) void
PrimaryLevelData.setDataConfiguration
(WorldDataConfiguration p_252328_) void
WorldData.setDataConfiguration
(WorldDataConfiguration p_250014_)