climate

@Contract(value = "_ -> this", mutates = "this")
abstract fun climate(climate: Climate): Biome.Builder

Sets the climate of the biome to the given climate and returns this builder.

Return

this builder

Parameters

climate

the climate

See also


@Contract(value = "_ -> this", mutates = "this")
open fun climate(builder: Consumer<Climate.Builder>): Biome.Builder

Applies the given builder to a new climate builder and sets the climate to the built instance.

Return

this builder

Parameters

builder

the builder