public static interface RandomFire.Builder
RandomFire
populators.Modifier and Type | Method and Description |
---|---|
RandomFire |
build()
Builds a new instance of a
RandomFire populator with the
settings set within the builder. |
RandomFire.Builder |
perChunk(int count)
Sets the number of fires to attempt to spawn per chunk, must be
greater than zero.
|
RandomFire.Builder |
placementTarget(BlockType target)
Sets the block type targeted by this populator, fires will only be
started when on top of this block type.
|
RandomFire.Builder |
reset()
Resets this builder to the default values.
|
RandomFire.Builder perChunk(int count)
count
- The new number to spawnRandomFire.Builder placementTarget(BlockType target)
target
- The new targeted blockRandomFire.Builder reset()
RandomFire build() throws IllegalStateException
RandomFire
populator with the
settings set within the builder.IllegalStateException
- If there are any settings left unset
which do not have default values