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 TypeMethodDescriptionWorldGenSettingsComponent.createFinalOptions(boolean p_248710_, boolean p_250742_) WorldCreationContext.options()Returns the value of theoptionsrecord component.Methods in net.minecraft.client.gui.screens.worldselection with parameters of type WorldOptionsModifier and TypeMethodDescriptionvoidWorldOpenFlows.createFreshLevel(String p_233158_, LevelSettings p_233159_, WorldOptions p_249243_, Function<RegistryAccess, WorldDimensions> p_249252_) private voidWorldGenSettingsComponent.importSettings(WorldOptions p_250993_, WorldDimensions p_251145_) WorldCreationContext.withSettings(WorldOptions p_249492_, WorldDimensions p_250298_) 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 p_249675_, WorldOptions p_248820_, StructureCheck p_249103_) -
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 p_251744_) WorldOptions.withSeed(OptionalLong p_261572_) WorldOptions.withStructures(boolean p_251426_) 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 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 PrimaryLevelDataPrimaryLevelData.parse(com.mojang.serialization.Dynamic<Tag> 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_) Constructors in net.minecraft.world.level.storage with parameters of type WorldOptionsModifierConstructorDescriptionprivatePrimaryLevelData(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_)