Modifier and Type | Interface and Description |
---|---|
static interface |
RandomFire.Builder
A builder for constructing
RandomFire populators. |
Modifier and Type | Method and Description |
---|---|
int |
getFirePerChunk()
Gets the number of fires to attempt to spawn per chunk, must be greater
than zero.
|
BlockType |
getPlacementTarget()
Gets the block type targeted by this populator, fires will only be
started when on top of this block type.
|
void |
setFirePerChunk(int count)
Sets the number of fires to attempt to spawn per chunk, must be greater
than zero.
|
void |
setPlacementTarget(BlockType target)
Sets the block type targeted by this populator, fires will only be
started when on top of this block type.
|
int getFirePerChunk()
void setFirePerChunk(int count)
count
- The new number to spawnBlockType getPlacementTarget()
void setPlacementTarget(BlockType target)
target
- The new targeted block