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
WorldCreationSettings.dataConfiguration
The field for thedataConfiguration
record component.Modifier and TypeMethodDescriptionWorldCreationSettings.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) ModifierConstructorDescriptionWorldCreationSettings
(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, InitialWorldOptions initialWorldOptions) GeneratorOptionsHolder
(GeneratorOptions generatorOptions, DimensionOptionsRegistryHolder selectedDimensions, CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, DataPackContents dataPackContents, DataConfiguration dataConfiguration, InitialWorldOptions initialWorldOptions) 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.private static DataConfiguration
MinecraftServer.loadDataPacks
(ResourcePackManager resourcePackManager, Collection<String> enabledProfiles, FeatureSet enabledFeatures, boolean allowEnabling) static DataConfiguration
MinecraftServer.loadDataPacks
(ResourcePackManager resourcePackManager, DataConfiguration dataConfiguration, boolean initMode, boolean safeMode) Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair
<DataConfiguration, LifecycledResourceManager> SaveLoading.DataPacks.load()
Modifier and TypeMethodDescriptionstatic DataConfiguration
MinecraftServer.loadDataPacks
(ResourcePackManager resourcePackManager, DataConfiguration dataConfiguration, boolean initMode, boolean safeMode) ModifierConstructorDescriptionDataPacks
(ResourcePackManager resourcePackManager, DataConfiguration dataConfiguration, boolean bool, boolean bool2) LoadContextSupplierContext
(ResourceManager resourceManager, DataConfiguration dataConfiguration, RegistryWrapper.WrapperLookup wrapperLookup, DynamicRegistryManager.Immutable immutable) -
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 TypeMethodDescriptionstatic DataConfiguration
LevelStorage.parseDataPackSettings
(com.mojang.serialization.Dynamic<?> dynamic) Modifier and TypeMethodDescriptionstatic ParsedSaveProperties
LevelStorage.parseSaveProperties
(com.mojang.serialization.Dynamic<?> dynamic, DataConfiguration dataConfiguration, Registry<DimensionOptions> dimensionsRegistry, RegistryWrapper.WrapperLookup registries)