Modifier and Type | Method and Description |
---|---|
HugeTree |
build()
Builds a new instance of a
HugeTree populator with the
settings set within the builder. |
HugeTree.Builder |
perChunk(int count)
Sets the number of trees to attempt to spawn per chunk, must be
greater than zero.
|
HugeTree.Builder |
reset()
Resets this builder to the default values.
|
HugeTree.Builder |
type(BiomeTreeType type)
Sets the type of huge tree to spawn.
|
HugeTree.Builder perChunk(int count)
count
- The new amount to spawnHugeTree.Builder type(BiomeTreeType type)
type
- The new tree typeHugeTree.Builder reset()
HugeTree build() throws IllegalStateException
HugeTree
populator with the
settings set within the builder.IllegalStateException
- If there are any settings left unset
which do not have default values