Modifier and Type | Method and Description |
---|---|
SeaFloor.Builder |
block(BlockState block)
Sets the
BlockState to place down. |
SeaFloor |
build()
Builds a new instance of a
SeaFloor populator with the
settings set within the builder. |
SeaFloor.Builder |
perChunk(int count)
Sets the number of discs to attempt to spawn per chunk, must be greater
than zero.
|
SeaFloor.Builder |
radius(int radius)
Sets the radius of the discs being spawned.
|
SeaFloor.Builder |
reset()
Resets this builder to the default values.
|
SeaFloor.Builder block(BlockState block)
BlockState
to place down.block
- The new block to placeSeaFloor.Builder perChunk(int count)
count
- The new amount to spawnSeaFloor.Builder radius(int radius)
radius
- The new disc radiusSeaFloor.Builder reset()
SeaFloor build() throws IllegalStateException
SeaFloor
populator with the
settings set within the builder.IllegalStateException
- If there are any settings left unset
which do not have default values