Modifier and Type | Interface and Description |
---|---|
static interface |
SeaFloor.Builder
A builder for constructing
SeaFloor populators. |
Modifier and Type | Method and Description |
---|---|
BlockState |
getBlock()
Gets the
BlockState to place down. |
int |
getBlocksPerChunk()
Gets the number of discs to attempt to spawn per chunk, must be greater
than zero.
|
int |
getRadius()
Gets the radius of the discs being spawned.
|
void |
setBlock(BlockState block)
Sets the
BlockState to place down. |
void |
setBlocksPerChunk(int count)
Sets the number of discs to attempt to spawn per chunk, must be greater
than zero.
|
void |
setRadius(int radius)
Sets the radius of the discs being spawned.
|
BlockState getBlock()
BlockState
to place down.void setBlock(BlockState block)
BlockState
to place down.block
- The new block to placeint getBlocksPerChunk()
void setBlocksPerChunk(int count)
count
- The new amount to spawnint getRadius()
void setRadius(int radius)
radius
- The new disc radius