Uses of Record Class
net.minecraft.world.level.levelgen.WorldDimensions
Package
Description
-
Uses of WorldDimensions in net.minecraft.client.gui.screens.worldselection
Modifier and TypeFieldDescriptionprivate final WorldDimensions
WorldCreationContext.selectedDimensions
The field for theselectedDimensions
record component.Modifier and TypeMethodDescriptionWorldCreationContext.selectedDimensions()
Returns the value of theselectedDimensions
record component.Modifier and TypeMethodDescriptionWorldCreationContext.withSettings
(WorldOptions p_249492_, WorldDimensions p_250298_) Modifier and TypeMethodDescriptionvoid
WorldOpenFlows.createFreshLevel
(String p_233158_, LevelSettings p_233159_, WorldOptions p_249243_, Function<RegistryAccess, WorldDimensions> p_249252_, Screen p_310233_) ModifierConstructorDescriptionWorldCreationContext
(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 WorldDimensions in net.minecraft.server.dedicated
Modifier and TypeMethodDescriptionDedicatedServerProperties.WorldDimensionData.create
(RegistryAccess p_248812_) DedicatedServerProperties.createDimensions
(RegistryAccess p_250466_) -
Uses of WorldDimensions in net.minecraft.world.level.levelgen
Modifier and TypeFieldDescriptionprivate final WorldDimensions
WorldGenSettings.dimensions
The field for thedimensions
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<WorldDimensions>
WorldDimensions.CODEC
Modifier and TypeMethodDescriptionWorldGenSettings.dimensions()
Returns the value of thedimensions
record component.WorldDimensions.replaceOverworldGenerator
(RegistryAccess p_251390_, ChunkGenerator p_248755_) Modifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.DataResult<T>
WorldGenSettings.encode
(com.mojang.serialization.DynamicOps<T> p_250104_, WorldOptions p_250578_, WorldDimensions p_249244_) ModifierConstructorDescriptionWorldGenSettings
(WorldOptions options, WorldDimensions dimensions) Creates an instance of aWorldGenSettings
record class. -
Uses of WorldDimensions in net.minecraft.world.level.levelgen.presets
Modifier and TypeMethodDescriptionstatic WorldDimensions
WorldPresets.createNormalWorldDimensions
(RegistryAccess p_251732_) WorldPreset.createWorldDimensions()