public abstract class RegenOptions
extends java.lang.Object
World.regenerate(Region, Extent, RegenOptions)
.Modifier and Type | Class and Description |
---|---|
static class |
RegenOptions.Builder |
Modifier and Type | Method and Description |
---|---|
static RegenOptions.Builder |
builder()
Creates a new options builder.
|
abstract java.util.OptionalLong |
getSeed()
The seed to regenerate with.
|
boolean |
shouldRegenBiomes()
Whether biomes should be regenerated.
|
public static RegenOptions.Builder builder()
public abstract java.util.OptionalLong getSeed()
OptionalLong.empty()
if the world's original seed should be used.
public final boolean shouldRegenBiomes()