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 p_233158_, LevelSettings p_233159_, WorldOptions p_249243_, Function<RegistryAccess, WorldDimensions> p_249252_, Screen p_307305_) 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 <T> PrimaryLevelDataPrimaryLevelData.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 WorldOptionsModifierConstructorDescriptionprivatePrimaryLevelData(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 WorldOptionsEphemeralTestServerProvider.JUnitServer.WORLD_OPTIONS