Uses of Record Class
net.minecraft.world.dimension.DimensionOptionsRegistryHolder
Package
Description
-
Uses of DimensionOptionsRegistryHolder in net.minecraft.client.world
Modifier and TypeFieldDescriptionprivate final DimensionOptionsRegistryHolder
GeneratorOptionsHolder.selectedDimensions
The field for theselectedDimensions
record component.Modifier and TypeMethodDescriptionGeneratorOptionsHolder.selectedDimensions()
Returns the value of theselectedDimensions
record component.Modifier and TypeMethodDescriptionGeneratorOptionsHolder.with
(GeneratorOptions generatorOptions, DimensionOptionsRegistryHolder selectedDimensions) 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) -
Uses of DimensionOptionsRegistryHolder in net.minecraft.server.dedicated
Modifier and TypeMethodDescriptionServerPropertiesHandler.createDimensionsRegistryHolder
(DynamicRegistryManager dynamicRegistry) ServerPropertiesHandler.WorldGenProperties.createDimensionsRegistryHolder
(DynamicRegistryManager dynamicRegistryManager) -
Uses of DimensionOptionsRegistryHolder in net.minecraft.server.integrated
Modifier and TypeMethodDescriptionvoid
IntegratedServerLoader.createAndStart
(String levelName, LevelInfo levelInfo, GeneratorOptions dynamicRegistryManager, Function<DynamicRegistryManager, DimensionOptionsRegistryHolder> dimensionsRegistrySupplier, Screen screen) -
Uses of DimensionOptionsRegistryHolder in net.minecraft.world.dimension
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<DimensionOptionsRegistryHolder> DimensionOptionsRegistryHolder.CODEC
Modifier and TypeMethodDescriptionDimensionOptionsRegistryHolder.with
(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator) -
Uses of DimensionOptionsRegistryHolder in net.minecraft.world.gen
Modifier and TypeMethodDescriptionWorldPresets.createDemoOptions
(DynamicRegistryManager dynamicRegistryManager) WorldPreset.createDimensionsRegistryHolder()
Modifier and TypeMethodDescriptionstatic Optional
<RegistryKey<WorldPreset>> WorldPresets.getWorldPreset
(DimensionOptionsRegistryHolder registry) -
Uses of DimensionOptionsRegistryHolder in net.minecraft.world.level
Modifier and TypeFieldDescriptionprivate final DimensionOptionsRegistryHolder
WorldGenSettings.dimensionOptionsRegistryHolder
The field for thedimensionOptionsRegistryHolder
record component.Modifier and TypeMethodDescriptionWorldGenSettings.dimensionOptionsRegistryHolder()
Returns the value of thedimensionOptionsRegistryHolder
record component.Modifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.DataResult
<T> WorldGenSettings.encode
(com.mojang.serialization.DynamicOps<T> registryOps, GeneratorOptions generatorOptions, DimensionOptionsRegistryHolder dimensionOptionsRegistryHolder) ModifierConstructorDescriptionWorldGenSettings
(GeneratorOptions generatorOptions, DimensionOptionsRegistryHolder dimensionOptionsRegistryHolder) Creates an instance of aWorldGenSettings
record class.