Uses of Record Class
net.minecraft.resource.DataConfiguration
Package
Description
Provides resources to Minecraft, including resource access, provision, and reloading.
-
Uses of DataConfiguration in net.minecraft.client.gui.screen.world
Modifier and TypeFieldDescriptionprivate final DataConfiguration
CreateWorldScreen.WorldCreationSettings.dataConfiguration
The field for thedataConfiguration
record component.Modifier and TypeMethodDescriptionCreateWorldScreen.WorldCreationSettings.dataConfiguration()
Returns the value of thedataConfiguration
record component.Modifier and TypeMethodDescriptionprivate static SaveLoading.ServerConfig
CreateWorldScreen.createServerConfig
(ResourcePackManager dataPackManager, DataConfiguration dataConfiguration) private @Nullable com.mojang.datafixers.util.Pair<Path,
ResourcePackManager> CreateWorldScreen.getScannedPack
(DataConfiguration dataConfiguration) (package private) void
CreateWorldScreen.openExperimentsScreen
(DataConfiguration dataConfiguration) (package private) void
CreateWorldScreen.openPackScreen
(DataConfiguration dataConfiguration) protected boolean
WorldCreator.updateDataConfiguration
(DataConfiguration dataConfiguration) private void
CreateWorldScreen.validateDataPacks
(ResourcePackManager dataPackManager, DataConfiguration dataConfiguration, Consumer<DataConfiguration> configurationSetter) Modifier and TypeMethodDescriptionprivate void
CreateWorldScreen.applyDataPacks
(ResourcePackManager dataPackManager, boolean fromPackScreen, Consumer<DataConfiguration> configurationSetter) private void
CreateWorldScreen.validateDataPacks
(ResourcePackManager dataPackManager, DataConfiguration dataConfiguration, Consumer<DataConfiguration> configurationSetter) ModifierConstructorDescription(package private)
WorldCreationSettings
(WorldGenSettings worldGenSettings, DataConfiguration dataConfiguration) Creates an instance of aWorldCreationSettings
record class. -
Uses of DataConfiguration in net.minecraft.client.world
Modifier and TypeFieldDescriptionprivate final DataConfiguration
GeneratorOptionsHolder.dataConfiguration
The field for thedataConfiguration
record component.Modifier and TypeMethodDescriptionGeneratorOptionsHolder.dataConfiguration()
Returns the value of thedataConfiguration
record component.ModifierConstructorDescriptionGeneratorOptionsHolder
(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
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DataConfiguration>
DataConfiguration.CODEC
-
Uses of DataConfiguration in net.minecraft.server
Modifier 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.Modifier 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) Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair<DataConfiguration,
LifecycledResourceManager> SaveLoading.DataPacks.load()
ModifierConstructorDescriptionDataPacks
(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
Modifier and TypeMethodDescriptionvoid
SaveProperties.updateLevelInfo
(DataConfiguration dataConfiguration) -
Uses of DataConfiguration in net.minecraft.world.level
Modifier and TypeMethodDescriptionLevelInfo.getDataConfiguration()
LevelProperties.getDataConfiguration()
Modifier and TypeMethodDescriptionstatic LevelInfo
LevelInfo.fromDynamic
(com.mojang.serialization.Dynamic<?> dynamic, DataConfiguration dataConfiguration) void
LevelProperties.updateLevelInfo
(DataConfiguration dataConfiguration) LevelInfo.withDataConfiguration
(DataConfiguration dataConfiguration) ModifierConstructorDescriptionLevelInfo
(String name, GameMode gameMode, boolean hardcore, Difficulty difficulty, boolean allowCommands, GameRules gameRules, DataConfiguration dataConfiguration) -
Uses of DataConfiguration in net.minecraft.world.level.storage
Modifier 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) Modifier 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)