public static interface BlockBlob.Builder extends ResettableBuilder<BlockBlob,BlockBlob.Builder>
BlockBlob
populators.Modifier and Type | Method and Description |
---|---|
default BlockBlob.Builder |
blobCount(int count)
Sets the number of blobs to spawn per chunk, must be greater than
zero.
|
BlockBlob.Builder |
blobCount(VariableAmount count)
Sets the number of blobs to spawn per chunk, must be greater than
zero.
|
BlockBlob.Builder |
block(BlockState block)
Sets the
BlockState that this populator will place down to
form the blob. |
BlockBlob |
build()
Builds a new instance of a
BlockBlob populator with the
settings set within the builder. |
default BlockBlob.Builder |
radius(double radius)
Sets the radius of the area for the blob, cannot be negative.
|
BlockBlob.Builder |
radius(VariableAmount radius)
Sets the radius of the area for the blob, cannot be negative.
|
from, reset
BlockBlob.Builder block(BlockState block)
BlockState
that this populator will place down to
form the blob.block
- the new block stateBlockBlob.Builder radius(VariableAmount radius)
radius
- The new radiusdefault BlockBlob.Builder radius(double radius)
radius
- The new radiusBlockBlob.Builder blobCount(VariableAmount count)
count
- The number of blobs to spawndefault BlockBlob.Builder blobCount(int count)
count
- The number of blobs to spawnBlockBlob build() throws IllegalStateException
BlockBlob
populator with the
settings set within the builder.IllegalStateException
- If there are any settings left unset
which do not have default values