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 levelName, LevelSettings levelSettings, WorldOptions worldOptions, Function<RegistryAccess, WorldDimensions> dimensionGetter, Screen lastScreen) WorldCreationContext.withSettings
(WorldOptions options, WorldDimensions selectedDimensions) 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 level, WorldOptions worldOptions, StructureCheck structureCheck) -
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 generateBonusChest) WorldOptions.withSeed
(OptionalLong seed) WorldOptions.withStructures
(boolean generateStructures) 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> ops, WorldOptions options, RegistryAccess access) static <T> com.mojang.serialization.DataResult
<T> WorldGenSettings.encode
(com.mojang.serialization.DynamicOps<T> ops, WorldOptions options, WorldDimensions dimensions) 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> tag, LevelSettings levelSettings, PrimaryLevelData.SpecialWorldProperty specialWorldProperty, WorldOptions worldOptions, com.mojang.serialization.Lifecycle worldGenSettingsLifecycle) Constructors in net.minecraft.world.level.storage with parameters of type WorldOptionsModifierConstructorDescriptionprivate
PrimaryLevelData
(CompoundTag loadedPlayerTag, boolean wasModded, BlockPos spawnPos, float spawnAngle, long gameTime, long dayTime, int version, int clearWeatherTime, int rainTime, boolean raining, int thunderTime, boolean thundering, boolean initialized, boolean difficultyLocked, WorldBorder.Settings worldBorder, int wanderingTraderSpawnDelay, int wanderingTraderSpawnChance, UUID wanderingTraderId, Set<String> knownServerBrands, Set<String> removedFeatureFlags, TimerQueue<MinecraftServer> scheduledEvents, CompoundTag customBossEvents, EndDragonFight.Data endDragonFightData, LevelSettings settings, WorldOptions worldOptions, PrimaryLevelData.SpecialWorldProperty specialWorldProperty, com.mojang.serialization.Lifecycle worldGenSettingsLifecycle) PrimaryLevelData
(LevelSettings settings, WorldOptions worldOptions, PrimaryLevelData.SpecialWorldProperty specialWorldProperty, com.mojang.serialization.Lifecycle worldGenSettingsLifecycle)