Package com.sk89q.worldedit.world
Class RegenOptions.Builder
java.lang.Object
com.sk89q.worldedit.world.RegenOptions.Builder
- Enclosing class:
RegenOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract RegenOptions.BuilderDefines theBiomeTypethe regenerator should use for regeneration.abstract RegenOptionsbuild()Build the options object.abstract RegenOptions.BuilderregenBiomes(boolean regenBiomes) Turn on or off applying the biomes from the regenerated chunk.final RegenOptions.BuilderSets the seed to regenerate with.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
seed
Sets the seed to regenerate with. Defaults tonull.Use
nullto 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-trueto apply biomes- Returns:
- this builder
-
biomeType
Defines theBiomeTypethe regenerator should use for regeneration. Defaults tonull.- Parameters:
biomeType- theBiomeTypeto be used for regeneration- Returns:
- this builder
-
build
Build the options object.- Returns:
- the options object
-