Uses of Class
net.minecraft.world.gen.GeneratorOptions
Package
Description
-
Uses of GeneratorOptions in net.minecraft.client.gui.screen.world
Modifier and TypeMethodDescriptionprivate void
MoreOptionsDialog.importOptions
(GeneratorOptions generatorOptions) ModifierConstructorDescriptionprivate
OptimizeWorldScreen
(BooleanConsumer callback, com.mojang.datafixers.DataFixer dataFixer, LevelStorage.Session storageSession, LevelInfo levelInfo, boolean eraseCache, GeneratorOptions generatorOptions) -
Uses of GeneratorOptions in net.minecraft.client.world
Modifier and TypeFieldDescriptionprivate final GeneratorOptions
GeneratorOptionsHolder.generatorOptions
The field for thegeneratorOptions
record component.Modifier and TypeMethodDescriptionGeneratorOptionsHolder.generatorOptions()
Returns the value of thegeneratorOptions
record component.ModifierConstructorDescriptionGeneratorOptionsHolder
(GeneratorOptions generatorOptions, com.mojang.serialization.Lifecycle lifecycle, DynamicRegistryManager.Immutable immutable, DataPackContents dataPackContents) -
Uses of GeneratorOptions in net.minecraft.server
Modifier and TypeMethodDescriptionprivate static void
Main.forceUpgradeWorld
(LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, boolean eraseCache, BooleanSupplier continueCheck, GeneratorOptions generatorOptions) -
Uses of GeneratorOptions in net.minecraft.server.dedicated
Modifier and TypeFieldDescriptionprivate @Nullable GeneratorOptions
ServerPropertiesHandler.generatorOptions
Modifier and TypeMethodDescriptionServerPropertiesHandler.WorldGenProperties.createGeneratorOptions
(DynamicRegistryManager dynamicRegistryManager) ServerPropertiesHandler.getGeneratorOptions
(DynamicRegistryManager dynamicRegistryManager) -
Uses of GeneratorOptions in net.minecraft.server.integrated
Modifier and TypeMethodDescriptionvoid
IntegratedServerLoader.createAndStart
(String levelName, LevelInfo levelInfo, DynamicRegistryManager dynamicRegistryManager, GeneratorOptions generatorOptions) -
Uses of GeneratorOptions in net.minecraft.world
-
Uses of GeneratorOptions in net.minecraft.world.gen
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<GeneratorOptions>
GeneratorOptions.CODEC
Modifier and TypeMethodDescriptionstatic GeneratorOptions
GeneratorOptions.create
(DynamicRegistryManager dynamicRegistryManager, GeneratorOptions generatorOptions, ChunkGenerator chunkGenerator) static GeneratorOptions
WorldPresets.createDefaultOptions
(DynamicRegistryManager dynamicRegistryManager) static GeneratorOptions
WorldPresets.createDefaultOptions
(DynamicRegistryManager dynamicRegistryManager, long seed) static GeneratorOptions
WorldPresets.createDefaultOptions
(DynamicRegistryManager dynamicRegistryManager, long seed, boolean generateStructures, boolean bonusChest) static GeneratorOptions
WorldPresets.createDemoOptions
(DynamicRegistryManager dynamicRegistryManager) WorldPreset.createGeneratorOptions
(long seed, boolean generateStructures, boolean bonusChest) WorldPreset.createGeneratorOptions
(GeneratorOptions generatorOptions) GeneratorOptions.toggleBonusChest()
GeneratorOptions.toggleGenerateStructures()
GeneratorOptions.withBonusChest()
GeneratorOptions.withHardcore
(boolean hardcore, OptionalLong seed) Modifier and TypeMethodDescriptionprivate com.mojang.serialization.DataResult<GeneratorOptions>
GeneratorOptions.validate()
Modifier and TypeMethodDescriptionstatic GeneratorOptions
GeneratorOptions.create
(DynamicRegistryManager dynamicRegistryManager, GeneratorOptions generatorOptions, ChunkGenerator chunkGenerator) WorldPreset.createGeneratorOptions
(GeneratorOptions generatorOptions) static Optional<RegistryKey<WorldPreset>>
WorldPresets.getWorldPreset
(GeneratorOptions generatorOptions) ModifierConstructorDescriptionStructureAccessor
(WorldAccess world, GeneratorOptions options, StructureLocator locator) -
Uses of GeneratorOptions in net.minecraft.world.level
Modifier and TypeMethodDescriptionstatic LevelProperties
LevelProperties.readProperties
(com.mojang.serialization.Dynamic<NbtElement> dynamic, com.mojang.datafixers.DataFixer dataFixer, int dataVersion, @Nullable NbtCompound playerData, LevelInfo levelInfo, SaveVersionInfo saveVersionInfo, GeneratorOptions generatorOptions, com.mojang.serialization.Lifecycle lifecycle) ModifierConstructorDescriptionprivate
LevelProperties
(@Nullable com.mojang.datafixers.DataFixer dataFixer, int dataVersion, @Nullable NbtCompound playerData, boolean modded, int spawnX, int spawnY, int spawnZ, float spawnAngle, long time, long timeOfDay, int version, int clearWeatherTime, int rainTime, boolean raining, int thunderTime, boolean thundering, boolean initialized, boolean difficultyLocked, WorldBorder.Properties worldBorder, int wanderingTraderSpawnDelay, int wanderingTraderSpawnChance, @Nullable UUID wanderingTraderId, Set<String> serverBrands, Timer<MinecraftServer> scheduledEvents, @Nullable NbtCompound customBossEvents, NbtCompound dragonFight, LevelInfo levelInfo, GeneratorOptions generatorOptions, com.mojang.serialization.Lifecycle lifecycle) LevelProperties
(LevelInfo levelInfo, GeneratorOptions generatorOptions, com.mojang.serialization.Lifecycle lifecycle) -
Uses of GeneratorOptions in net.minecraft.world.level.storage
Modifier and TypeMethodDescriptionprivate static <T> com.mojang.datafixers.util.Pair<GeneratorOptions,
com.mojang.serialization.Lifecycle> LevelStorage.readGeneratorProperties
(com.mojang.serialization.Dynamic<T> levelData, com.mojang.datafixers.DataFixer dataFixer, int version) -
Uses of GeneratorOptions in net.minecraft.world.updater
ModifierConstructorDescriptionWorldUpdater
(LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, GeneratorOptions generatorOptions, boolean eraseCache)