Uses of Class
net.minecraft.world.gen.GeneratorOptions
Packages that use GeneratorOptions
Package
Description
-
Uses of GeneratorOptions in net.minecraft.client.gui.screen.world
Methods in net.minecraft.client.gui.screen.world with parameters of type GeneratorOptionsModifier and TypeMethodDescriptionprivate void
MoreOptionsDialog.importOptions
(GeneratorOptions generatorOptions) Constructors in net.minecraft.client.gui.screen.world with parameters of type GeneratorOptionsModifierConstructorDescriptionprivate
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
Fields in net.minecraft.client.world declared as GeneratorOptionsModifier and TypeFieldDescriptionprivate final GeneratorOptions
GeneratorOptionsHolder.generatorOptions
The field for thegeneratorOptions
record component.Methods in net.minecraft.client.world that return GeneratorOptionsModifier and TypeMethodDescriptionGeneratorOptionsHolder.generatorOptions()
Returns the value of thegeneratorOptions
record component.Methods in net.minecraft.client.world with parameters of type GeneratorOptionsConstructors in net.minecraft.client.world with parameters of type GeneratorOptionsModifierConstructorDescriptionGeneratorOptionsHolder
(GeneratorOptions generatorOptions, com.mojang.serialization.Lifecycle lifecycle, DynamicRegistryManager.Immutable immutable, DataPackContents dataPackContents) -
Uses of GeneratorOptions in net.minecraft.server
Methods in net.minecraft.server with parameters of type GeneratorOptionsModifier 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
Fields in net.minecraft.server.dedicated declared as GeneratorOptionsModifier and TypeFieldDescriptionprivate @Nullable GeneratorOptions
ServerPropertiesHandler.generatorOptions
Methods in net.minecraft.server.dedicated that return GeneratorOptionsModifier and TypeMethodDescriptionServerPropertiesHandler.WorldGenProperties.createGeneratorOptions
(DynamicRegistryManager dynamicRegistryManager) ServerPropertiesHandler.getGeneratorOptions
(DynamicRegistryManager dynamicRegistryManager) -
Uses of GeneratorOptions in net.minecraft.server.integrated
Methods in net.minecraft.server.integrated with parameters of type GeneratorOptionsModifier and TypeMethodDescriptionvoid
IntegratedServerLoader.createAndStart
(String levelName, LevelInfo levelInfo, DynamicRegistryManager dynamicRegistryManager, GeneratorOptions generatorOptions) -
Uses of GeneratorOptions in net.minecraft.world
Methods in net.minecraft.world that return GeneratorOptions -
Uses of GeneratorOptions in net.minecraft.world.gen
Fields in net.minecraft.world.gen declared as GeneratorOptionsFields in net.minecraft.world.gen with type parameters of type GeneratorOptionsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<GeneratorOptions>
GeneratorOptions.CODEC
Methods in net.minecraft.world.gen that return GeneratorOptionsModifier 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) Methods in net.minecraft.world.gen that return types with arguments of type GeneratorOptionsModifier and TypeMethodDescriptionprivate com.mojang.serialization.DataResult<GeneratorOptions>
GeneratorOptions.validate()
Methods in net.minecraft.world.gen with parameters of type GeneratorOptionsModifier and TypeMethodDescriptionstatic GeneratorOptions
GeneratorOptions.create
(DynamicRegistryManager dynamicRegistryManager, GeneratorOptions generatorOptions, ChunkGenerator chunkGenerator) WorldPreset.createGeneratorOptions
(GeneratorOptions generatorOptions) static Optional<RegistryKey<WorldPreset>>
WorldPresets.getWorldPreset
(GeneratorOptions generatorOptions) Constructors in net.minecraft.world.gen with parameters of type GeneratorOptionsModifierConstructorDescriptionStructureAccessor
(WorldAccess world, GeneratorOptions options, StructureLocator locator) -
Uses of GeneratorOptions in net.minecraft.world.level
Fields in net.minecraft.world.level declared as GeneratorOptionsMethods in net.minecraft.world.level that return GeneratorOptionsMethods in net.minecraft.world.level with parameters of type GeneratorOptionsModifier 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) Constructors in net.minecraft.world.level with parameters of type GeneratorOptionsModifierConstructorDescriptionprivate
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
Methods in net.minecraft.world.level.storage that return types with arguments of type GeneratorOptionsModifier 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
Fields in net.minecraft.world.updater declared as GeneratorOptionsConstructors in net.minecraft.world.updater with parameters of type GeneratorOptionsModifierConstructorDescriptionWorldUpdater
(LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, GeneratorOptions generatorOptions, boolean eraseCache)