Uses of Class
net.minecraft.world.level.levelgen.WorldOptions
Package
Description
-
Uses of WorldOptions in net.minecraft.client.gui.screens.worldselection
Modifier and TypeFieldDescriptionprivate final WorldOptions
WorldCreationContext.options
The field for theoptions
record component.static final WorldOptions
SelectWorldScreen.TEST_OPTIONS
Modifier and TypeMethodDescriptionWorldCreationContext.options()
Returns the value of theoptions
record component.Modifier and TypeMethodDescriptionvoid
WorldOpenFlows.createFreshLevel
(String p_233158_, LevelSettings p_233159_, WorldOptions p_249243_, Function<RegistryAccess, WorldDimensions> p_249252_, Screen p_310233_) WorldCreationContext.withSettings
(WorldOptions p_249492_, WorldDimensions p_250298_) 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 WorldOptions in net.minecraft.gametest.framework
-
Uses of WorldOptions in net.minecraft.server.dedicated
-
Uses of WorldOptions in net.minecraft.world.level
ModifierConstructorDescriptionStructureManager
(LevelAccessor p_249675_, WorldOptions p_248820_, StructureCheck p_249103_) -
Uses of WorldOptions in net.minecraft.world.level.levelgen
Modifier and TypeFieldDescriptionstatic final WorldOptions
WorldOptions.DEMO_OPTIONS
private final WorldOptions
WorldGenSettings.options
The field for theoptions
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<WorldOptions>
WorldOptions.CODEC
Modifier and TypeMethodDescriptionstatic WorldOptions
WorldOptions.defaultWithRandomSeed()
WorldGenSettings.options()
Returns the value of theoptions
record component.WorldOptions.withBonusChest
(boolean p_251744_) WorldOptions.withSeed
(OptionalLong p_261572_) WorldOptions.withStructures
(boolean p_251426_) Modifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.DataResult<T>
WorldGenSettings.encode
(com.mojang.serialization.DynamicOps<T> p_250917_, WorldOptions p_250366_, RegistryAccess p_251515_) static <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 WorldOptions in net.minecraft.world.level.storage
Modifier and TypeMethodDescriptionstatic <T> PrimaryLevelData
PrimaryLevelData.parse
(com.mojang.serialization.Dynamic<T> p_78531_, LevelSettings p_78535_, PrimaryLevelData.SpecialWorldProperty p_250651_, WorldOptions p_251864_, com.mojang.serialization.Lifecycle p_78538_) ModifierConstructorDescriptionprivate
PrimaryLevelData
(CompoundTag p_277888_, boolean p_278109_, int p_277672_, int p_277714_, int p_278088_, float p_277542_, long p_277414_, long p_277635_, int p_278037_, int p_277595_, int p_277794_, boolean p_277943_, int p_278007_, boolean p_277644_, boolean p_277749_, boolean p_278004_, WorldBorder.Settings p_277729_, int p_277674_, int p_277856_, UUID p_277341_, Set<String> p_277989_, Set<String> p_277399_, TimerQueue<MinecraftServer> p_277860_, CompoundTag p_277936_, EndDragonFight.Data p_289764_, LevelSettings p_278064_, WorldOptions p_278072_, PrimaryLevelData.SpecialWorldProperty p_277548_, com.mojang.serialization.Lifecycle p_277915_) PrimaryLevelData
(LevelSettings p_251081_, WorldOptions p_251666_, PrimaryLevelData.SpecialWorldProperty p_252268_, com.mojang.serialization.Lifecycle p_251714_)