public static interface RandomLiquids.Builder
RandomLiquids
populators.Modifier and Type | Method and Description |
---|---|
RandomLiquids |
build()
Builds a new instance of a
RandomLiquids populator with the
settings set within the builder. |
RandomLiquids.Builder |
liquidType(BlockState liquid)
Sets the
BlockState of the liquid to fill the lake with. |
RandomLiquids.Builder |
perChunk(int attempts)
Sets the number of liquid sources to attempt to spawn per chunk, must
be greater than zero.
|
RandomLiquids.Builder |
reset()
Resets this builder to the default values.
|
RandomLiquids.Builder liquidType(BlockState liquid)
BlockState
of the liquid to fill the lake with.liquid
- The new lake block stateRandomLiquids.Builder perChunk(int attempts)
attempts
- The new number of attempts to makeRandomLiquids.Builder reset()
RandomLiquids build() throws IllegalStateException
RandomLiquids
populator with the
settings set within the builder.IllegalStateException
- If there are any settings left unset
which do not have default values