Uses of Record Class
net.minecraft.resource.DataConfiguration
Packages that use DataConfiguration
Package
Description
Provides resources to Minecraft, including resource access, provision, and reloading.
-
Uses of DataConfiguration in net.minecraft.client.gui.screen.world
Fields in net.minecraft.client.gui.screen.world declared as DataConfigurationModifier and TypeFieldDescriptionprotected DataConfiguration
CreateWorldScreen.dataConfiguration
private final DataConfiguration
CreateWorldScreen.WorldCreationSettings.dataConfiguration
The field for thedataConfiguration
record component.Methods in net.minecraft.client.gui.screen.world that return DataConfigurationModifier and TypeMethodDescriptionCreateWorldScreen.WorldCreationSettings.dataConfiguration()
Returns the value of thedataConfiguration
record component.Methods in net.minecraft.client.gui.screen.world with parameters of type DataConfigurationModifier and TypeMethodDescriptionprivate static SaveLoading.ServerConfig
CreateWorldScreen.createServerConfig
(ResourcePackManager dataPackManager, DataConfiguration dataConfiguration) private void
CreateWorldScreen.validateDataPacks
(ResourcePackManager dataPackManager, DataConfiguration dataConfiguration) Constructors in net.minecraft.client.gui.screen.world with parameters of type DataConfigurationModifierConstructorDescriptionprivate
CreateWorldScreen
(@Nullable Screen parent, DataConfiguration dataConfiguration, MoreOptionsDialog moreOptionsDialog) (package private)
WorldCreationSettings
(WorldGenSettings worldGenSettings, DataConfiguration dataConfiguration) Creates an instance of aWorldCreationSettings
record class. -
Uses of DataConfiguration in net.minecraft.client.world
Fields in net.minecraft.client.world declared as DataConfigurationModifier and TypeFieldDescriptionprivate final DataConfiguration
GeneratorOptionsHolder.dataConfiguration
The field for thedataConfiguration
record component.Methods in net.minecraft.client.world that return DataConfigurationModifier and TypeMethodDescriptionGeneratorOptionsHolder.dataConfiguration()
Returns the value of thedataConfiguration
record component.Constructors in net.minecraft.client.world with parameters of type DataConfigurationModifierConstructorDescriptionGeneratorOptionsHolder
(GeneratorOptions generatorOptions, Registry<DimensionOptions> registry, DimensionOptionsRegistryHolder dimensionOptionsRegistryHolder, CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, DataPackContents dataPackContents, DataConfiguration dataConfiguration) GeneratorOptionsHolder
(GeneratorOptions generatorOptions, DimensionOptionsRegistryHolder selectedDimensions, CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, DataPackContents dataPackContents, DataConfiguration dataConfiguration) GeneratorOptionsHolder
(WorldGenSettings worldGenSettings, CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, DataPackContents dataPackContents, DataConfiguration dataConfiguration) -
Uses of DataConfiguration in net.minecraft.resource
Fields in net.minecraft.resource declared as DataConfigurationFields in net.minecraft.resource with type parameters of type DataConfigurationModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DataConfiguration>
DataConfiguration.CODEC
Methods in net.minecraft.resource that return DataConfiguration -
Uses of DataConfiguration in net.minecraft.server
Fields in net.minecraft.server declared as DataConfigurationModifier and TypeFieldDescriptionprivate final DataConfiguration
SaveLoading.LoadContextSupplierContext.dataConfiguration
The field for thedataConfiguration
record component.private final DataConfiguration
SaveLoading.DataPacks.initialDataConfig
The field for theinitialDataConfig
record component.Methods in net.minecraft.server that return DataConfigurationModifier and TypeMethodDescriptionSaveLoading.LoadContextSupplierContext.dataConfiguration()
Returns the value of thedataConfiguration
record component.SaveLoading.DataPacks.initialDataConfig()
Returns the value of theinitialDataConfig
record component.static DataConfiguration
MinecraftServer.loadDataPacks
(ResourcePackManager resourcePackManager, DataPackSettings dataPackSettings, boolean safeMode, FeatureSet enabledFeatures) Methods in net.minecraft.server that return types with arguments of type DataConfigurationModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair<DataConfiguration,
LifecycledResourceManager> SaveLoading.DataPacks.load()
Constructors in net.minecraft.server with parameters of type DataConfigurationModifierConstructorDescriptionDataPacks
(ResourcePackManager resourcePackManager, DataConfiguration dataConfiguration, boolean bool, boolean bool2) LoadContextSupplierContext
(ResourceManager resourceManager, DataConfiguration dataConfiguration, DynamicRegistryManager.Immutable immutable, DynamicRegistryManager.Immutable immutable2) -
Uses of DataConfiguration in net.minecraft.world
Methods in net.minecraft.world that return DataConfigurationMethods in net.minecraft.world with parameters of type DataConfigurationModifier and TypeMethodDescriptionvoid
SaveProperties.updateLevelInfo
(DataConfiguration dataConfiguration) -
Uses of DataConfiguration in net.minecraft.world.level
Fields in net.minecraft.world.level declared as DataConfigurationMethods in net.minecraft.world.level that return DataConfigurationModifier and TypeMethodDescriptionLevelInfo.getDataConfiguration()
LevelProperties.getDataConfiguration()
Methods in net.minecraft.world.level with parameters of type DataConfigurationModifier and TypeMethodDescriptionstatic LevelInfo
LevelInfo.fromDynamic
(com.mojang.serialization.Dynamic<?> dynamic, DataConfiguration dataConfiguration) void
LevelProperties.updateLevelInfo
(DataConfiguration dataConfiguration) LevelInfo.withDataConfiguration
(DataConfiguration dataConfiguration) Constructors in net.minecraft.world.level with parameters of type DataConfigurationModifierConstructorDescriptionLevelInfo
(String name, GameMode gameMode, boolean hardcore, Difficulty difficulty, boolean allowCommands, GameRules gameRules, DataConfiguration dataConfiguration) -
Uses of DataConfiguration in net.minecraft.world.level.storage
Methods in net.minecraft.world.level.storage that return DataConfigurationModifier and TypeMethodDescriptionLevelStorage.Session.getDataPackSettings()
private static DataConfiguration
LevelStorage.parseDataPackSettings
(com.mojang.serialization.Dynamic<?> dynamic) private static @Nullable DataConfiguration
LevelStorage.readDataPackSettings
(Path path, com.mojang.datafixers.DataFixer dataFixer) Methods in net.minecraft.world.level.storage with parameters of type DataConfigurationModifier and TypeMethodDescription(package private) static BiFunction<Path,
com.mojang.datafixers.DataFixer, com.mojang.datafixers.util.Pair<SaveProperties, DimensionOptionsRegistryHolder.DimensionsConfig>> LevelStorage.createLevelDataParser
(com.mojang.serialization.DynamicOps<NbtElement> ops, DataConfiguration dataConfiguration, Registry<DimensionOptions> dimensionOptionsRegistry, com.mojang.serialization.Lifecycle lifecycle) @Nullable com.mojang.datafixers.util.Pair<SaveProperties,
DimensionOptionsRegistryHolder.DimensionsConfig> LevelStorage.Session.readLevelProperties
(com.mojang.serialization.DynamicOps<NbtElement> ops, DataConfiguration dataConfiguration, Registry<DimensionOptions> dimensionOptionsRegistry, com.mojang.serialization.Lifecycle lifecycle)