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 WorldOptionsWorldCreationContext.optionsThe field for theoptionsrecord component.static final WorldOptionsSelectWorldScreen.TEST_OPTIONSMethods in net.minecraft.client.gui.screens.worldselection that return WorldOptionsModifier and TypeMethodDescriptionWorldCreationContext.options()Returns the value of theoptionsrecord component.Methods in net.minecraft.client.gui.screens.worldselection with parameters of type WorldOptionsModifier and TypeMethodDescriptionvoidWorldOpenFlows.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 aWorldCreationContextrecord 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 WorldOptionsWorldOptions.DEMO_OPTIONSprivate final WorldOptionsWorldGenSettings.optionsThe field for theoptionsrecord component.Fields in net.minecraft.world.level.levelgen with type parameters of type WorldOptionsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<WorldOptions> WorldOptions.CODECMethods in net.minecraft.world.level.levelgen that return WorldOptionsModifier and TypeMethodDescriptionstatic WorldOptionsWorldOptions.defaultWithRandomSeed()WorldGenSettings.options()Returns the value of theoptionsrecord 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 aWorldGenSettingsrecord 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> PrimaryLevelDataPrimaryLevelData.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 WorldOptionsModifierConstructorDescriptionprivatePrimaryLevelData(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)