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_) 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_, com.mojang.datafixers.DataFixer p_78532_, int p_78533_, CompoundTag p_78534_, LevelSettings p_78535_, LevelVersion p_78536_, PrimaryLevelData.SpecialWorldProperty p_250651_, WorldOptions p_251864_, com.mojang.serialization.Lifecycle p_78538_) ModifierConstructorDescriptionprivate
PrimaryLevelData
(com.mojang.datafixers.DataFixer p_249266_, int p_249857_, CompoundTag p_249309_, boolean p_251525_, int p_249614_, int p_252310_, int p_250544_, float p_250495_, long p_250393_, long p_252085_, int p_250455_, int p_248981_, int p_249051_, boolean p_249672_, int p_249807_, boolean p_252350_, boolean p_250231_, boolean p_249788_, WorldBorder.Settings p_251494_, int p_249519_, int p_250649_, UUID p_248892_, Set<String> p_251898_, TimerQueue<MinecraftServer> p_251119_, CompoundTag p_248915_, CompoundTag p_252274_, LevelSettings p_248619_, WorldOptions p_251512_, PrimaryLevelData.SpecialWorldProperty p_251396_, com.mojang.serialization.Lifecycle p_252247_) PrimaryLevelData
(LevelSettings p_251081_, WorldOptions p_251666_, PrimaryLevelData.SpecialWorldProperty p_252268_, com.mojang.serialization.Lifecycle p_251714_)