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 pLevelName, LevelSettings pLevelSettings, WorldOptions pWorldOptions, Function<HolderLookup.Provider, 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, InitialWorldCreationOptions initialWorldCreationOptions) Creates an instance of aWorldCreationContextrecord class.WorldCreationContext(WorldOptions p_251299_, WorldDimensions p_251746_, LayeredRegistryAccess<RegistryLayer> p_252129_, ReloadableServerResources p_250137_, WorldDataConfiguration p_249510_, InitialWorldCreationOptions p_372904_) -
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 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.static WorldOptionsWorldOptions.testWorldWithRandomSeed()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> pOps, WorldOptions pOptions, RegistryAccess pAccess) static <T> com.mojang.serialization.DataResult<T> WorldGenSettings.encode(com.mojang.serialization.DynamicOps<T> pOps, WorldOptions pOptions, WorldDimensions pDimensions) 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> pTag, LevelSettings pLevelSettings, PrimaryLevelData.SpecialWorldProperty pSpecialWorldProperty, WorldOptions pWorldOptions, com.mojang.serialization.Lifecycle pWorldGenSettingsLifecycle) Constructors in net.minecraft.world.level.storage with parameters of type WorldOptionsModifierConstructorDescriptionprivatePrimaryLevelData(@Nullable CompoundTag pLoadedPlayerTag, boolean pWasModded, LevelData.RespawnData pRespawnData, long pGameTime, long pDayTime, int pVersion, int pClearWeatherTime, int pRainTime, boolean pRaining, int pThunderTime, boolean pThundering, boolean pInitialized, boolean pDifficultyLocked, Optional<WorldBorder.Settings> pLegacyWorldBorderSettings, int pWanderingTraderSpawnDelay, int pWanderingTraderSpawnChance, @Nullable UUID pWanderingTraderId, Set<String> pKnownServerBrands, Set<String> pRemovedFeatureFlags, TimerQueue<MinecraftServer> pScheduledEvents, @Nullable CompoundTag pCustomBossEvents, EndDragonFight.Data pEndDragonFightData, LevelSettings pSettings, WorldOptions pWorldOptions, PrimaryLevelData.SpecialWorldProperty pSpecialWorldProperty, com.mojang.serialization.Lifecycle pWorldGenSettingsLifecycle) PrimaryLevelData(LevelSettings pSettings, WorldOptions pWorldOptions, PrimaryLevelData.SpecialWorldProperty pSpecialWorldProperty, com.mojang.serialization.Lifecycle pWorldGenSettingsLifecycle)