Uses of Class
net.minecraft.world.gen.GeneratorOptions
Package
Description
-
Uses of GeneratorOptions in net.minecraft.client
Modifier and TypeMethodDescriptionvoid
MinecraftClient.createWorld
(String worldName, LevelInfo levelInfo, DynamicRegistryManager.Impl registryTracker, GeneratorOptions generatorOptions) -
Uses of GeneratorOptions in net.minecraft.client.gui.screen.world
Modifier and TypeMethodDescriptionprivate void
MoreOptionsDialog.importOptions
(DynamicRegistryManager.Impl registryManager, GeneratorOptions generatorOptions) protected void
MoreOptionsDialog.setGeneratorOptions
(GeneratorOptions generatorOptions) ModifierConstructorDescriptionCreateWorldScreen
(@Nullable Screen parent, LevelInfo levelInfo, GeneratorOptions generatorOptions, @Nullable Path dataPackTempDir, DataPackSettings dataPackSettings, DynamicRegistryManager.Impl registryManager) MoreOptionsDialog
(DynamicRegistryManager.Impl registryManager, GeneratorOptions generatorOptions, Optional<GeneratorType> generatorType, OptionalLong seed) private
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 TypeMethodDescriptionGeneratorType.createDefaultOptions
(DynamicRegistryManager.Impl registryManager, long seed, boolean generateStructures, boolean bonusChest) private static GeneratorOptions
GeneratorType.createFixedBiomeOptions
(DynamicRegistryManager registryManager, GeneratorOptions generatorOptions, GeneratorType type, Biome biome) Modifier and TypeMethodDescriptionGeneratorType.ScreenProvider.createEditScreen
(CreateWorldScreen screen, GeneratorOptions generatorOptions) private static GeneratorOptions
GeneratorType.createFixedBiomeOptions
(DynamicRegistryManager registryManager, GeneratorOptions generatorOptions, GeneratorType type, Biome biome) static Optional<GeneratorType>
GeneratorType.fromGeneratorOptions
(GeneratorOptions generatorOptions) private static Biome
GeneratorType.getFirstBiome
(DynamicRegistryManager registryManager, GeneratorOptions options) -
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.getGeneratorOptions
(DynamicRegistryManager registryManager) -
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.createDemo
(DynamicRegistryManager registryManager) static GeneratorOptions
GeneratorOptions.fromProperties
(DynamicRegistryManager registryManager, Properties properties) static GeneratorOptions
GeneratorOptions.getDefaultOptions
(DynamicRegistryManager registryManager) GeneratorOptions.toggleBonusChest()
GeneratorOptions.toggleGenerateStructures()
GeneratorOptions.withBonusChest()
GeneratorOptions.withHardcore
(boolean hardcore, OptionalLong seed) Modifier and TypeMethodDescriptionprivate com.mojang.serialization.DataResult<GeneratorOptions>
GeneratorOptions.validate()
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)