public interface BlockBlob extends Populator
Modifier and Type | Interface and Description |
---|---|
static interface |
BlockBlob.Builder
A builder for constructing
BlockBlob populators. |
Modifier and Type | Method and Description |
---|---|
static BlockBlob.Builder |
builder()
Creates a new
BlockBlob.Builder to build a BlockBlob populator. |
BlockState |
getBlock()
Gets the
BlockState that this populator will place down to form
the blob. |
VariableAmount |
getCount()
Gets the number of blobs which will be placed per chunk.
|
VariableAmount |
getRadius()
Gets the radius of the area for the blob.
|
void |
setBlock(BlockState state)
Sets the
BlockState that this populator will place down to form
the blob. |
default void |
setCount(int count)
Sets the number of blobs to spawn per chunk, must be greater than zero.
|
void |
setCount(VariableAmount count)
Sets the number of blobs to spawn per chunk, must be greater than zero.
|
default void |
setRadius(double radius)
Sets the radius of the area for the blob, cannot be negative.
|
void |
setRadius(VariableAmount radius)
Sets the radius of the area for the blob, cannot be negative.
|
static BlockBlob.Builder builder()
BlockBlob.Builder
to build a BlockBlob
populator.BlockState getBlock()
BlockState
that this populator will place down to form
the blob.void setBlock(BlockState state)
BlockState
that this populator will place down to form
the blob.state
- The new block stateVariableAmount getRadius()
void setRadius(VariableAmount radius)
radius
- The new radiusdefault void setRadius(double radius)
radius
- The new radiusVariableAmount getCount()
void setCount(VariableAmount count)
count
- The new number of blobsdefault void setCount(int count)
count
- The new number of blobs