Modifier and Type | Interface and Description |
---|---|
static interface |
Lake.Builder
A builder for constructing
Lake populators. |
Modifier and Type | Method and Description |
---|---|
static Lake.Builder |
builder()
Creates a new
Lake.Builder to build a Lake populator. |
VariableAmount |
getHeight()
Gets the height that this lake will be spawned at.
|
double |
getLakeProbability()
Gets the probability of a lake spawning in a chunk.
|
BlockState |
getLiquidType()
Gets the
BlockState of the liquid to fill the lake with. |
void |
setHeight(VariableAmount height)
Sets the height that this lake will be spawned at.
|
void |
setLakeProbability(double p)
Sets the probability of a lake spawning in a chunk.
|
void |
setLiquidType(BlockState liquid)
Sets the
BlockState of the liquid to fill the lake with. |
static Lake.Builder builder()
Lake.Builder
to build a Lake
populator.BlockState getLiquidType()
BlockState
of the liquid to fill the lake with.void setLiquidType(BlockState liquid)
BlockState
of the liquid to fill the lake with.liquid
- The new lake block statedouble getLakeProbability()
void setLakeProbability(double p)
p
- The new lake spawn probabilityVariableAmount getHeight()
void setHeight(VariableAmount height)
height
- The new height