Package com.sk89q.worldedit.world
Class RegenOptions.Builder
java.lang.Object
com.sk89q.worldedit.world.RegenOptions.Builder
- Enclosing class:
RegenOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract RegenOptions.Builder
Defines theBiomeType
the regenerator should use for regeneration.abstract RegenOptions
build()
Build the options object.abstract RegenOptions.Builder
regenBiomes
(boolean regenBiomes) Turn on or off applying the biomes from the regenerated chunk.final RegenOptions.Builder
Sets the seed to regenerate with.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
seed
Sets the seed to regenerate with. Defaults tonull
.Use
null
to use the world's current seed.- Parameters:
seed
- the seed to regenerate with- Returns:
- this builder
-
regenBiomes
Turn on or off applying the biomes from the regenerated chunk. Defaults tofalse
.- Parameters:
regenBiomes
-true
to apply biomes- Returns:
- this builder
-
biomeType
Defines theBiomeType
the regenerator should use for regeneration. Defaults tonull
.- Parameters:
biomeType
- theBiomeType
to be used for regeneration- Returns:
- this builder
-
build
Build the options object.- Returns:
- the options object
-