Uses of Class
net.minecraft.world.level.levelgen.WorldOptions
Packages that use WorldOptions
Package
Description
-
Uses of WorldOptions in net.minecraft.client.gui.screens.worldselection
Fields in net.minecraft.client.gui.screens.worldselection declared as WorldOptionsModifier and TypeFieldDescriptionprivate final WorldOptions
WorldCreationContext.options
The field for theoptions
record component.static final WorldOptions
SelectWorldScreen.TEST_OPTIONS
Methods in net.minecraft.client.gui.screens.worldselection that return WorldOptionsModifier and TypeMethodDescriptionWorldCreationContext.options()
Returns the value of theoptions
record component.Methods in net.minecraft.client.gui.screens.worldselection with parameters of type WorldOptionsModifier and TypeMethodDescriptionvoid
WorldOpenFlows.createFreshLevel
(String pLevelName, LevelSettings pLevelSettings, WorldOptions pWorldOptions, Function<RegistryAccess, WorldDimensions> pDimensionGetter, Screen pLastScreen) WorldCreationContext.withSettings
(WorldOptions pOptions, WorldDimensions pSelectedDimensions) Constructors in net.minecraft.client.gui.screens.worldselection with parameters of type WorldOptionsModifierConstructorDescriptionWorldCreationContext
(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
Fields in net.minecraft.gametest.framework declared as WorldOptions -
Uses of WorldOptions in net.minecraft.server.dedicated
Fields in net.minecraft.server.dedicated declared as WorldOptions -
Uses of WorldOptions in net.minecraft.world.level
Fields in net.minecraft.world.level declared as WorldOptionsConstructors in net.minecraft.world.level with parameters of type WorldOptionsModifierConstructorDescriptionStructureManager
(LevelAccessor pLevel, WorldOptions pWorldOptions, StructureCheck pStructureCheck) -
Uses of WorldOptions in net.minecraft.world.level.levelgen
Fields in net.minecraft.world.level.levelgen declared as WorldOptionsModifier and TypeFieldDescriptionstatic final WorldOptions
WorldOptions.DEMO_OPTIONS
private final WorldOptions
WorldGenSettings.options
The field for theoptions
record component.Fields in net.minecraft.world.level.levelgen with type parameters of type WorldOptionsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<WorldOptions> WorldOptions.CODEC
Methods in net.minecraft.world.level.levelgen that return WorldOptionsModifier and TypeMethodDescriptionstatic WorldOptions
WorldOptions.defaultWithRandomSeed()
WorldGenSettings.options()
Returns the value of theoptions
record component.WorldOptions.withBonusChest
(boolean pGenerateBonusChest) WorldOptions.withSeed
(OptionalLong pSeed) WorldOptions.withStructures
(boolean pGenerateStructures) Methods in net.minecraft.world.level.levelgen with parameters of type WorldOptionsModifier 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_) Constructors in net.minecraft.world.level.levelgen with parameters of type WorldOptionsModifierConstructorDescriptionWorldGenSettings
(WorldOptions options, WorldDimensions dimensions) Creates an instance of aWorldGenSettings
record class. -
Uses of WorldOptions in net.minecraft.world.level.storage
Fields in net.minecraft.world.level.storage declared as WorldOptionsMethods in net.minecraft.world.level.storage that return WorldOptionsMethods in net.minecraft.world.level.storage with parameters of type WorldOptionsModifier 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_) Constructors in net.minecraft.world.level.storage with parameters of type WorldOptionsModifierConstructorDescriptionprivate
PrimaryLevelData
(CompoundTag p_277888_, boolean p_278109_, BlockPos p_320000_, float p_277542_, long p_277414_, long p_277635_, int p_277672_, int p_277714_, int p_278088_, boolean p_277943_, int p_278037_, boolean p_277644_, boolean p_277749_, boolean p_278004_, WorldBorder.Settings p_277729_, int p_277595_, int p_277794_, 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_) -
Uses of WorldOptions in net.neoforged.testframework.junit
Fields in net.neoforged.testframework.junit declared as WorldOptionsModifier and TypeFieldDescriptionprivate static final WorldOptions
EphemeralTestServerProvider.JUnitServer.WORLD_OPTIONS