public static interface Lake.Builder extends ResettableBuilder<Lake,Lake.Builder>
Lake
populators.Modifier and Type | Method and Description |
---|---|
Lake |
build()
Builds a new instance of a
Lake populator with the settings
set within the builder. |
Lake.Builder |
chance(double p)
Sets the probability of a lake spawning in a chunk.
|
Lake.Builder |
height(VariableAmount height)
Sets the height that the lake will be spawned at.
|
Lake.Builder |
liquidType(BlockState liquid)
Sets the
BlockState of the liquid to fill the lake with. |
from, reset
Lake.Builder liquidType(BlockState liquid)
BlockState
of the liquid to fill the lake with.liquid
- The new lake block stateLake.Builder chance(double p)
p
- The new lake spawn probabilityLake.Builder height(VariableAmount height)
height
- The new heightLake build() throws IllegalStateException
Lake
populator with the settings
set within the builder.IllegalStateException
- If there are any settings left unset
which do not have default values